Help - Search - Members - Calendar
Full Version: Results_list.htm design, Server Side Includes, custom look
User Forums > Ultimate Locator v1 - v2.5 Support > General Support
wickland
Ok, I partially set up the results page, but I ran into a few designing problems. If you go to www.cableplease.com, I'm having a problem with Side Server Include statements. Right now on www.cableplease.com, the whole top portion above the first red line with the logo and the search box is part of an include statement called:
<!--#include file="top.html" -->.

I also have 3 more include statements called:
<!--#include file="left.html" -->
<!--#include file="right.html" -->
<!--#include file="bottom.html" -->

(Note: the extention really is .html and not .shtml, I changed the .htaccess file to make it do this.)

Everything works fine and looks excellent, but I just want a more efficient and quicker way to update the page. These include statements make up the custom outline (top, bottom, left and right sides surrounding the central search result section) that is the same on every other page of my site. If I wanted to add a TV channel picture to the left side of all the pages, all I have to do is add this to the left.html file and it automatically changes on all the pages, making the process very time efficient and simple to update. I can't get these include statements to work on the results_list.htm page though. I would like to put these 4 include statements into the results page with the results themselves appearing in the center. So if I wanted to add a picture to the left side, I wont have to manually change the result_list.htm file and the left.html file, which would be more time consuming. The include statements work on all my other pages except for the software ones. I would really appreciate it if you would take a look and see if there is any way to make these statements work on this page.

Thank You,
Wickland
Brian
Wickland,

Putting an include statement inside the template files will not work. As they are not parsed correctly within the browser when the php script print them to the screen.

You would have to use a php include statements inside your php files instead.

Read the following post to get an example of how to do this:

http://forum.ultimatelocator.com/index.php?showtopic=66
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.