Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 250
Total: 250

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

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal