Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12374
Latest: LevelLord
New This Month: 1
New This Week: 2
New Today: 1
Stats
Total Posts: 40211
Total Topics: 7082
Most Online Today: 67
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 52
Total: 52

Author Topic: Problems editing adseller.english.php  (Read 3194 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: 15105
    • 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
3491 Views
Last post February 23, 2007, 05:57:56 pm
by SMFHacks
1 Replies
3186 Views
Last post September 25, 2007, 04:13:01 pm
by SMFHacks
0 Replies
13499 Views
Last post September 19, 2012, 01:44:31 pm
by SMFHacks
0 Replies
7305 Views
Last post June 22, 2014, 03:46:48 pm
by SMFHacks
0 Replies
12558 Views
Last post January 20, 2015, 09:19:30 pm
by SMFHacks

+- Recent Topics

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

SMF4Mobile 2.0 released for SMF 2.0.x by SMFHacks
May 06, 2020, 12:13:14 pm

SMF Social Login Pro - Discontinued? by Nicole
May 02, 2020, 05:47:04 pm

Likes by SMFHacks
April 30, 2020, 09:50:35 pm

Upgrade Issue - by SMFHacks
April 28, 2020, 12:40:13 pm

Powered by EzPortal