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
 
 
Join Date: Mar 2008
Posts: 2,233
Rep Power: 53
seymourjames has a spectacular aura about
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
Smarty tags & other code in Content Pages ginggs v3.1 Questions & Support 13 04-26-2007 01:28 AM
Problem getting page title flyingpylon v3.1 Questions & Support 5 10-19-2006 02:15 PM


All times are GMT -4. The time now is 06:00 AM.


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