 |

ColinW-O
User
Aug 3, 2008, 12:20 PM
Post #1 of 5
(1734 views)
Shortcut
|
|
Displaying different summaries/image/link in multiple table cells
|
Can't Post
|
|
I have a table split in 4 vertical cells. I want to have the latest 4 articles displaying their associated image, summary and link in there, one in each cell. Every time I post a new one, the oldest one goes and is replaced automatically by the new article. What's the easiest way to do this without having to create a publishing rule for every cell and called via SSI? Thanks, Colin
|
|
|  |
 |

Jake
Staff
/ Moderator

Aug 3, 2008, 9:30 PM
Post #2 of 5
(1558 views)
Shortcut
|
|
Re: [ColinW-O] Displaying different summaries/image/link in multiple table cells
[In reply to]
|
Can't Post
|
|
Hi Colin, If you leave your <td> and </td> table tags within the articleRow template cell, and leave your <table> and <tr> tags outside of the template cell, the software should automatically create each new cell for you and remove the old ones as required. Let me know if I've misunderstood your layout or if you have any other questions on this. ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

ColinW-O
User
Aug 4, 2008, 8:20 AM
Post #3 of 5
(1466 views)
Shortcut
|
|
Re: [Jake] Displaying different summaries/image/link in multiple table cells
[In reply to]
|
Can't Post
|
|
I don't think we're on the same wavelength :) I uploaded example.jpg of how I want to set this up. Remember this is just a small feature that will go above every article in my template. Each article will rotate according automatically when I create a new one. Check out the image. Maybe it's me who didn't understand you. :) Thanks, Colin
|
|
Attachments:
|
example.jpg
(64.8 KB)
|
|
|  |
 |

Jake
Staff
/ Moderator

Aug 4, 2008, 12:23 PM
Post #4 of 5
(1440 views)
Shortcut
|
|
Re: [ColinW-O] Displaying different summaries/image/link in multiple table cells
[In reply to]
|
Can't Post
|
|
Hi Colin, That is the type of layout I had in mind. Let me write out some example code for you, hopefully that will make things a bit clearer:
<table> <tr> <!-- template insert : $articleList$ --> </tr> </table> <!-- templatecell : articleRow --> <td> ***Your article display code here*** </td> <!-- /templatecell : articleRow --> I hope that helps! ----------------------------------------------------------- Cheers, Jake Swanson - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

ColinW-O
User
Aug 6, 2008, 1:51 PM
Post #5 of 5
(924 views)
Shortcut
|
|
Re: [Jake] Displaying different summaries/image/link in multiple table cells
[In reply to]
|
Can't Post
|
|
Sweet, I'll give this a try during the weekend. Thank you.
|
|
|  |
|