Re: Tabbed Products ''LITE'' version - Delimiter based
qnome,
I meant look under the Customers Also Purchased tab (Probably my fault I named the wrong tab. tired as a flown bird going south so please ignore me). On this product page
Or you can see the screenshot I took attached to this post.
The images overlap the background.
Rob
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by knuckle-101
qnome,
I meant look under the Customers Also Purchased tab (Probably my fault I named the wrong tab. tired as a flown bird going south so please ignore me). On this
product page
Or you can see the screenshot I took attached to this post.
The images overlap the background.
Rob
Very strange.. It only happens like that on IE. I checked your CSS for the customersalsopurch class and it looks the same as mine. Im not sure what other change could be causing this. On FF it looks normal. But on it is also a bit weird cuz its all left justified.
There are also other sections of the page that are left justified that used to be centered.. it could be anywhere up the hierarchy of the css values
Re: Tabbed Products ''LITE'' version - Delimiter based
Well, I have tried to make the hieght taller but no good? What would you suggest adding or editing to make it taller to expand passed the images?
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by knuckle-101
Well, I have tried to make the hieght taller but no good? What would you suggest adding or editing to make it taller to expand passed the images?
ah... looks like you fixed it??
Re: Tabbed Products ''LITE'' version - Delimiter based
Not on the template I hoped for, cant figure it out on the other one. The other one is a friends website I just uploaded his template but no go so i just got fed up with it and switched back over to mine. Mine is a remake of the classic which this contrubition is compatiable with but I tried to compare the classic with the one I had uploaded but there is no comparision its totally written differently.
Rob
Re: Help with understanding tabbed lite
Quote:
Originally Posted by qhome
You would only have to edit the tpl_tabbed_products_lite.php file if you were making custom core tabs based on other modular contribs, or if you wanted a certain style ON the tabs.
The "if" statements don't bypass your tpl_product_info_display.php by default. They only check if they should bypass certain sections based on your settings in the admin configuration area. So you could add the all the if statements for your code, but set everything for the tabbed lite code to 0 and you wouldn't even know tab code was even on that page as it would just display normally. So if you have your main image stuff set up a certain way, be sure to set the "Main Image On Tabs" option to 0 and it will use your style instead of the tabbed style version.
If you run into any problems, let me know and I will see what I can do to help.
Okay so I have my products page, here is the example I want to give. In my product_info page I use a series of tables that have classes and use different settings(widths). It looks like the following (see below). You'll notice that the table uses a class called GenericBarHeading. In "non-tab" mode the GenericBarHeading is there, however when I go to tabbed mode, it disappears from the table. That's why I was asking if the tpl_tabbed_products_lite.php changes my format? Or does it simply use some tags in my products_info tab to know where to seperate the sections/tabs?
if ($products_description != '') {
if ($chkTabStart === false || $chkTabEnd === false) { // BEGIN custom tab exist check ?>
<!--bof Product description -->
<table width="585" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td valign="top" style="height:50 ">
<table width="576" border="0" cellpadding="0" cellspacing="0" class="GenericBarHeading" style="height:27px ">
<tr>
<td class="text_2" style="color:#FFFFFF "><img src="images/plus_2.jpg" width="11" height="11" alt="" style="margin-left:10px; margin-right:7px ">Description
</td>
</tr></table>
</td>
</tr>
<tr>
<td valign="top" style="height:218 "><table width="585" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="467" valign="top" class="text_1">
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<!--eof Product description -->
<?php
If ($bAddToCart || $bMediaCollection || $bAdditionalImages || $bCustomersAlsoPurchased || $bCrossSell_Tab) {
require($template->get_template_dir('/tpl_tabbed_products_lite.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_tabbed_products_lite.php');
}
} else {
require($template->get_template_dir('/tpl_tabbed_products_lite.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_tabbed_products_lite.php');
}
}
?>
<!-- eof: Tabbed Product Lite Modifications -->
Re: Help with understanding tabbed lite
Quote:
Originally Posted by castylx
Okay so I have my products page, here is the example I want to give. In my product_info page I use a series of tables that have classes and use different settings(widths). It looks like the following (see below). You'll notice that the table uses a class called GenericBarHeading. In "non-tab" mode the GenericBarHeading is there, however when I go to tabbed mode, it disappears from the table. That's why I was asking if the tpl_tabbed_products_lite.php changes my format? Or does it simply use some tags in my products_info tab to know where to seperate the sections/tabs?
if ($products_description != '') {
if ($chkTabStart === false || $chkTabEnd === false) { // BEGIN custom tab exist check ?>
<!--bof Product description -->
<table width="585" border="0" cellspacing="0" cellpadding="0">
<!--DWLayoutTable-->
<tr>
<td valign="top" style="height:50 ">
<table width="576" border="0" cellpadding="0" cellspacing="0" class="GenericBarHeading" style="height:27px ">
<tr>
<td class="text_2" style="color:#FFFFFF "><img src="images/plus_2.jpg" width="11" height="11" alt="" style="margin-left:10px; margin-right:7px ">Description
</td>
</tr></table>
</td>
</tr>
<tr>
<td valign="top" style="height:218 "><table width="585" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="467" valign="top" class="text_1">
<div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
<!--eof Product description -->
<?php
If ($bAddToCart || $bMediaCollection || $bAdditionalImages || $bCustomersAlsoPurchased || $bCrossSell_Tab) {
require($template->get_template_dir('/tpl_tabbed_products_lite.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_tabbed_products_lite.php');
}
} else {
require($template->get_template_dir('/tpl_tabbed_products_lite.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_tabbed_products_lite.php');
}
}
?>
<!-- eof: Tabbed Product Lite Modifications -->
Ah, then yes you would have to make those changes to the tpl_tabbed_products file as well... it probably wouldn't be too hard. Let me know if you need help, its just a matter of copy/pasting all the table tags in between the tab divs
Re: Tabbed Products ''LITE'' version - Delimiter based-need help with error
I must have messed something up while trying to get your contrib to work. It looks great by the way, and would love to have it on my site however being new to zen I'm sure I just don't have something in the proper place. It doesn't run right out of the box for me. I have a new 1.3.5 store, no customizing done as of yet however I get this error on a few of my product pages:
Warning: main(includes/modules/tabbed_products_lite.php) [function.main]: failed to open stream: No such file or directory in /home/whippers/public_html/includes/templates/classic/templates/tpl_product_info_display.php on line 20
Warning: main(includes/modules/tabbed_products_lite.php) [function.main]: failed to open stream: No such file or directory in /home/whippers/public_html/includes/templates/classic/templates/tpl_product_info_display.php on line 20
Fatal error: main() [function.require]: Failed opening required 'includes/modules/tabbed_products_lite.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/whippers/public_html/includes/templates/classic/templates/tpl_product_info_display.php on line 20
Could you help a newbie step through the process. Your help file was great, but I was confused as to exactly where I should be uploading your files. Also, should I have uploaded complete folders or just the files inside of them? I uploaded the files to /public_html/includes/templates/classic (for the ones pointing to templates/my_template) and ran the sql patch. Is this the correct path?
Any simplified help would be appreciated.
Re: Tabbed Products ''LITE'' version - Delimiter based
Nevermind, I found my error. I didn't have the file in the right location. Moved it and the error was resolved. Thank you for your contribution. This will be very handy!
Re: Tabbed Products ''LITE'' version - Delimiter based
Quote:
Originally Posted by qhome
Well do u just want all the options on one tab? Do you want them on the first tab or a second tab? By default i set all options to be stuck together with the add to cart button. You could add it to a tab, but it would still be a long list as it is now.
I want it in its own tab, doesnt matter to the customer how long it is as long as it it is more noticeable.
Sorry it took me so long to respond