Elxis CMS Forum

Support => General => Topic started by: ROUBOS on July 13, 2010, 23:20:54

Title: Can we create a menu item linking to a page that displays a module? [SOLVED]
Post by: ROUBOS on July 13, 2010, 23:20:54
Hi,
I want to have a menu link to a page, that will display a module. the Digsby module, so I can use it sort of like a chat room.

How will I go about doing this? Add the module to the main body but only have it appear when a menu link is clicked. I guess it should be an autonomous page, but how do we add the module to that page?

thanks
Title: Re: Can we create a menu item linking to a page that displays a module?
Post by: nikos on July 14, 2010, 02:33:37
Yes you can do it using bot Load Module Positions. Create an autonomous page with name Digsby and into content insert this {mosloadposition position} where position is the module position where is published your module.

Note: It is recommended to publish your module in a position which does not belong to the template.

So if for example Digsby module is published on user7 module position you have to insert into autonomous page {mosloadposition user7} and save it.

Then on main menu you have to create an item menu which is link to this autonomous page and is done!
Title: Re: Can we create a menu item linking to a page that displays a module?
Post by: ROUBOS on July 14, 2010, 04:05:07
thank you so much.
will give it in the morning
thanks

I was about to create a hidden <div>  with CSS and make it appear with CSS from a link.

Title: Re: Can we create a menu item linking to a page that displays a module?
Post by: nikos on July 14, 2010, 09:49:07
You are welcome  :)

Take in mind also that into the same autonomous page you can display multiple modules, if are published to the same position.
Title: Re: Can we create a menu item linking to a page that displays a module?
Post by: ROUBOS on July 14, 2010, 10:51:57
thanks it works.

Can we add them to the Site Contacts page? Or any component page for that matter? Or do we create an autonomous page once again and include a component and a module on the same page?
Title: Re: Can we create a menu item linking to a page that displays a module?
Post by: nikos on July 14, 2010, 11:06:52
Bot Load Module Positions works and is used only for modules, not for components. Any component can be displayed by a menu with relative component item menu (which displays the frontend interface of a component) or by a Link - Component Item (which creates a link to an existing Elxis Component). You can not include, as you say, a module and a component to display them in a page. Any one is displayed separately.
Title: Re: Can we create a menu item linking to a page that displays a module?
Post by: ROUBOS on July 14, 2010, 12:48:10
OK cool
thank you