Forums

Losing my left nav when loading ChronoForm

yourippehdees 13 Mar, 2009
Hope someone can help with this issue:

Forms are working well - I like the wizard, and the ability to style my forms.

I have created menu items to link to the form, by creating a chronoform menu link, and embedding the link in an article.

When I click the site link, the form displays and works properly, however, I'm losing my left navigation. The links are exactly the same format as my other nav links, which work properly, but the leftnav component is not included for some reason (I can tell when looking through Firebug - leftnav div isn't there).

Here is the php for displaying my left nav (not on the frontpage, though):

<body class="all" id="page_bg">

<div class="sitewrapper">
<div class="center_wrapper">
<div class="center">
<div id="area">
<div id="header">
<div id="headercontent">
<jdoc:include type="modules" name="headercontent" />
</div>
</div>

<div class="pill_m">
<div id="pillmenu">
<jdoc:include type="modules" name="user3" />
</div>
</div>

<div id="content">
<div id="maincolumn" style="float: right">
<jdoc:include type="component" />
</div>
<div id="randomimage">
<jdoc:include type="modules" name="right" />

</div>

<?php $Itemid = JRequest::getVar('Itemid'); // get the current itemid
// don't show this position if $Itemid is 53
if(($this->countModules('left')) && ($Itemid != 53)) : ?>
<div id="leftnav">
<jdoc:include type="modules" name="left" />
</div>
<?php endif; ?>


<?php if ($this->countModules( 'frontpage1' )) : ?>
<div class="frontpage1" style="float: right">
<jdoc:include type="modules" name="frontpage1" style="xhtml" />
</div>
<?php endif; ?>

<?php if ($this->countModules( 'frontpage2' )) : ?>
<div class="frontpage2" style="float: left">
<jdoc:include type="modules" name="frontpage2" style="xhtml" />
</div>
<?php endif; ?>

</div>
</div>

<div class="clr"></div>
</div>
</div>


This is the url that calls the form:
index.php?option=com_chronocontact - Join Medallurgy 2
index.php?option=com_content&view=article&id=48 - Contact Medallurgy


If anyone can help parse this out, I would be most grateful. Please let me know if there is additional information needed. Here is a link to the test site:

http://testsite.medallurgy.com/joomla
Form is located at: About Us > Contact Medallurgy and Join Medallurgy 2

Thanks!

Dan
Max_admin 13 Mar, 2009
Hi Dan,

is the left nav is set to appear in all your website pages ? to be more specific, do you have at least 1 module which is set to display at "ALL" ?

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
yourippehdees 13 Mar, 2009
Well, I just figured it out, and boy do i feel dumb. I set up a split menu on my site, and since I added the links to the chronoforms much later, those 2 links were not included in the Menu Assignment.

Thanks for responding nonetheless, and here's to hoping this helps someone out there, even as a cautionary tale.
Max_admin 13 Mar, 2009
great, thanks for posting the fix!🙂

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.