Page 1 of 1
S9Y Menus from a Different Location
Posted: Wed Jul 07, 2004 3:47 pm
by keithstric
OK, I know I've made a similar post (
http://www.s9y.org/forums/viewtopic.php?t=301). I got static pages to work with the information that Garvin provided me. Now, I've got a photo gallery on my site called Gallery. It's PHP and table driven. I've included this line in the wrapper file for Gallery. It ends up being after the <body> tag but before </body>:
<?php
chdir('/srv/www/htdocs/blog/');
require 'templates/keithstric/layout.php';
?>
However, this produces a PHP error at the top of the page. Farther down in the file I have to "chdir" back to the Gallery directory for that to work. I've removed the 2nd "chdir" but I still get the same PHP error for "serendipity_config.inc.php" with or without the 2nd "chdir". Here's the error:
Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/blog/serendipity_config.inc.php on line 115
Any ideas on what I can do to address this?
Thanks in advance,
Posted: Thu Jul 08, 2004 12:13 am
by jhermanns
which menues do you need?
Posted: Thu Jul 08, 2004 2:35 am
by keithstric
Thanks for the reply.
I'm trying to get the right and left side bars. If you goto
http://www.keithstric.com/aboutme.php this is what I'm trying to accomplish. Except with gallery.
Posted: Thu Jul 08, 2004 9:08 pm
by jhermanns
i haven't looked into gallery, but i'm sure there's a way to define header and footer files, that are included before/after the actual gallery content. you can put your menues in there?
Posted: Thu Jul 08, 2004 9:15 pm
by keithstric
Thanks, that is the route I'm taking and have almost got it working. Now I'm getting a Gallery error but I think it may be overlookable.
Keith
Posted: Fri Jul 09, 2004 12:34 pm
by jhermanns
cool! i've got to get my gallery tuned a little, too. let's see who's faster

Gallery2
Posted: Mon Aug 09, 2004 1:18 am
by apc
keithstric wrote:Thanks, that is the route I'm taking and have almost got it working. Now I'm getting a Gallery error but I think it may be overlookable.
Keith
I´m get Gallery2 alpha1.It´s very good.
http://sourceforge.net/project/showfile ... _id=124241
Another think:
My calendar (Quickjump) don´t work
My Archives links don´t work
Please, What I to do?
apc (Alberto- from Brasil)
http://www.hostinganime.com/lerdort

Re: Gallery2
Posted: Mon Aug 09, 2004 2:27 pm
by garvinhicking
Hi APC!
Maybe you should create a new topic/item for your problems instead posting to old ones; that may increase your chance for getting better answers
apc wrote:
Another think:
My calendar (Quickjump) don´t work
My Archives links don´t work
Please, What I to do?
You should check in your installation, what 'rewrite' method you checked. Try to use "no URL rewriting" instead of apache errorhandling or mod_rewrite, because it seems as if your host doesn't support that. What URL is your blog exactly?
(I don't understand your native language and can'T find your blog at
http://www.hostinganime.com/lerdort/en/index.php...)
Re: Gallery2
Posted: Wed Aug 18, 2004 1:57 am
by apc
garvinhicking wrote:Hi APC!
Maybe you should create a new topic/item for your problems instead posting to old ones; that may increase your chance for getting better answers
apc wrote:
Another think:
My calendar (Quickjump) don´t work
My Archives links don´t work
Please, What I to do?
You should check in your installation, what 'rewrite' method you checked. Try to use "no URL rewriting" instead of apache errorhandling or mod_rewrite, because it seems as if your host doesn't support that. What URL is your blog exactly?
(I don't understand your native language and can'T find your blog at
http://www.hostinganime.com/lerdort/en/index.php...)
Hi Garvin
Thanks very muth for all.
I get s9y_200408161337.tar.gz 16 Aug 04, and work very good.
Regard.
Alberto(apc) from Brasil
The Serendipity is fantastic.