Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
shags38
Thanks for your help however there are a number of folders with that file name in them and I looked in a couple of folders with that file and there is nowhere to modify 'category description' in the file content. So which specific folder is the file in that you modified?? FOLDER???/tpl_product_info_display.php
cheers,
Mike
OK - I have sorted it in includes/templates/abbington_mega/templates/tpl_index_product_list.php and found the below code at line 100;
<?php
// categories_description_sub
if ($current_categories_description_sub != '') {
?>
<a name="descSub"></a>
<div id="categoryDescriptionSub" class="catDescContent"><?php echo $current_categories_description_sub; ?></div>
<?php } // categories_description_sub ?>
I copied and pasted that (above) code to just below this (below) code near bottom of page at line 205;
<?php
$show_display_category->MoveNext();
} // !EOF
?>
Then deleted the code I copied at line 100 - works an absolute treat !! :) see example of Harmony Balls category page at http://dazzlers.net.au/index.php?mai...index&cPath=14
cheers,
Mike
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
shags38
Thanks for the info - I have installed the mod however it places the additional category description directly below the product listing and above the 'Featured Products' and 'New Products' panels which still means scrolling. How can it be modified to be definitively the last section of a page?
cheers,
Mike
This is a question that should be asked on the module support thread.
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
shags38
Thanks for your help however there are a number of folders with that file name in them and I looked in a couple of folders with that file and there is nowhere to modify 'category description' in the file content. So which specific folder is the file in that you modified?? FOLDER???/tpl_product_info_display.php
cheers,
Mike
You should always be modifiying the file in the template override directory if possible.
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
shags38
OK - I have sorted it in includes/templates/abbington_mega/templates/tpl_index_product_list.php and found the below code at line 100;
<?php
// categories_description_sub
if ($current_categories_description_sub != '') {
?>
<a name="descSub"></a>
<div id="categoryDescriptionSub" class="catDescContent"><?php echo $current_categories_description_sub; ?></div>
<?php } // categories_description_sub ?>
I copied and pasted that (above) code to just below this (below) code near bottom of page at line 205;
<?php
$show_display_category->MoveNext();
} // !EOF
?>
Then deleted the code I copied at line 100 - works an absolute treat !! :) see example of Harmony Balls category page at
http://dazzlers.net.au/index.php?mai...index&cPath=14
cheers,
Mike
I am happy that you figured it out. Thank you for posting your solution so that anyone else with the same question can refernce your fix.
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
picaflor-azul
I am happy that you figured it out. Thank you for posting your solution so that anyone else with the same question can refernce your fix.
Thanks,
Anne
Sorry I just came back online, glad to see it worked.
Re: Abbington Mega Template Support Thread
My site: http://www.thesweettease.com/
I want my home page to display my new products. As you can see there is a tab for the new products but they don't display unless you actually click the NEW tab. Can someone tell me how to get them to display automatically without having to click on the tab? Thanks a million!
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
sweettease
My site:
http://www.thesweettease.com/
I want my home page to display my new products. As you can see there is a tab for the new products but they don't display unless you actually click the NEW tab. Can someone tell me how to get them to display automatically without having to click on the tab? Thanks a million!
Take a look at this thread:
http://wwhttp://www.zen-cart.com/sho...72#post1134272
Thanks,
Anne
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
picaflor-azul
The link didn't work for me. I did find what I thought was the fix to this problem several pages back but when I made the change it didn't fix the problem.
Re: Abbington Mega Template Support Thread
Quote:
Originally Posted by
shinypenguin
First, thank you for this great template Anne. Should be launching a website in a week or two and the template has been a HUGE help!
To change which tab shows by default, modify line line 6 in the css file: /includes/templates/abbington_mega/css/stylesheet_module_tabs.css:
HTML Code:
#featuredProducts {display:block;}
Change featuredProducts to either whatsNew, or specialsDefault -- depending on which you want... or to open all three, you can make the line:
HTML Code:
#featuredProducts, #whatsNew, #specialsDefault {display:block;}
OK, I figured out the issue with the link... this is the thread I had found previously. I made the switch to #whatsNew but the tab is not open until you click it. I'd rather have the new products displayed automatically when the page loads rather than the user to have to click the tab. Does that make sense?
Re: Abbington Mega Template Support Thread
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