Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 10:21 am EST
Geeklog Forums
RightBlocks
Seilo
Anonymous
I am fairly new to php and I am trying to work on a new php file I want to include the right blocks Right now I have the left blocks and the footer by adding
echo COM_siteHeader();
Some code goes here
echo COM_siteFooter();
but I also want to include the right blocks how would I do this ?
echo COM_siteHeader();
Some code goes here
echo COM_siteFooter();
but I also want to include the right blocks how would I do this ?
6
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Use the source, Luke
* Returns the site footer
*
* This loads the proper templates, does variable substitution and returns the
* HTML for the site footer.
*
* @param boolean $rightblock Whether or not to show blocks on right hand side default is no
* @see function COM_siteHeader
* @return string Formated HTML containing site footer and optionally right blocks
*
*/
function COM_siteFooter( $rightblock = false )
bye, Dirk
Text Formatted Code
/*** Returns the site footer
*
* This loads the proper templates, does variable substitution and returns the
* HTML for the site footer.
*
* @param boolean $rightblock Whether or not to show blocks on right hand side default is no
* @see function COM_siteHeader
* @return string Formated HTML containing site footer and optionally right blocks
*
*/
function COM_siteFooter( $rightblock = false )
bye, Dirk
7
7
Quote
Seilo
Anonymous
Oh, I am sorry I did not realize.
One more things Lets say I have blocks that are only set to display in home How would I get them to display on this custom page?
One more things Lets say I have blocks that are only set to display in home How would I get them to display on this custom page?
5
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Seilo: Lets say I have blocks that are only set to display in home How would I get them to display on this custom page?
That's not possible without some modifications to function COM_showBlocks(), I'm afraid.
Geeklog doesn't have a concept for displaying certain blocks on custom pages.
bye, Dirk
5
8
Quote
Seilo
Anonymous
Is there anyway to trick Geeklog into thinking a custom page is "Home" ?
6
12
Quote
All times are EST. The time is now 10:21 am.
- 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