1
technobia
Blocks don;t display on custom module pages
  • 2006/10/12 23:27

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


I have created a custom module and in that module I have the index.php with the following code but I can not display any blocks on that page. Is this possible to do and if so, how?


< ? php
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
?>

Text goes here

<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!

2
Quest
Re: Blocks don;t display on custom module pages
  • 2006/10/13 1:24

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Try going into your admin/system/blocks, find the blocks you want to display on the custom module page. Make sure you highlight the custom module page in the drop down menu along with the other pages you want it to display on. Then click submit. Assuming you allready have the blocks set to visible "Yes". Even if it says visible "Yes" you must tell it what pages to be viewed on. Just don't yell at it...

Edited: I just realized you didn't say what I understood it to say. I don't know that you can display blocks within a mypage type content module. I guess there is a way but would require more knowledge in php than I have. Sorry.

Quest

3
technobia
Re: Blocks don;t display on custom module pages
  • 2006/10/13 1:33

  • technobia

  • Not too shy to talk

  • Posts: 122

  • Since: 2006/4/17


Great thanks. That worked. Just missed that little check box on the Edit link for the block!
Thanks, Technobia
www.PrideDEPOT.com
Everybody Has A Right!

4
Quest
Re: Blocks don;t display on custom module pages
  • 2006/10/13 1:34

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


Oh. Well then maybe you did say what I thought I understood you to say and not what I didn't think you said after all. You are welcome. Dis xooper needs sum xleep.

Quest

Login

Who's Online

154 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits