Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12060
Latest: dpalenski
New This Month: 8
New This Week: 2
New Today: 1
Stats
Total Posts: 38559
Total Topics: 6796
Most Online Today: 26
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 50
Total: 50

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

0 Members and 1 Guest are viewing this topic.

Offline ApplianceJunk

  • Downloads Pro Customer
  • Sr. Member
  • *****
  • Posts: 432
    • 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: 14320
    • 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

  • Downloads Pro Customer
  • Sr. Member
  • *****
  • Posts: 432
    • 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: 14320
    • 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

  • Downloads Pro Customer
  • Sr. Member
  • *****
  • Posts: 432
    • 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
15175 Views
Last post September 01, 2007, 07:10:25 pm
by ApplianceJunk
2 Replies
4287 Views
Last post December 21, 2007, 09:51:01 am
by dklassen
12 Replies
11412 Views
Last post April 14, 2008, 09:20:15 am
by Jump1979man
2 Replies
3999 Views
Last post March 15, 2008, 09:41:41 am
by Jump1979man
1 Replies
3422 Views
Last post April 06, 2008, 06:32:47 pm
by SMFHacks

+- Recent Topics

[Theme] Sketchzoo by SMFHacks
February 22, 2018, 07:36:54 pm

Responsiveness SMF Gallery Pro 8 by SMFHacks
February 19, 2018, 11:50:25 am

database error by SMFHacks
February 17, 2018, 08:22:17 pm

SMF Status Update by Raziba
February 17, 2018, 07:32:02 pm

SMF Gallery Pro 8.0 Released! by SMFHacks
February 17, 2018, 06:50:01 pm

Just Paid for Pro...now what do I do? by SMFHacks
February 15, 2018, 03:19:20 pm

Search Feature by shuban
February 14, 2018, 02:23:03 pm

Credits from Referrals? by SMFHacks
February 13, 2018, 09:14:56 am

Uploading Video by TKO-100
February 13, 2018, 05:59:33 am

Pretty URLs issue by juliereader
February 10, 2018, 05:52:48 am

Powered by EzPortal