Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12000
Latest: Suz
New This Month: 12
New This Week: 0
New Today: 0
Stats
Total Posts: 38203
Total Topics: 6732
Most Online Today: 105
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 43
Total: 43

Author Topic: Were can I add this into to my classifieds?  (Read 5290 times)

0 Members and 1 Guest are viewing this topic.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • ApplianceJunk.com
Were can I add this into to my classifieds?
« on: February 10, 2008, 04:09:12 pm »
I have a little introduction to our classifieds on this page.

http://appliancejunk.com/forums/index.php?page=61

I would like to put the little bit of html I have on the intoduction page on the classified page here between the title "Classifieds" and the for sale/wanted table.

http://appliancejunk.com/forums/index.php?action=classifieds

I can't seem to locate were to do this for sure.

Could you help on locating were to put it.

Thank you,
 AJ

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14159
    • View Profile
Re: Were can I add this into to my classifieds?
« Reply #1 on: February 10, 2008, 04:31:53 pm »
Inside Classifieds.template.php
After
Code: [Select]
echo '<h1 align="center">', $txt['class_text_title'], '</h1>';
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • ApplianceJunk.com
Re: Were can I add this into to my classifieds?
« Reply #2 on: February 10, 2008, 05:15:40 pm »
Inside Classifieds.template.php
After
Code: [Select]
echo '<h1 align="center">', $txt['class_text_title'], '</h1>';

Ok, I gave that a try and I get a page with this error info on it.

Template Parse Error!
There was a problem loading the /Themes/default/classifieds.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
--------------------------------------------------------------------------------


Parse error: parse error, unexpected '<' in .../Themes/default/classifieds.template.php on line 382

373:       // No Category is set.
374:
375:          
376:       echo '<h1 align="center">', $txt['class_text_title'], '</h1>';
377:       
378:       // Intoductions to Classifieds
379:       
380:       
381:
382: <table width="85%" align="center">
383:     <tbody>
384:         <tr>
385:             <td><strong>Members</strong>: Create a free Wanted: post and tell Appliance Repair Technicians what you want.</td>
386:         </tr>

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14159
    • View Profile
Re: Were can I add this into to my classifieds?
« Reply #3 on: February 10, 2008, 05:30:28 pm »
Code: [Select]
able width="85%" align="center">
383:     <tbody>
384:         <tr>
385:             <td><strong>Members</strong>: Create a free Wanted: post and tell Appliance Repair Technicians what you want.</td>
386:         </tr>
That code needs to be in a echo statement such as
Code: [Select]
echo 'myhtmlhere';
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline ApplianceJunk

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • ApplianceJunk.com
Re: Were can I add this into to my classifieds?
« Reply #4 on: February 10, 2008, 05:34:59 pm »
Goes to show how much I know, lol...

Got it working now. :)

Thank you,
 

 

Related Topics

  Subject / Started by Replies Last post
24 Replies
15070 Views
Last post September 01, 2007, 07:10:25 pm
by ApplianceJunk
2 Replies
4261 Views
Last post December 21, 2007, 09:51:01 am
by dklassen
12 Replies
11357 Views
Last post April 14, 2008, 09:20:15 am
by Jump1979man
2 Replies
3970 Views
Last post March 15, 2008, 09:41:41 am
by Jump1979man
1 Replies
3385 Views
Last post April 06, 2008, 06:32:47 pm
by SMFHacks

+- Recent Topics

403 error by SMFHacks
September 23, 2017, 12:21:30 am

Purchase Notification Email to Store Admins by scso1502
September 19, 2017, 06:00:12 pm

Can't save ad code and errors in log. by SMFHacks
September 15, 2017, 12:40:15 pm

After migrating from http to https I started getting these errors by ApplianceJunk
September 14, 2017, 10:58:38 pm

SMF Gallery and https green padlock? by ApplianceJunk
September 14, 2017, 10:02:46 pm

AudioVideoEmbedder: attached files by SMFHacks
September 14, 2017, 10:58:51 am

Contact Page Version 4.0 by Binkie
September 10, 2017, 11:26:19 am

Can Generated Threads Display The Thumbnail Instead Of The Full Size Image? by Sockratease
September 09, 2017, 06:40:12 pm

Double purchase membergroup fix by SMFHacks
September 09, 2017, 12:30:06 pm

How do I prevent "moved" topic notifications on bulk movement of topics? by shuban
September 09, 2017, 11:25:25 am

Powered by EzPortal