Tags inserted in articles
2 posts by 2 authors in: Forums > CMS Builder
Last Post: January 14, 2010 (RSS)
By (Deleted User) - January 13, 2010
Is there a way to create a table containging "tags" to identify, for instance, long URS? so instead of having to put the entire URL just to put the tag?
For instance: a link to the "contact" page, that is showed through the website in different places... instead of having to write (or copy and paste) the whole URL to the contact page, could I just create a table with two fiels: contact and its URL. (our one field with the html code) and then to insert the field value at the articles?
Any suggestion?
For instance: a link to the "contact" page, that is showed through the website in different places... instead of having to write (or copy and paste) the whole URL to the contact page, could I just create a table with two fiels: contact and its URL. (our one field with the html code) and then to insert the field value at the articles?
Any suggestion?
Re: [rneube] Tags inserted in articles
By Dave - January 14, 2010
Hi rneube,
I think I know what you mean, let me know if this is correct.
You'd like to be able to edit common information such as urls (or possibly copyright notices, contact info, etc) that is displayed in many places through-out the website?
If so, this is a common issue. Most people create a single record section called "snippets" or "misc content" or something like that with a field for each element of information.
Then you can load that single record on every page and display it's values like this: <?php echo $snippet['copyright'] ?>, <?php echo $snippet['site_name'] ?>, etc.
Let me know if that will work for you.
I think I know what you mean, let me know if this is correct.
You'd like to be able to edit common information such as urls (or possibly copyright notices, contact info, etc) that is displayed in many places through-out the website?
If so, this is a common issue. Most people create a single record section called "snippets" or "misc content" or something like that with a field for each element of information.
Then you can load that single record on every page and display it's values like this: <?php echo $snippet['copyright'] ?>, <?php echo $snippet['site_name'] ?>, etc.
Let me know if that will work for you.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com