Welcome to Geeklog Friday, June 24 2022 @ 10:07 pm EDT
Geeklog Forums
Chatterblock static page?
Status: offline
lbpp
Forum User
Chatty
Registered: 10/06/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?
0
0
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 05/08/03
Posts: 969
Location:The Netherlands, where else?
PHP Formatted Code
<?phpecho 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
1
1
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 22/03/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.
0
1
Quote
Status: offline
lbpp
Forum User
Chatty
Registered: 10/06/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??
1
0
Quote
All times are EDT. The time is now 10:07 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