Create menu between multiple dataface instances

A place for users and developers of the Xataface to discuss and receive support.

Postby cyracks » Sat Sep 15, 2007 7:20 am

Hi

first thx for the program it really rocks to say the very least.
I have decided, that basic configuration of my server will be build on dataface framework ( mail, ftp, dns, mysql ), but since I have little to none expirience with php programing I would like to know how is the best way to put menu between dataface instances in "global_header.html" template. Basically I will configure dataface for every service(mail, ftp,..) separately, but I would like to be able to access those instances through menu placed in "global_header.html" template.
Is there any easy way to do this ?

regards
cyracks
 
Posts: 1
Joined: Wed Dec 31, 1969 5:00 pm

Postby shannah » Sat Sep 15, 2007 9:55 am

I would suggest using a single Dataface instance for all of your applications.Ê Your applications can be in separate directories, but use the same dataface instance.
Then you can modify templates in the Dataface/templates directory that you want to be common to all applications.Ê And you can override templates in the individual application folders that you want to be specific to an application.
-Steve
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 28 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved