Custom Block


Subject: Custom Block
I have searched and tried many solutions from past post and still have no found a solution. I have done this in Joomla and Drupal with custom php modules. Basically what I have is a gaming website and the block needs to monitor the amount of people logged into the server. I already have the PHP code and it is ready to go. I cannot seem to figure out how to get the block to show. I can create a custom page here with my own PHP, I figured that out. I cannot get the page to show as a block.

Subject: Re: Custom Block
Did you read this thread?

http://www.icyphoenix.com/viewtopic.php?f=4&t=8610

Profile PM  
Subject: Re: Custom Block
Yep, I did it as option 2 since there were two options. And that part works, it creates the page like it said. I cannot get that page to show up as a block.

Let me add that I did not do it as the first option where it says "Create a CMS page (with the "central_block")" but no where do I see anything called a central block so I did not go that route.

Subject: Re: Custom Block
"central_block" is just a general name for any block with any other name you would like to call it.

You would be better to take any other block - copy all the associated files including the tpl file and rename them to "your.*" block etc and have play. Everywhere it refers by name to the block you copy - rename that function or name to "your.* block name etc. And then add your script.

Also, a link to your site would be useful providing it doesn't contain x-rated adult stuff or links to any of it.

Profile PM  
Subject: Re: Custom Block
Did you solve it?


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0979s (PHP: 18% SQL: 82%)
SQL queries: 11 - Debug Off - GZIP Enabled