Support Forums

How use only the main table in my index.html file?

This is a discussion on How use only the main table in my index.html file? within the Modules / Plugins / Modifications forums, part of the Developer Forums category; I use a new template ( a html + css file) Now how I put the listing to appear in ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 06-22-2008, 11:16 PM   #1
Junior Member
 
 
Join Date: Apr 2008
Location: Puerto Rico
Posts: 22
Rep Power: 10
zavala77 is on a distinguished road
Default How use only the main table in my index.html file?

I use a new template ( a html + css file)
Now how I put the listing to appear in my new index.html? Its a 3 column layout and I will put it in the middle.

I try modifying the .htacces to run html as php but have parse errors.
ALso try <?php ?> with same results.
I not a very fluent programmer in php . IM from the oldies 70� programmers: D . You know ( cobol, foltran, pascal, ada,c, assembly)

Any help step by step will be appreciates.
Thanks

4.02 Developer
zavala77 is offline   Reply With Quote
Old 06-22-2008, 11:50 PM   #2
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,936
Rep Power: 57
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

First off, if you are making a new template DO NOT USE "index.html" as the file name!!! All the rest of the script is looking for the file named, "layout.tpl" within whatever template folder you have set in the admin. This will cause an error everytime.

As far as your direct question, you would need to give more specific information. Exactly what error was generated? (A parse error doesn't tell us much) What is the code that generated the error?

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and 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
Mike-N-Tosh is offline   Reply With Quote
Old 06-23-2008, 12:45 AM   #3
Junior Member
 
 
Join Date: Apr 2008
Location: Puerto Rico
Posts: 22
Rep Power: 10
zavala77 is on a distinguished road
Default

Thanks.

First .Yes that�s correct. My listings always show as active no matter expired or not. Its should be marked inactive when they expired?
Because that�s not the way its working.

Second. Let me explain. I want to change the look of my site. I found a template consisting of 2 files. One the index.html and the other the CSS that it use. How I integrate the listings to appear in the middle of my new look?
Modifying the index.php? Layout?

I will PM you with my site detail so you can see what im trying to do.
OH. Be patient with my English please.
zavala77 is offline   Reply With Quote
Old 06-23-2008, 01:03 AM   #4
Junior Member
 
 
Join Date: Apr 2008
Location: Puerto Rico
Posts: 22
Rep Power: 10
zavala77 is on a distinguished road
Default ups...

sorry Mike.
I mix something from other post. The first part does not belong to this post.
Sorry..
zavala77 is offline   Reply With Quote
Old 06-23-2008, 07:44 PM   #5
68 Evangelist & Developer
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 1,936
Rep Power: 57
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Quote:
Originally Posted by zavala77
Let me explain. I want to change the look of my site. I found a template consisting of 2 files. One the index.html and the other the CSS that it use. How I integrate the listings to appear in the middle of my new look?
Modifying the index.php? Layout?

I will PM you with my site detail so you can see what im trying to do.
OH. Be patient with my English please.
You can not use a file called index.html as your template file. I has to be called layout.tpl to work with this script. Just rename the file. Second, in order for the script to work with your template, you still must include any of the calls that are in the original layout.tpl file. Anything that is wrapped within {} are calls to the other functions that make the script work.

I would suggest that you compare your template file with the original layout.tpl and copy and paste anything within the {} to your new file where you would like them to be.

-Mike
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and 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
Mike-N-Tosh is offline   Reply With Quote
Old 06-24-2008, 08:26 AM   #6
Junior Member
 
 
Join Date: Apr 2008
Location: Puerto Rico
Posts: 22
Rep Power: 10
zavala77 is on a distinguished road
Default

ok. Thanks will try...
zavala77 is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
installation problem, lots of database errors Chooser Technical Support 5 09-08-2008 09:09 AM


All times are GMT -4. The time now is 06:42 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0