Extended body link not working

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
mekramsey
Posts: 4
Joined: Wed Nov 21, 2007 3:38 pm

Extended body link not working

Post by mekramsey »

Hi -

I have several long entries that I would like to only show the first paragraph of with the rest being in the 'extended body' that can be accessed via the link at the bottom of the paragraph.

In the admin suite when I add the entry, I put the first paragraph in the entry body and the rest in the extended body. when i view the blog, it shows up as i would expect, but when i click on the link to see the whole entry, I get a 'page not found' error. looking in the archives folder, there is no file there.

Does Serendipity automatically generate the page (or not in my case) or do I need to be creating a page and manually putting it into that folder.

Any advice would be greatly appreciated,
Micha

p.s. I am a complete newbie at this
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Extended body link not working

Post by garvinhicking »

Hi!

What's your URL?

You might have the s9y config option "URL Rewriting" enabled, but that doesn'T work on your page. Change the configuration and set that option to "NONE".

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/
mekramsey
Posts: 4
Joined: Wed Nov 21, 2007 3:38 pm

Re: Extended body link not working

Post by mekramsey »

www.dede-griesbauer.com/updates_news

I've been looking at the source code for any clues and i noticed that in entries.tpl some of the links (including the one to extended body) have a path that includes the folder named the same as the template that I adapted my page from.

i essentially took the 'competition' template and tried to make my own. this was because i wanted the blog page to look like the rest of the site, and i had no luck with the embedding. so i modified the index.tpl and style.css sheets to make it look like the rest of the site. i am wondering if there were paths that i needed to change within the code to make it work right.

-micha
mekramsey
Posts: 4
Joined: Wed Nov 21, 2007 3:38 pm

Post by mekramsey »

as additional (hopefully) clue - the comment and trackback links don't work either - i get the same 'page not found' message when I click on those at the bottom of my entry. i was able to post a comment to one of the entries (and it says there is one comment) but the link source page does not exist.

-micha
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

I find nothing wrong with the extended entry link ("Continue Reading..."), comments or trackbacks... ????? Your posted comment: "You've had a great season - that golf course in St. Croix was not meant to be run in, IMHO". The extended entry is in your 3rd entry.
=Don=
mekramsey
Posts: 4
Joined: Wed Nov 21, 2007 3:38 pm

Post by mekramsey »

I found the problem just a few minutes ago.
In my entries.tpl file, the a hrefs had the path incorrect - it still contained in it the folder of the template i used as a basis. once i deleted that from the path to the comments and extended entries it works.

this brings me to a more general question:
what is the best way to have a blog look like the rest of the website.

i tried embedding (and several different techniques as described on this site) with absolutely zero luck. it would be nice to be able to use the same template as on my other pages with the blog appearing in the main div section.

-micha
Don Chambers
Regular
Posts: 3659
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Post by Don Chambers »

When I first tried serendipity, I tried embedding. Like you, I was not pleased with the results. Ultimately, I developed my own template that looked like the rest of that site. Eventually, I utilized s9y to power the entire site.

You could do something similar..... but that is no small task. You would generate all your other pages with the static page plugin. s9y has a contactform plugin, so you would be covered there as well.

That being said, it looks like you have already created a blog that is complimentary to the rest of the site. My only suggestion would be to go ahead and use the word "blog" instead of "updates" for your link. Most of the world knows what a blog is these days, but the term "updates" is not, IMHO, all that clear.
=Don=
Post Reply