Help - Search - Members - Calendar
Full Version: Dynamic Includes
Codegrrl.com Forums > Script Help > Tutorial Help
ammbee
isnt there a way that you can change where you put the files from the pages directory somewhere else or is that a diffrent way of using dynaic includes.. like at outsploken-kate.com her URLs look like this : http://outspoken-kate.com/index.php?x=you

i want my URls to look the asme... any comments?
Amelie
Outspoken-kate.com is using this method from tutorialtastic, which is similar to the links ilona posted above, but uses the page.php?x=blah form instead of page.php?blah.
ammbee
QUOTE(Amelie @ Jan 20 2007, 06:14 PM) *

Outspoken-kate.com is using this method from tutorialtastic, which is similar to the links ilona posted above, but uses the page.php?x=blah form instead of page.php?blah.



yea i finally got my site all coded with dphp. but now im having troubles skinning it. I just don't know wich files to include in the skins folder. Like if i were to make skin 2 i name the folder in the skins directory '2' and then i put header.php footer.php the images ectt.. but with dynamic php u dont use header.php and footer.php they both go into index.php.. so do i make another index.php and then how do i make it so i dont have to change eachs skins sidebar everytime i add a link?
LouiseDK
as for the sidebar, use includes inside the header and footer

so basically, you fx make the headline <h1 class="menu">Title</h1> and then add some coding.

Don't put includes to header or footer, will look seriously dump when included online.

You basically just have 1 file for each thing you want to have in the sidebar, when you change it, you just update that file and then it is changed on all of them.
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-2009 Invision Power Services, Inc.