• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Embarrassing question - where did I create the variable?

CrispinP

Well-known member
#1
Folks,

While setting XF up for the big move I created, it seems, two variables: {$no_advert_link} and {$no_advert_copy}

I used them as such in one of the templates:
<a style="text-align: left;" href="{$no_advert_link}">{$no_advert_copy}</a>


I cannot for the life of me find where they are. I need to change the values.
I've looked in the other templates I created - only two, nothing in there. I've been clicking all around the admincp and cannot seem to find them.

Give me a clue and I'll buy you a beer :rolleyes:

thanks
Crispin
 

Optic

Well-known member
#2
Hello @CrispinP, there's a Template search page in the Admin CP which should help:
Appearance tab > Search Templates (left sidebar - under Styles & Templates heading)
 

CrispinP

Well-known member
#3
Hey @Optic

Thanks - that only shows the two templates where I am using the variables. e.g. ad_thread_view_below_messages

I'm struggling to find where I created them and set their values. Stupidest thing ever that I cannot find them :S
 

CrispinP

Well-known member
#5
I'm severely lacking in sleep but I cannot for the life of me remember delving into the php to make those.... Having said that, looking now.