Quote:
Originally Posted by Star Man
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?
.