 |

zhijiang
User
Jan 1, 2007, 11:03 AM
Post #1 of 2
(286 views)
Shortcut
|
|
Complete placeholder variables
|
Can't Post
|
|
I have 2 questions: 1. Where Can I found complete placeholder variables that I can used in template. 2. How I can add footer page that can be include in each page. Thanks.
|
|
|  |
 |

Divya
User
Jan 3, 2007, 5:23 PM
Post #2 of 2
(242 views)
Shortcut
|
|
Re: [zhijiang] Complete placeholder variables
[In reply to]
|
Can't Post
|
|
Hi zhijiang, Welcome to Article Manager 2! Let me go over your issues in order. 1. Where Can I found complete placeholder variables that I can used in template.? Ans: 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. 2. How I can add footer page that can be include in each page.? Ans: The footer addition to the pages are pretty simple. For adding a common footer to the templates, you might want to use a "My Placeholder". Go to Admin/My Placeholders, and add a new placeholder called my.footer and paste in the HTML you want to use. Then find this comment tag in each template (if you're using the default templates): <!-- footer --> And add the $my.footer$ placeholder. Don't forget to publish your global, category, and article page publish rules. Give this a try and let me know if this helps! Cheers, Divya.
(This post was edited by Luke on Jan 3, 2007, 5:28 PM)
|
|
|  |
 | |  |
|