SMFHacks.com

Ad Seller Pro => Support => Topic started by: amwebby on February 03, 2013, 11:50:20 am

Title: Problems editing adseller.english.php
Post by: amwebby on February 03, 2013, 11:50:20 am
I wanted to include a bit more detail and a link in the header of my "Advertise" page.

So I altered this:
Code: [Select]
$txt['seller_purchase_ad_space'] = 'Purchase Ad Space';
to this:
Code: [Select]
$txt['seller_purchase_ad_space'] = '<b>Purchase Ad Space</b><br />Click on each package for more details or visit <a href="http://www.amoc.org/advertising" target="_new">AMOC Web Advertising</a> for an overview of our offerings';
It all works fine but the following text appears at the very top of my forum:

AMOC Advertising for an overview of our offerings" />

What gives?
Title: Re: Problems editing adseller.english.php
Post by: SMFHacks on February 03, 2013, 12:00:40 pm
$txt['seller_purchase_ad_space']  is also used as the title tag for the page. Which is why it is caused that error.


You would need to edit the adseller.template.php and search for that spot of $txt['seller_purchase_ad_space']  and make the change there instead.
Title: Re: Problems editing adseller.english.php
Post by: amwebby on February 03, 2013, 12:13:10 pm
I thought it must be something like that. OK. Thanks.