
Originally Posted by
Pablo
I modified my tpl_mega_menu.php file with the following code at about line 243, and then set the CAPTCHA on the original "Contact Us" form.
This still leaves "Contact Us" in the menu, just when you click, it takes you to the "Contact Us" form via the link you put in..
</li><!-- eof information -->
<li class="contactus-li"><a href="<?php echo zen_href_link(FILENAME_CONTACT_US, '', 'NONSSL'); ?>" class="drop"><?php echo HEADER_TITLE_CONTACT_US;?></a><!-- bof contact form -->
<a href="------THIS WILL BE THE LINK TO YOUR CONTACT PAGE --------------"></a>
COMMENT OUT FROM THIS LINE ---------------------------------------------------------------
<!--<div class="dropdown_2columns">
<div class="col_2 firstcolumn">
<h2><?php echo TITLE_CONTACT_US;?></h2>
<p><?php echo TEXT_CONTACT_US;?>
</p>
<div id="contact_form">
<div class="message">
<div id="alert"></div>
</div>
<?php echo zen_draw_form('contact_us', zen_href_link(FILENAME_CONTACT_US, 'action=send')); ?>
<label for="contactname">Name<span class="required"> *</span></label>
<input name="contactname" type="text" id="contactname" size="30" value="" />
<br class="clearBoth" />
<label for="email">Email<span class="required"> *</span></label>
<input name="email" type="text" id="email" size="30" value="" />
<br class="clearBoth" />
<label for="enquiry">Message<span class="required"> *</span></label>
<textarea name="enquiry" cols="40" rows="3" id="enquiry"></textarea>
<div class="form_buttons">
<input type="submit" class="button" id="submit" value="Submit" />
</div>
</form>
</div>
</div>
</div> --> COMMENT OUT TO THIS LINE
Bookmarks