Support Forums

adpack mod- assign scriptname

This is a discussion on adpack mod- assign scriptname within the TemplateCodes forums, part of the Third Party Support category; Hi, I am create unique page titles for every page on my site, And I am slo trying to find ...


Go Back   68 Classifieds Forums > Third Party Support > TemplateCodes

Reply
 
Thread Tools Display Modes
Old 11-28-2009, 08:50 AM   #1
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 16
damiun is on a distinguished road
Default adpack mod- assign scriptname

Hi,

I am create unique page titles for every page on my site,
And I am slo trying to find a unique element for the adpack mod (i normally use {if $body=='viewlisting2.tpl'}
<title> etc etc)

But i cannot find a unique body or scriptname for the adpack mod,
How can i add a scriptname (because i saw it's empty) to the adpack module so i can use the if command for assigning a unique title.

Dominick
damiun is offline   Reply With Quote
Old 11-29-2009, 07:01 AM   #2
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,030
Rep Power: 74
seymourjames is a jewel in the rough
Default

Modules.php is the script but that is not unique as different modules are passed to it. I think this will work.

{if $smarty.get.mod =='adpack'}
<title>my title</title>
{/if}
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds and Version 4 Templates
seymourjames is offline   Reply With Quote
Old 11-29-2009, 07:51 AM   #3
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 16
damiun is on a distinguished road
Default

Great, thank you, it worked!
damiun is offline   Reply With Quote
Old 11-29-2009, 09:23 AM   #4
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,030
Rep Power: 74
seymourjames is a jewel in the rough
Default

Please make more effort to learn Smarty now after several months with this software. This type of stuff can be found n their manual and with google searches.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds and Version 4 Templates
seymourjames is offline   Reply With Quote
Old 11-29-2009, 10:26 AM   #5
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 16
damiun is on a distinguished road
Default

Hi,

Like i said i couldnt find unique terms in the smarty debug popup,
and if you dont know how you cannot google it,
I searched google for it and the forums and stuff i read said to make an if command for a unique word.....
damiun is offline   Reply With Quote
Old 11-29-2009, 02:03 PM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,030
Rep Power: 74
seymourjames is a jewel in the rough
Default

Smarty : Template Engine this is a good place to start learning smarty.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds and Version 4 Templates
seymourjames is offline   Reply With Quote
Old 11-30-2009, 11:44 AM   #7
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 16
damiun is on a distinguished road
Default

Thanks,

Its a pain in the ass to learn because its so wide and the possibilities are tremendous.
But i will learn it.


Greetz,
Dominick
damiun is offline   Reply With Quote
Old 11-30-2009, 12:54 PM   #8
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,030
Rep Power: 74
seymourjames is a jewel in the rough
Default

I know. It is not the best manual in the world either - difficult to use. Probably some better tutorials on the net.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68 Classifieds and Version 4 Templates
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adpack belvedere TemplateCodes 3 11-18-2009 04:35 PM
Assign Extra fields to Variable pipelin Customizations 10 11-08-2009 07:06 PM
Adpack Display seymourjames Modification Release 0 12-02-2008 05:03 PM


All times are GMT -4. The time now is 04:54 PM.


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