Page 1 of 1
Extended body link not working
Posted: Wed Nov 21, 2007 4:05 pm
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
Re: Extended body link not working
Posted: Wed Nov 21, 2007 4:43 pm
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
Re: Extended body link not working
Posted: Wed Nov 21, 2007 4:53 pm
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
Posted: Wed Nov 21, 2007 5:07 pm
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
Posted: Wed Nov 21, 2007 5:27 pm
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.
Posted: Wed Nov 21, 2007 5:34 pm
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
Posted: Wed Nov 21, 2007 6:05 pm
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.