Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 08:44 pm EST
Geeklog Forums
story_bodytext
Status: offline
lestat
Forum User
Chatty
Registered: 11/15/03
Posts: 64
I'm trying to use {story_bodytext} in my storybody.thtml template so one can read the whole article instead of going to each specific article to read. The articles are very short, so I'd rather the body be displayed as well as the intro when going to a topic page.
But, when I put the tag in the template, it does not come up...am I doing something wrong?
But, when I put the tag in the template, it does not come up...am I doing something wrong?
11
8
Quote
Status: offline
lestat
Forum User
Chatty
Registered: 11/15/03
Posts: 64
I'm sorry. I didn't explain myself correctly. I tweaked my index.php to show the latest article from each topic on the main page. On the main page, I am showing the title, intro text, date, etc. This is the story.thtml file.
I am using the Cameleon plugin to use a different template when going to different topic pages. When I go to a topic page, its also showing the story.thtml file but instead of showing the intro text + the read more link, I'd like to show the intro text + the body text (the entire postings).
Thanks.
I am using the Cameleon plugin to use a different template when going to different topic pages. When I go to a topic page, its also showing the story.thtml file but instead of showing the intro text + the read more link, I'd like to show the intro text + the body text (the entire postings).
Thanks.
9
8
Quote
Status: offline
Turias
Forum User
Full Member
Registered: 10/20/03
Posts: 807
Hmm, well if you don't want to do what I suggested earlier, there really isn't a hack-free way to do it. If you really want to, you can hack COM_article() in lib-common.php.
Look at the "index" parameter passed into the function and see how it determines which variables to set for which template files.
Look at the "index" parameter passed into the function and see how it determines which variables to set for which template files.
8
7
Quote
All times are EST. The time is now 08:44 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content