Forums

how to show menu module with form?

latitudes 21 Mar, 2007
Hi,

I have a side menu that I want to be visible with this form. How do I do that? I'm new to Joomla, so my apologies if this is a basic question.


Thanks!
Pat 23 Mar, 2007
Do you want a link on the menu or do you want the form to show in the same area as the menu?
latitudes 23 Mar, 2007
The later. I want my "contact options" menu to display with the contact form.
Pat 24 Mar, 2007
The way I did it on my site was to create a module and place it in the area you want to appear.
latitudes 24 Mar, 2007
Okayy, so, i have the menu module, and when I edit that module's options, I can have it "appear" with various content items that i can select from a box to the left. the problem is, the contact form isn't isn't listed in that box to the left.


What am I missing?
Pat 24 Mar, 2007
Did you install the new module you created or are you just going into modules and clicking new?

You need to write a module to call the form and upload it to joomla. You really only need 2 files the php and xml file.

I am surprised that ChronoForms does not provide one.
Pat 24 Mar, 2007
Actually I was just thinking you could use the wrapper module to do basically the same thing.

Give that a try.
latitudes 24 Mar, 2007
ah, okay. I see what you mean. I will try tomorrow. Thanks!
Max_admin 24 Mar, 2007
Hi all,

I understand your problem, myself go over this problem by one line of PHP code at the template, but i think you can find a way at the joomal forums, search for this :

show module in URL menu item

not the same words, but the same idea, this is an issue with joomla all the time, you will find some ideas, however I prefer the PHP way, its like this :

in ur template html and under the module position which contains ur desired module lets say its :

<?php mosLoadModule ('user1'); ?>


write this code :

<?php
if($option == 'com_chronocontact')
mosLoadModule ('user1');
?>


change user1 to whatever ur module resides in๐Ÿ™‚

cheers,

max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
skytopdesigns 27 Jul, 2007

Hi all,

I understand your problem, myself go over this problem by one line of PHP code at the template, but i think you can find a way at the joomal forums, search for this :

show module in URL menu item

not the same words, but the same idea, this is an issue with joomla all the time, you will find some ideas, however I prefer the PHP way, its like this :

in ur template html and under the module position which contains ur desired module lets say its :

<?php mosLoadModule ('user1'); ?>


write this code :

<?php
if($option == 'com_chronocontact')
mosLoadModule ('user1');
?>


change user1 to whatever ur module resides in๐Ÿ™‚

cheers,

max



will putting this code in automaticaly show the form? how will it know what form to get<br><br>Post edited by: skytopdesigns, at: 2007/07/27 03:35
GreyHead 27 Jul, 2007
Hi skytopdesigns,

will putting this code in automatically show the form?

I think it's the other way round, this code will show up the module on the form page. But, as far as I can see this will show up on every form page?? I think a bit more code would be needed to be selective about the form.

Bob
Max_admin 27 Jul, 2007
Hi skytopdesigns,

You don't need to do this any more, using V2.2 you can create a menu item from inside the form edit page and then show the module at the menu item, you will have it listed at the module page this way.

Cheers

Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
skytopdesigns 27 Jul, 2007
yes. i just found that out and i am making a form now in a moduel. this is sooo coool !!! wonderful work
This topic is locked and no more replies can be posted.