Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
mr80s
Hi Anne,
Thanks for the quick response. Did you mean the tpl_mega_menu.php file as I don't have a tpl_drop_menu.php file. However, this only has reference to the first menu item "categories". It looks like /includes/languages/english/extra_definitiions/abbington_mega/headermenu.php might be the file. So if I wanted to add a new menu item (link) to the Information drop down and call it "Test" and point Test link to main_page=testpage.html where would I do this?
What I was saying out the "About us" menu item is that on the drop down menu "About us" has the picture and some text (which is changable in the hedermenu.php file I mented above. However, in the footer section there is an "About Us" link that points to main_page=about_us that is a different page and contains this info:
Home :: About Us
About Us
ABOUT US Sample Text ...
This section of text is from the Define Pages Editor located under Tools in the Admin.
You can use either the language-file in /includes/languages/english/MYTEMPLATE/about_us.php or this file separately for this page or, you can use both together.
To remove the language file definition, do not delete the define statement, set it to be blank. Example: define('TEXT_INFORMATION', '');
I'm really just looking to add more drop-down menu items that point to pages I can create.
Thanks,
J.
To remove this section of the text (which you're reading right now), delete it from the Define Pages Editor, located under Tools in the Admin.
Sorry about that! Yes, it is tpl_mega_menu.php. You can add additional links here.
If you read the readme.html file you will see how to edit the about us content in the drop down menu. If you are comfortable with php code you can call the content from the about us page to the header menu drop down so that it is the same in both places ;-)
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Very nice template; the mega-menu is easy to customize. The text associated with the "Contact Us" drop-down is hard-coded in the template file and should be moved to a language file in a future release.
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
lat9
Very nice template; the mega-menu is easy to customize. The text associated with the "Contact Us" drop-down is hard-coded in the template file and should be moved to a language file in a future release.
I am not sure what you are talking about. The contact us drop down text is in the language file using the constant TEXT_CONTACT_US ?
Thanks,
Anne
Re: Abbington Mega Template Support Thread
If you look in /includes/templates/abbington_mega/common/tpl_mega_menu.php, lines 243 to 279:
Code:
<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 -->
<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>
The items I've highlighted in red should be in language files.
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
lat9
If you look in /includes/templates/abbington_mega/common/tpl_mega_menu.php, lines 243 to 279:
Code:
<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 -->
<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>
The items I've highlighted in
red should be in language files.
I will try to include this in a future update. Having the text in the tpl_mega_menu.php file is not effecting functionality at all on the front end and the fields are standard so this is not really a high priority bug fix.
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
picaflor-azul
I will try to include this in a future update. Having the text in the tpl_mega_menu.php file is not effecting functionality at all on the front end and the fields are standard so this is not really a high priority bug fix.
Thanks,
Anne
Thanks, Anne. I just wanted to get this noted for your multi-language users.
Re: Abbington Mega Template Support Thread
Can you please make a zen cart plugin with just the mega menu to add to my site? Its something I want to do really long time and nothing is better than yours in this template!
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
lat9
Thanks, Anne. I just wanted to get this noted for your multi-language users.
No problem ;-) Thank you for pointing this out to me!
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
soki
Can you please make a zen cart plugin with just the mega menu to add to my site? Its something I want to do really long time and nothing is better than yours in this template!
I have actually been thinking about this and my get to this as time allows.
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
picaflor-azul
No problem ;-) Thank you for pointing this out to me!
Thanks,
Anne
**quietly raises hand** :laugh:
I would be sooooo interested in this if you did it.. I have been quietly looking at how to grab the menu from this great template to use as a standalone menu..