My site formally fresh-web-design.com has now moved to http://addicteddesign.com
This is due to the ever growing number of copy cat company names that have appeared over the past 3 year.
Keep baking
Hi guys,
I've added a dynamic drop down menu to the site now, this is controlled in the stylesheet file. Take a look, it's the black bar under the top tabs. Give me your thaughts
looks nice! does the dropdownmenu support more than 2 levels?
3 levels my friend
Looking good. How did you take the /pages/ out of your links?
Under settings in the admin section it asks where you want the pages to reside, just set it as root. The only problem then is though when you want to update a page you need to change the permissions. you could leave it as 777 but it wouldnt be very safe.
Hello,
changing the pages dir from /pages to something else can only be done before a page is created in WB (only with a clean install without any pages). If you do this after a page is created your whole site is broken and all pages ar no more reachable anymore. Also setting the pages dir to the root only works on server where you have full write permissions in the root directory. This is on a lot of servers not the case.
Matthias
Quote from: ruebenwurzel on April 24, 2007, 11:59:52 AM
changing the pages dir from /pages to something else can only be done before a page is created in WB (only with a clean install without any pages). If you do this after a page is created your whole site is broken and all pages ar no more reachable anymore. Also setting the pages dir to the root only works on server where you have full write permissions in the root directory. This is on a lot of servers not the case.
Hrm. :| I was thinking maybe this could also be done with mod rewrite?
Hello,
as far as i know the only affect of modrewrite is the a page is reachable also if you typ a url without the pages dir, but the physical place of the page stays always in the pages dir. So get rit of the pages dir can only be solved with the changes in the advanced settings of Wb.
One feature of WB 2.7 will (i hope) be the fact that WB 2.7 uses htaccess and modrewrite for the pagename generation so the pages dir isn't needed longer. Ryan has developped a first version of this code wich already works as long as you only use normal pages, but the code has problems with some modules wich also needs the pages dir.
Matthias
Quote from: ruebenwurzel on April 24, 2007, 02:47:29 PM
as far as i know the only affect of modrewrite is the a page is reachable also if you typ a url without the pages dir, but the physical place of the page stays always in the pages dir.
This limitation is fine with me, as the main reason I would want to us it is not to move the location of the pages on the server, but rather to simplify the URL. It would be good to be able to give someone an URL like example.com/info.php or even example.com/info rather than example.com/pages/info.php.
Thanks for your help! I was previously despondent that wb wasn't going to survive, but now that the module and template repositories are working properly and so many of them are available, the future looks bright -- even if the next version of wb seems to be a long way off yet.
I had a few pages on my site when i changed it over to the root directory, i just opened each page and changed the location of the ../config.php to just config.php because it would be in the same directory. This worked fine for me.
A bit of a pain if you have loads of pages.