View Single Post
Old 2008-12-07, 12:50 PM   #9
Star Man
A boy without mischief is like a bowling ball without a liquid center
 
Star Man's Avatar
 
Join Date: Feb 2006
Location: clevel.......don't make me say it!
Posts: 436
Quote:
Originally Posted by Simon View Post
Maybe I'm missing the point... is there a reason, in the page template, not to just use the name of the user-defined field that you created where you're using the 'keywords' field now? Like this I mean:

{$gallery.site_name|htmlspecialchars}

I'm asking because I see this in the docs for the script:
In addition to these default values, all of your user defined gallery fields will be available from this template value as well. So, for example, if you create a user defined field with the name icq_number you can access this value using {$gallery.icq_number}
So I was planning to create a field called "title" and just do this in the page templates where I wanted to show the free site's title:

{$gallery.title|htmlspecialchars}

Is there a reason that using the built-in 'keywords' field instead would be better for some reason?



.
No,your not missing any points Simon.I just thought 'keywords' would be a quick easy way to do it really.If you feel you want to create a custom field that you like better,go for it.
__________________
good luck
Star Man is offline   Reply With Quote