On 4/24/07, Dave M G [EMAIL PROTECTED] wrote:
PHP Users,
I am developing a content management system, and one of the goals is to
separate out the design entirely from the PHP scripting and content.
All the PHP scripts which contain the logic that drives the site are all
in the web site's root
[snip]
Can I somehow manipulate any of the PHP scripts involved so that the
HTML within layout.php will look first in it's own directory for
inclusion of files, such as CSS and javascript and anything else?
[/snip]
If a user accesses http://site.com/index.php, then the HTML that is spit
back
Greetings.
On Tuesday 24 April 2007 09:22, Tijnema ! wrote:
Right now, if the designer of the site wants to make a call to an
external CSS style sheet within layout.php, the designer has to write in
the whole path, relative to the index.php file. For example:
style type=text/css
@import
On Tue, April 24, 2007 12:54 am, Dave M G wrote:
I am developing a content management system, and one of the goals is
to
separate out the design entirely from the PHP scripting and content.
Go study all the existing big CMS systems out there.
And all the Templating engines.
Then get back to
Sancar, Tijnema, Logan, Richard,
Thank you all for your replies.
I kind of suspected that this was a client side issue. But I thought it
was worth fishing for ideas since there are many on this list who are a
lot smarter about PHP than I am.
I might adopt something similar to Logan's $path
5 matches
Mail list logo