Jump to content

Archived

This topic is now archived and is closed to further replies.

caspersjan

Third column jumping onto next line - [span8][span2][span2]

Recommended Posts

caspersjan    13
caspersjan

Dear Pagelines, dear Evan,

 

Grid Shortcodes is doing its simple work solidly, it probably never gets much praise. I am glad that it has been continued through all of Pagelines iterations since it arrived on the scene!

 

However now I have a problem I fail to understand. I thought the spans can add up to 12. I am trying to achieve a three column set-up, like this:

 

[row]
[span8]Text[/span8]
[span2]Text[/span2]
[span2]Text[/span2]
[/row]
 
But it breaks, i.e. the third column is put on a new page. If I try this it doesn't work either:
 
[row]
[span3]Text[/span3]
[span3]Text[/span3]
[span3]Text[/span3]
[/row]
 
Am I doing something wrong or leaving something out? You can see the page here: http://animatinglibraries.com/wordpress/?p=247 (underneath the second <hr> divider, "Report"/"Group size"/"Sessions")
For a practical fix I used this solution - just making the wide column narrower:
 
[row]
[span7]Text[/span7]
[span2]Text[/span2]
[span2]Text[/span2]
[/row]
 
But I'd like to use the whole line - without the margin at the front and end that the 7/2/2 solution entails. Maybe you can help - I am as ever grateful for your assistance.
 
Yours faithfully, Jan.
 
 
 

 

Share this post


Link to post
Share on other sites
Guest   
Guest

Hey caspersjan,

 

It seems like maybe you're trying to nest the grid shortcodes?  Do you have more than one level of shortcode hierarchy there?

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Dear Evan, an out-of-this-world response time! No, I'm not trying to nest the grid shortcodes, at least as far as I am aware. Below is my entire post. I underlined the offending row. There is a two-column row ([row][span2]stuff[/span2][span10]stuff[/span2][row]) that works perfectly. Again, you can see it on the page: http://animatinglibraries.com/wordpress/?p=257 (this time broken, with [row][span8]stuff[/span8][span2]stuff[/span2][span2]stuff[/span2][row] as intended). Does this mean anything to you? I am lost! Thank you for looking into it, it's much appreciated! Greetings, Jan.

 

<table width="100%"> 
<tr> 
<td align="left"><h4>Animating Libraries Activity Archive</h4> </td> 
<td align="right"><h4>(#022) </h4></td> 
</tr> 
</table>
<hr>
[row]
[span2]
[/span2]
[span10]
Date: 22/05/2014
<h4 class="workshoptitle">Grid Test</h4>
Librarian: 
Location: 
Group:
 
[/span10]
[row]
<hr>
[row]
[span8]
<u>Report</u>
 
[/span8]
[span2]
<u>Group size</u>
 
<u>Age</u>
 
<u>Gender</u>
 
[/span2]
[span2]
<u>Sessions</u>
 
<u>Type</u>
 
<u>Level</u>
 
[/span2]
[/row]
<hr>
Videos
<hr>
Photos
<hr>
Photo archive

Share this post


Link to post
Share on other sites
Guest   
Guest

caspersjan,

 

It looks like you have an opening [row] right after your closing [/span10] instead of a closing [/row].  That will mess things up for you! ;)

 

Try fixing that and let me know if you're still having trouble.

 

Cheers!

Share this post


Link to post
Share on other sites
caspersjan    13
caspersjan

Dear Evan, indeed you are right and all is right now! Thank you so much - I shall remember this and will know what to look for should something like this ever come up again. And thank you for keeping Grid Shortcodes going! Good luck, yours faithfully, Jan.

Share this post


Link to post
Share on other sites

  • Similar Content

    • jamieg270
      By jamieg270+
      Hi Grid shortcodes don't seem to be working when nested. I am using DMS 2.0.5 I have deactivated all plugins leaving just the Paglines Updater, DMS Professional and Grid SHortcodes.
       
      This is my shortecode:
      [row] [span6] content here [/span6] [span6] [row_a] [span6] content here [/span6] [span6] content here [/span6] [/row_a] [/span6] [/row] Is there something I'm doing wrong? I've used this before on DMS v1.x.x without problems....
       
      I can't show you the result the file size for upload is too small to be able to attach the image!! However the [/row_a] and then [/span6] are being rendered in text on the page and the second nested column gets set as if its in its own row below the first. I don't have another DMS install to test this is so I'm not sure its reproducible. 
       
      I'm going to have to add the columns in using divs and classes as the client needs to see this tomorrow. 
       
      If I get the chance I'll set up a separate install to test aqain and give you an example to look at.
    • dchetson
      By dchetson+
      Trying to sue grid shortcodes to create nested columns. Really dumb question, but where do you enter the shortcodes? Tried in the CSS area but that doesn't seem to work.
    • rpacker
      By rpacker
      I have installed the Grid Shortcodes plugin for Framework and the documentation links for Evan Mattson are broken.  Is there any documentation still online? Is this plugin no longer intended to be used? I can't seem to find a user interface for the shortcodes, that is, if there is one.
       
      Thanks.
    • jamieg270
      By jamieg270+
      Hi,
       
      I installed Grid Shortcodes as I thought it would be easier for my client to use when using columns. However I'm now getting a php error wherever I use them.
       
      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102

      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102

      Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/cypherde/public_html/pfc/site/wp-content/plugins/grid-shortcodes/grid-shortcodes.php on line 102
       
      You can see this at http://pfc.cypher-design.net/site on the first tab on the feature box.
       
      The feature box is custom code I've added into a custom section using a custom post type so the client cn update the tabs without my input.
       
      Any insight into the cause would be great.
       
      Thanks!
×