Page 1 of 1

Open links in same table

Posted: Sat Jul 22, 2006 10:52 pm
by Webber
Hey,

After a lot of trouble I finally got everything working. However, when a link like "Comments" is clicked, it opens a new page. Not a new window, but a new page. I currently have two tables, the top table showing my own HTML stuff and the table below that has the Serendipity blog in it. Works fine, until you click on a link. How can I open "Comments" in the same table (same <TD> part)? I don't have much knowledge of PHP, is there an easy way?

Thanks in advance!

Webber

Looks like my answer is found

Posted: Sat Jul 22, 2006 11:27 pm
by Webber
http://www.s9y.org/55.html

I'm trying if I can get this to work.

Posted: Sun Jul 23, 2006 8:31 am
by Webber
OK, so I need to build a header.php and a footer.php around it. But how?

Is there an easy way to use a header, footer and maybe a custom sidebar? I think I need to use templates, but does someone have an easy example? In WordPress it's built-in and very easy. You can just insert your own code in the header.

A simple example will do, thanks in advance!

Posted: Mon Jul 24, 2006 11:16 am
by garvinhicking
Hi!

Actually you just need to enter the s9y configuration and set "Use Popups" to "no". :)

Best regards,
Garvin

Posted: Mon Jul 24, 2006 7:55 pm
by Webber
Thanks for your answer.

However, I want to have the blog embedded in my normal page, just like the other topic with my own header and footer.

http://www.s9y.org/55.html

It's explained on this page, but the indexFile option is complete unclear to me. I don't understand it. I just want my own header and footer shown on every page. I did that for the main page, but if you click "Comments" my header and footer are gone.

Maybe you have an example of how to do this, then I'll change it to my own site?

Posted: Tue Jul 25, 2006 3:23 am
by Webber
Never mind, my knowledge of PHP is just to little to be able to use Serendipity. I decided to use WordPress instead which is fully customizable for anyone, even me. ;)

Posted: Tue Jul 25, 2006 11:21 am
by garvinhicking
Hi!

Sad to hear that you didn't have the patience to just edit the index.tpl and commentpopup.tpl file like I mentioned in the other thread.

No PHP at all would have been involved this way. :)

Best regards,
garvin