 |

dimeco
User
Jan 4, 2007, 6:15 PM
Post #1 of 3
(238 views)
Shortcut
|
|
List of placeholders for new system?
|
Can't Post
|
|
With the old system, you had a chart of all the placeholders in a table. With the new, there's only like 5, then some "foo" tests examples. I found that the placeholders on the old DON'T work on the new. Is there a rundown in a table format like how you did the old one, for the new placeholders? It might be easier if its published somewhere rather than have us try to review every template to guess... Sorry - I know you don't need people like me trying to add work to you guys... sorry Amber
|
|
|  |
 |

Divya
User
Jan 4, 2007, 6:35 PM
Post #2 of 3
(232 views)
Shortcut
|
|
Re: [dimeco] List of placeholders for new system?
[In reply to]
|
Can't Post
|
|
Hi dimeco, Thanks for the post and welcome to Article Manager 2! You can find out what placeholders are available to any given template by using the templatePlaceholderList command. Just open any of the template file, say articleList/globalindex.html, and place the below code: <!-- templatePlaceholderList --> Now if you publish your global index publish rule, you can see the available listing of placeholder variables along with their values. One important thing is that the placeholders available within a templateCell (like the articleRow) are different from the rest of the template, so put the <!-- templatePlaceholderList --> command in the part of the template you're working with. Give this a try and let me know if this helps! Cheers, Divya.
|
|
|  |
 |

dimeco
User
Jan 5, 2007, 8:39 AM
Post #3 of 3
(210 views)
Shortcut
|
|
Re: [Divya] List of placeholders for new system?
[In reply to]
|
Can't Post
|
|
Thanks Divya - I saw the <!-- templatePlaceholderList --> command in the documentation but I didn't quite understand how to do it. You clarified - thanks :) Guess I was working too late last night LOL Amber
|
|
|  |
|