Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 99
Total: 99

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

0 Members and 1 Guest are viewing this topic.

Offline ApplianceJunk

  • 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: 16451
    • 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!

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

Offline ApplianceJunk

  • 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: 16451
    • 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!

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

Offline ApplianceJunk

  • 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
20399 Views
Last post September 01, 2007, 07:10:25 pm
by ApplianceJunk
2 Replies
5445 Views
Last post December 21, 2007, 09:51:01 am
by dklassen
12 Replies
14460 Views
Last post April 14, 2008, 09:20:15 am
by Jump1979man
2 Replies
5320 Views
Last post March 15, 2008, 09:41:41 am
by Jump1979man
1 Replies
5715 Views
Last post April 06, 2008, 06:32:47 pm
by SMFHacks

+- Recent Topics

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

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

Powered by EzPortal