Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12031
Latest: zainz
New This Month: 11
New This Week: 2
New Today: 1
Stats
Total Posts: 38315
Total Topics: 6751
Most Online Today: 72
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 52
Total: 52

Author Topic: Were can I add this into to my classifieds?  (Read 5325 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: 14209
    • 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: 14209
    • 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
15080 Views
Last post September 01, 2007, 07:10:25 pm
by ApplianceJunk
2 Replies
4268 Views
Last post December 21, 2007, 09:51:01 am
by dklassen
12 Replies
11378 Views
Last post April 14, 2008, 09:20:15 am
by Jump1979man
2 Replies
3979 Views
Last post March 15, 2008, 09:41:41 am
by Jump1979man
1 Replies
3400 Views
Last post April 06, 2008, 06:32:47 pm
by SMFHacks

+- Recent Topics

Copyright Removal by Dalek
Today at 10:39:21 am

Bulk Uploads (Pro Edition) by SMFHacks
November 23, 2017, 08:20:02 pm

"Next make the gallery directory writable" by SMFHacks
November 23, 2017, 08:17:43 pm

How Can I Get Help? by SMFHacks
November 22, 2017, 04:53:10 pm

2.0.15 Update by SMFHacks
November 22, 2017, 08:12:38 am

Version 7.2.2 - Undefined Index Error Messages by eliot
November 21, 2017, 04:13:18 pm

SMFHacks Black Firday Sale 2018! by SMFHacks
November 20, 2017, 01:38:23 pm

Good Day SMFHacks by RedSkincaRe
November 16, 2017, 06:17:39 pm

Add in product description to Purchase Notification for Store Admins email by SMFHacks
November 15, 2017, 05:29:15 pm

Changing text in personal message sent when product is shipped. by KKOG
November 14, 2017, 10:57:08 pm

Powered by EzPortal