Open links in same table

Having trouble installing serendipity?
Post Reply
Webber
Regular
Posts: 6
Joined: Sat Jul 22, 2006 10:48 pm

Open links in same table

Post 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
Webber
Regular
Posts: 6
Joined: Sat Jul 22, 2006 10:48 pm

Looks like my answer is found

Post by Webber »

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

I'm trying if I can get this to work.
Webber
Regular
Posts: 6
Joined: Sat Jul 22, 2006 10:48 pm

Post 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!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Webber
Regular
Posts: 6
Joined: Sat Jul 22, 2006 10:48 pm

Post 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?
Webber
Regular
Posts: 6
Joined: Sat Jul 22, 2006 10:48 pm

Post 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. ;)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply