Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12341
Latest: susan212
New This Month: 5
New This Week: 1
New Today: 1
Stats
Total Posts: 39774
Total Topics: 7004
Most Online Today: 46
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 26
Total: 26

Author Topic: Problems editing adseller.english.php  (Read 2790 times)

0 Members and 1 Guest are viewing this topic.

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Problems editing adseller.english.php
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14900
    • View Profile
Re: Problems editing adseller.english.php
« Reply #1 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.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline amwebby

  • Community Suite Customer
  • Sr. Member
  • ******
  • Posts: 306
    • View Profile
Re: Problems editing adseller.english.php
« Reply #2 on: February 03, 2013, 12:13:10 pm »
I thought it must be something like that. OK. Thanks.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
3273 Views
Last post February 23, 2007, 05:57:56 pm
by SMFHacks
1 Replies
3039 Views
Last post September 25, 2007, 04:13:01 pm
by SMFHacks
0 Replies
13159 Views
Last post September 19, 2012, 01:44:31 pm
by SMFHacks
0 Replies
6937 Views
Last post June 22, 2014, 03:46:48 pm
by SMFHacks
0 Replies
12073 Views
Last post January 20, 2015, 09:19:30 pm
by SMFHacks

+- Recent Topics

About Comments Approval by ajac63
June 12, 2019, 07:48:52 pm

Pretty Urls extras by SMFHacks
June 06, 2019, 12:14:53 pm

About using chmod to secure files by ajac63
June 05, 2019, 04:02:28 am

Bulk upload image problem by SMFHacks
June 01, 2019, 07:24:00 pm

About Watermark Options by ajac63
May 30, 2019, 05:25:39 pm

Why PayPal only by ajac63
May 30, 2019, 04:20:47 pm

Seller ToU not showing by ajac63
May 29, 2019, 01:59:24 am

Not happy by ajac63
May 28, 2019, 06:37:58 pm

About Number of Images for Basic Ad by ajac63
May 26, 2019, 10:33:46 pm

Error when intalling SMF Gallery Pro 6.7 by SMFHacks
May 26, 2019, 04:56:46 pm

Powered by EzPortal