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.


help: embedding forumcontent in new site

Login / Search

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

Fan in training

hey everyone,

i want to embed the OCF_FORUM_TOPIC_ROW content in a new site. I tried to copy the code and insert it into the page but i get those errors. I guess i need to import the parameters, but how? Or any other advice?



Back to the top
 
Posted
Item has a rating of 5 (Liked by FletchLiked by Jean)  
Rating:
#104000
Avatar

Community saint

What has happened there is the template code you used is from a template that belongs to another block or module. The block or module is what passes the parameters to the template. Those parameters are giving you errors because they aren't being passed by the block or module that is parsing your template. If you are trying to integrate forum content in other areas of your site, check out the forum related blocks that are already available in the Block Construction Assistant. In particular, check the Main Blocks, Miscellaneous and Side Blocks, Miscellaneous sections for forum related blocks.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: