Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
Multiple templates - one for each homepage?

 

 


inetfiji
New User

Aug 19, 2002, 8:15 PM

Post #1 of 2 (1602 views)
Shortcut
Multiple templates - one for each homepage? Can't Post

I have a project that Realty Manager would be perfect for but my only issue is that I need to have multiple templates for each home page and associated listings. Each homepage and associated listings will be for a different country and would require different links.

Does anyone know if this is possible? It looks like it is not but after some pondering...

What are your thoughts on this as a possible solution:

1. setup server for .html to work as SSI
2. Use database fields to assist in using the right server side fields like this:

<!--#include virtual="/includes/$user_name$/$hfield10$.html"-->

assuming $hfield10$ is a drop down like (,header,nav,footer,)

3. setup the includes in required directories with correct field names.

So, for one home page I would get:

/includes/tonga/header.html & /includes/tonga/nav.html

and another:

/includes/fiji/header.html & /includes/fiji/nav.html

Does anyone see any problems associated with this?

Many Thanks

Jan Dunlop
InternetFiji.com


Luke
Staff / Moderator


Aug 21, 2002, 3:50 PM

Post #2 of 2 (1577 views)
Shortcut
Re: [inetfiji] Multiple templates - one for each homepage? [In reply to] Can't Post

Hi Jan,

That's a good idea. You would have to create each of the user's directories manually and make sure the directory name matches the user's name.

Here's how I would set up Realty Manager so each users homepage has its own unique design.

1. Given that I have a user named John Doe - create a directory named /John Doe/ and upload his unique header, nav, and footer files. Name these files header.html, nav.html, and footer.html, respectively.

Each user would follow this same naming convention. So if I had a user named Suzie Sue, she would have a directory named /Suzie Sue/ and you would upload copies of header.html, nav.html, and footer.html specifically designed for her into the /Suzie Sue/ directory.

2. Modify the _publish_homepage.html template file to include the following SSIs.

<!--#include virtual="/$user_name$/header.html"-->
<!--#include virtual="/$user_name$/nav.html"-->
<!--#include virtual="/$user_name$/footer.html"-->

3. And that's really all there is to it.

I hope this helps. If you have any questions please let me know. :)

Luke Holzken
Product Development

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4