Status: offline

lbpp

Forum User
Chatty
Registered: 06/10/05
Posts: 57
I want to put the chatterblock as part of a static page i will have called "Members Lounge". So instead of it being a block on the left or right i need to be able to call it in a static page with the rest of the content. Is there an easy way to do this?

Status: offline

lbpp

Forum User
Chatty
Registered: 06/10/05
Posts: 57
bump... this seems like it would be easy for the right person to answer. I have been at it and still no luck. someone PLEASE drop me some info.

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
Add PHP support for your static pages plugin and then add this where ever you want the chatterblock:
Text Formatted Code

<?php
echo phpblock_chatterblock();
?>

 

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Text Formatted Code
<?php
echo phpblock_chatterblock();
?>
 


Can I use this as a general example for displaying PHP blocks in static pages?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
Sure, as long as you specified your static page to use PHP.

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
..and if that is all you're putting in the staticpage editor, remember to not use the PHP open and close tags.

Status: offline

lbpp

Forum User
Chatty
Registered: 06/10/05
Posts: 57
see i knew the solution was so easy i was just missing it. Well now that i try it there is an issues. I have placed the link to the new static page in my user menu, but when i log in and try to go to the page it just says "Registered user feature" and nothing else. What is odd is if i log in as the site admin i can click on it and get the chatterblock. I didnt set the permissions to the static page that i included the chatterblock in to admin only, just disabled anon user access. Any advice??

Status: offline

LWC

Forum User
Full Member
Registered: 02/19/04
Posts: 818
Double check Geeklog's permissions for that static page.
And remember that Chatterblock has its own internal settings too...