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
Extended body link not working
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Extended body link not working
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
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/
# 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/
Re: Extended body link not working
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
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
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
-micha
-
Don Chambers
- Regular
- Posts: 3659
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
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
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:
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.
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=