Welcome to Geeklog, Anonymous Thursday, April 18 2024 @ 11:03 pm EDT

Geeklog Forums

I need right blocks in stories


jhendrickson

Anonymous
When you click read more from the main page the right blocks are replaced with whats related and story options. This is fine but I would like the rest of my right side blocks to also display, as they are important for jumping to other posts. I don't want readers to have to return to the main page to see these blocks. Any help would be appreciated.
 Quote

Miguel Danielson

Anonymous
In the file /article.php you will find near the end some code that looks like this:

Text Formatted Code
$display .= COM_siteFooter ();
 


Change this to:

Text Formatted Code
$display .= COM_siteFooter (true);
 


and your stories will have right side blocks starting below the story blocks (what's related, etc.).
 Quote

Status: offline

patman

Forum User
Newbie
Registered: 02/16/04
Posts: 2
Any chance this could be made a config option? I'd like to set mine up w/ "content on the right, nav on the left", more like a blog, but I hate having to make changes in source that I'm sure to forget come upgrade time.

Thanks!
 Quote

jhendrickson

Anonymous
I tried to implement this however it ruins the layout. The right blocks are there, but it places the whats related and story options to the left of the right blocks making this side extra wide.
 Quote

vjl@vjl.org

Anonymous
Quote by jhendrickson: I tried to implement this however it ruins the layout. The right blocks are there, but it places the whats related and story options to the left of the right blocks making this side extra wide.


I've also noticed this [1.3.9]. Anyone have any ideas on how to fix this? I'm not crazy about a 4-column layout.

/vjl/
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The two standard blocks on the article page (What's Related and Story Options) aren't real blocks but part of the layout.

Open the article/article.thtml template file and you'll see a variable {whats_related_story_options} that is replaced with those two blocks. You will have to find some other solution for those then (you can use {whats_related_block} and {story_options_block} to have them as two separate blocks).

bye, Dirk
 Quote

thrice

Anonymous
jhendrickson,

are you from randolph NJ?

thrice
 Quote

All times are EDT. The time is now 11:03 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