Support Forums

Getting title tags with URLs (smarty)

This is a discussion on Getting title tags with URLs (smarty) within the Modules / Plugins / Modifications forums, part of the Developer Forums category; I know this is probably getting down to the nitty gritty detail of optimizing a site but how can I ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 04-24-2008, 09:39 PM   #1
All Hands On Deck
 
seymourjames's Avatar
 
Join Date: Mar 2008
Posts: 3,527
Rep Power: 89
seymourjames is a jewel in the rough
Default Getting title tags with URLs (smarty)

I know this is probably getting down to the nitty gritty detail of optimizing a site but how can I adapt this line from the browse.tpl file to include the page title in the generated source and not just the URL.

{$data[td].start_link}<strong>{$data[td].name}</strong></a>

In other words I want to do something simple like

{$data[td].start_link title="$data[td].name"}<strong>{$data[td].name}</strong></a>

but of course this does not work. I have looked on the smarty websites and can't find what I am looking for exactly. Is it indeed possible to add a a title tag?
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smarty "or" variable? cwp Technical Support 2 03-03-2008 03:44 PM
Smarty Templates and You. Posted BY Lhotch Eric Barnes Templates, HTML, CSS, and Design Help 13 10-02-2007 09:06 AM


All times are GMT -4. The time now is 04:03 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0