HTML Logo by World Wide Web Consortium (www.w3.org). 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 compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


code to add forum events to my sidebar

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#79468 (In Topic #16178)
Avatar

Fan in action

i have already searched this on your forum but cabt find a simple answer, I might have searched wrongly maybe.

I would like to show the recent activity that has been happening in my forum, and I would like to show that activity in my side bar on the welcome page i have looked at my side bar and it has these..






I would like the side bar to show latest forum posts and for it to be inbetween gallery and users.
would it be side_latest_posts or something else.

Thanks
:P
Back to the top
 
Posted
Rating:
#79470

Non-joined user

Hi, I am just a Newbie here but I think what you might want is Forum News display (side_forum_news)
If you can add it as a block you can choose what forums you want it to show from by control/click multiple options, and I am sure you can select how many posts you want it to show.
Like I said I am only a Newbie, hope I am on the right track for you?
Back to the top
 
Posted
Rating:
#79474
Avatar

Community saint

downunder nailed it.

This is what I am using as my 'code' …

Code

[block="5" forum="15" member_based="0" date_key="lasttime" title="Last 5 Comments"]side_forum_news[/block]
… and this is what it appears like:————————————>
Side Panel Comments Block


brief explanation:
  • block="5" ::: means the number of comments to display
  • forum="15" ::: the ID of the 'Comments' forum
  • title="Last 5 Comments" ::: is the title I've arbitrarily given my block

Hope that helps.

 :thumbs:


Last edit: by Fletch

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: