Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Old 2008-12-07, 12:50 PM   #1
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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:40 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc