View Single Post
Old 2008-12-07, 11:32 AM   #8
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Quote:
Originally Posted by Star Man View Post
I use 'keywords' for titles like this.

{$gallery.keywords|htmlspecialchars}

The only annoying thing about it is when reviewing sites,I have to copy the site name from the 'site name' field and paste it into the 'keywords' field but other then that,I think this set up works great.
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?



.
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote