|
|
#1 |
|
Junior Member
Join Date: Jan 2008
Posts: 4
Rep Power: 0 ![]() |
I am trying to edit the home page and the pages where you actually see the listings. How do I go about doing this? I don't want the categories to be in a box while visiting the home page. I am lost for words here.
|
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Mar 2006
Location: Greer, SC
Posts: 670
Rep Power: 27 ![]() |
Have you looked at the templates yet? home.tpl.php, viewlisting(2).tpl.php, etc
__________________
Civ's Modules (____NOW v4 COMPATIBLE____): � Stop Incomplete Listings! (proven revenue booster!) � Scam Filter (Just say no to Nigerians!) updated � Similar Listings (keep visitors longer) � Feedback Mod (testimonial builder) � Listing Status Reminder free! |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2008
Posts: 4
Rep Power: 0 ![]() |
" Have you looked at the templates yet? home.tpl.php, viewlisting(2).tpl.php, etc."
Hi civ, The answer is, yes. I tried making changes to my home page via my admin. panel. It did not work. Errors came up as soon as I removed any of the coding. |
|
|
|
|
|
#4 |
|
68 Evangelist & Developer
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,624
Rep Power: 47 ![]() ![]() |
razsports,
As you don't list what version of the software that you are using (designer or developer AND version 3.1.x), it makes it more difficult for others to assist you. If you have the developer version and if I understand what your goals are, then this may be a solution for you. Open the index.php file in the root directory of your 68c installation. find this near the bottom of the file: PHP Code:
PHP Code:
Next (to make all of your "pages" created in the "pages" of your admin to ALSO use this template) open your pages.php file, again in the root directory and again near the bottom of the page you will need to replace the same code as you did in the index.php file. Lastly to make this all work, copy your original layout.tpl.php file that is located in your template folder (default if you haven't made a custom template) and save it in your template folder with the same name that you are pointing your index.php AND pages.php files too. Change your new layoutX.tpl.php file however you want it to look like. PLEASE ENSURE THAT YOU HAVE ORIGINAL BACKUPS OF BOTH YOUR INDEX.PHP AND PAGES.PHP FILES Check my site and you will see that this is how I have done this. To follow the logic... The change in the index.php will make your homepage go to your new layout file (e.g. when someone type in yoursite.com/net/whatever). The change in the pages.php file will ensure that any time that your "pages" are loaded will also use your new layout file. Hope that helps! -Mike
__________________
Mike-N-Tosh IndianaPC.org - A community website (v3.1.10 Developer - heavily modified) Sandbox (v3.1.10, v4.0.9, 4.1.3) Visit My blog for tips, tricks, tutorials, reviews for 68 Classifieds as well as my store with Templates, Mods & Docs Web Hosting | Web Design & Development | 68 Classifieds Customizations I am not a 68C employee, just a user and try to help out |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jan 2008
Posts: 4
Rep Power: 0 ![]() |
I am using the developer version- and the latest new update.
|
|
|
|
|
|
#6 | |
|
Senior Member
Join Date: Mar 2006
Location: Greer, SC
Posts: 670
Rep Power: 27 ![]() |
Quote:
![]() And keep in mind that if you intend to edit the templates via the admincp, you'll need to give them (and their containing folders) 777 permissions. This was in the documentation.
__________________
Civ's Modules (____NOW v4 COMPATIBLE____): � Stop Incomplete Listings! (proven revenue booster!) � Scam Filter (Just say no to Nigerians!) updated � Similar Listings (keep visitors longer) � Feedback Mod (testimonial builder) � Listing Status Reminder free! |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Captcha works on some pages, not on others | weblogic | v3.1 Questions & Support | 10 | 09-20-2007 02:02 PM |
| adding content to specific pages | archavir | v3.1 Questions & Support | 6 | 08-21-2007 05:08 AM |
| How to edit pages.. | margaretm | v3.1 Questions & Support | 2 | 06-25-2007 09:17 AM |
| Edit paymethod | lekxaphi | v3.0 Questions & Support | 8 | 03-02-2007 04:07 PM |
| the html pages don't show up... | FlyingBee | v3.1 Questions & Support | 8 | 12-08-2006 10:36 AM |