31
dunkin
How do I add blocks to a static page added to the site?
  • 2005/3/18 5:25

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


I have a page, recipes.php that is being called from a menu, but does not appear in the blocks admin. Are there any tags etc, I can add to that page... so that I can add blocks to it?



32
dunkin
Re: Submenu disappearing with mypage... menu help wanted!
  • 2005/3/18 5:12

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


download link dies after disclaimer

The requested URL /visit.php was not found on this server.

you can attach via email if possible...

dunk717@gmail.com



33
dunkin
Re: Submenu disappearing with mypage... menu help wanted!
  • 2005/3/18 4:59

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


I just did that very thing and it worked perfectly.... but now my problem is... how do I add blocks to those individual pages... as they do not appear in the blocks admin?



34
dunkin
Re: Submenu disappearing with mypage... menu help wanted!
  • 2005/3/18 4:19

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


I am basically calling other modules from the submenu....

mypage is like tinycontent... allows you to insert a blank page where you can put static content, or if you give it main priveleges... blocks...http://www.hippyspace.com in the 'my recipes' section is where I use it currently, and others on that page as well...

what I want to do... is take that module and put other pages in a tree under it... so like to display in the menu...

About Me (main link on page) - with block content
-My Recipes (submenu from 'about me' with block content
-My Projects - submenu from 'about me'

etc etc etc... BUT when I set it up to appear that way...
if you click on one of the submenu's in the menu... it takes you to the module page... and all the submenu's disappear.

I want them to stay there... as they do in like 'mydownloads' or 'weblinks' modules. I've searched that code... can't find out how it's done.



35
dunkin
Re: Submenu disappearing with mypage... menu help wanted!
  • 2005/3/18 3:09

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


on the second and third page yes... but commented out or not... the submenu disappears as soon as you click on one of the submenus



36
dunkin
Submenu disappearing with mypage... menu help wanted!
  • 2005/3/18 1:00

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


using the mypage module which allows you to add a static page with blocks to xoops.

I made 3 blank pages

mypage1 with submenu to mypage2 and mypage3

but when viewing mypage2 or mypage3... the submenu disappears under mypage1 in the main menu... how can I make it stay there?!?

You can see what I mean here -Http://www.tietrek.info

follow the 'test' link

LINKS ON TEST1

$modversion['hasMain'] = 1;//0 to remove link from main menu
$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
$modversion['sub'][1]['url'] = "../../modules/test2/";
$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
$modversion['sub'][2]['url'] = "../../modules/test3/";

LINKS ON TEST2 & TEST3

$modversion['hasMain'] = 1;//0 to remove link from main menu
//$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
//$modversion['sub'][1]['url'] = "../../modules/test2/";
//$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
//$modversion['sub'][2]['url'] = "../../modules/test3/";



37
dunkin
mypage menu questions (submenu disappears)
  • 2005/3/17 21:08

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


thanks monty!!! the submenus work now... BUT!!!

using the mypage module...

I made 3 blank pages

mypage1 with submenu to mypage2 and mypage3

but when viewing mypage2 or mypage3... the submenu disappears under mypage1 in the main menu... how can I make it stay there?!?

You can see what I mean here -Http://www.tietrek.info

follow the 'test' link

LINKS ON TEST1

$modversion['hasMain'] = 1;//0 to remove link from main menu
$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
$modversion['sub'][1]['url'] = "../../modules/test2/";
$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
$modversion['sub'][2]['url'] = "../../modules/test3/";

LINKS ON TEST2 & TEST3

$modversion['hasMain'] = 1;//0 to remove link from main menu
//$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
//$modversion['sub'][1]['url'] = "../../modules/test2/";
//$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
//$modversion['sub'][2]['url'] = "../../modules/test3/";



38
dunkin
mypage question regarding global.php
  • 2005/3/17 20:19

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


in the mypage module for adding content...

it allows you to create a submenu off of a page you create...
says...

//$modversion['sub'][1]['name'] = _MI_MYPAGE_SMNAME1;//define in language/english/global.php
//$modversion['sub'][1]['url'] = "../../modules/ipboard/";
//$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;//define in language/english/global.php
//$modversion['sub'][2]['url'] = "../../modules/weblog/";


How do I define these in globals.php.... where do I put the defines? and can someone give me an example of the way I would define them?

like so?!?

define('_MI_MYPAGE_SMNAME1', 'NAME-OF-SUBPAGE');

and if so... can I just put them anywhere on the bottom above the ending ?>



39
dunkin
Re: HippySpace
  • 2005/3/17 18:54

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


modified my color scheme a little, forums and downloads look a little nicer. Also added a musical tune to the main page. kinda sets it off a bit.



40
dunkin
Re: Tower City Pa WebSite
  • 2005/3/17 2:12

  • dunkin

  • Just popping in

  • Posts: 47

  • Since: 2005/3/15


should be online, I haven't had downtime in quite a while... anyone else having problems?




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

144 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

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

Latest GitHub Commits