SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2012, 06:38:04 am

Login with username, password and session length
Members
Total Members: 10069
Latest: tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 54
Total: 54
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Were can I add this into to my classifieds?  (Read 3210 times)
ApplianceJunk
Ad Seller Pro Customer
Sr. Member
*****
Offline Offline

Posts: 366



View Profile WWW
« 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
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #1 on: February 10, 2008, 04:31:53 pm »

Inside Classifieds.template.php
After
Code:
echo '<h1 align="center">', $txt['class_text_title'], '</h1>';
Logged
ApplianceJunk
Ad Seller Pro Customer
Sr. Member
*****
Offline Offline

Posts: 366



View Profile WWW
« Reply #2 on: February 10, 2008, 05:15:40 pm »

Inside Classifieds.template.php
After
Code:
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>
Logged

SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #3 on: February 10, 2008, 05:30:28 pm »

Code:
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:
echo 'myhtmlhere';
Logged
ApplianceJunk
Ad Seller Pro Customer
Sr. Member
*****
Offline Offline

Posts: 366



View Profile WWW
« Reply #4 on: February 10, 2008, 05:34:59 pm »

Goes to show how much I know, lol...

Got it working now. Smiley

Thank you,
 
Logged

Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.725 seconds with 20 queries.