Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12127
Latest: SirLouen
New This Month: 18
New This Week: 1
New Today: 1
Stats
Total Posts: 38852
Total Topics: 6842
Most Online Today: 80
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 69
Total: 70

Author Topic: Were can I add this into to my classifieds?  (Read 5405 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: 14455
    • 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

  • 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: 14455
    • 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

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

+- Recent Topics

Simple audio/video embedder - Facebook Videos by Ross
Today at 11:27:30 am

Message Editor Pro released by SMFHacks
Today at 07:35:29 am

PHPSESSID Issue with Pretty URLS by SirLouen
Today at 07:22:01 am

Admin View in Member's Profile of Dates for Accepting of PP and Reg Agreement by HDB
June 16, 2018, 02:05:40 pm

SA Facebook? by Winslow
June 16, 2018, 11:23:22 am

Should I be concerned? by SMFHacks
June 15, 2018, 11:04:55 pm

[Mod]GDPR Helper by SMFHacks
June 13, 2018, 04:11:14 pm

Block to Tell who was online in last 24 hours by mtalks
June 09, 2018, 09:39:49 pm

Emoji Pro Released by Ross
June 08, 2018, 02:17:41 pm

Emojis or images? by SMFHacks
June 08, 2018, 10:17:03 am

Powered by EzPortal