HTML Logo by World Wide Web Consortium ( Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.

Forum on home page without Last Post

Login / Search

 [ Join | More ]
 Add topic 
#78069 (In Topic #16020)


Let's say that I would like to have forum displayed on homepage but without column Last Post. The column still need to be displayed in the core forum page.

I created redirection: Welcome/start -> Forums/forumview, but not sure what is the best way to hide Last Post if forum is displayed on homepage and show it in the core forum page.

I have two ways on my mind:
  1. Adding a condition in a template file
  2. Copying and editing forumview script
So, what do you advise? Or maybe there is something easier I'm not aware of?

Last edit: by MitraX

FeminaPortal - Female Internet Portal (powered by ocPortal)
INFORBIRO - Information Technology Agency
BlicKlik - Internet Marketing and Advertising
Back to the top

Community saint

Sounds like you are on the right track.  I'd say a condition in the template file.   I don't know if there is a global variable for templates that says which page you are on (or coming from).  So you might need to edit the forumview script to send that condition variable to the template.

Back to the top
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: