Jump to content
Cyperis

CONTRIBUTION Product Tabs

Recommended Posts

Please, can you help us in changing something in the engine of osCommerce ?

We would like to add "net paging" at the bottom of home page. When we open the home page, only nine book covers can be seen. We would like to make possible the display of the other books by clicking on "next".

Thank you for advance.

Share this post


Link to post
Share on other sites

Please, can you help us in changing something in the engine of osCommerce ?

We would like to add "net paging" at the bottom of home page. When we open the home page, only nine book covers can be seen. We would like to make possible the display of the other books by clicking on "next".

Thank you for advance.

 

What has this got to do with the product tabs add on.


REMEMBER BACKUP, BACKUP AND BACKUP

Get the latest Responsive osCommerce CE (community edition) here

It's very easy to over complicate what are simple things in life

Share this post


Link to post
Share on other sites

Hi EchoGuns,

 

Well I finaly did it. I brought the 2 contributions to 1.

 

If you want to see it in action here is the link. I did swith price with model. As it is more friendly. And I fix the issue with the layout of the buttons

 

http://www.shoptuin.nl/product_info.php?cPath=21&products_id=28&language=en

I would like to see how u combined these 2 together. I am wanting to do the same thing....

Share this post


Link to post
Share on other sites

I will look into that, I can see that as a common request.

 

Is this contribution multi-language ?

 

thanks

Geert

Share this post


Link to post
Share on other sites

Tabs are stacking on top of each other and showing all content. Can you tell me where the css is modified - I can't seem to find it anywhere. What modification needs to be made to make the tabs horizontal instead of vertical? I've tried in FF, Chrome, & IE.

 

Thanks for the great mod!

 

Here's the screenshot

post-172527-0-35070800-1358991310_thumb.png

Share this post


Link to post
Share on other sites

I cannot get this to work for nothing.

I have these mods installed AND i have tried this solution to no avail

I had the same problem and I did a compare of the old file and the new file and noticed that

 

.ui-tabs .ui-tabs-hide {

display: none !important;

}

 

was missing from the custom css file. I added this and now it works fine.

 

MODS::: (This is just my listing I keep so excuse the notations)

NEW STORE INSTALL LIST

1. Super Download Store 2.3 (Overwriting upload) (SQL Database)

2. KISS Error Reporting

3. Theme Switcher

4. Admin Theme Switcher

5. iOSC 5.2 (SQL Database change in ReadMe)

6. Security Pro r11

7. KISSit Image THUMBnailer

8. Product Info Page Box (SQL Database change)

9. Free Product Checkout

10. Enhanced Contact Us v1.2 (Change text according to your store in languages/english/contact_us.php)

11. Password Strength Meter

12. Free Product Box

13. Ultimate SEO URL 5

14. CrossSell 3.0 (XSell) [Needs some work!] (SQL Database change)

15. PHP POS (Needs Development in order to work properly with osCommerce Database!)

16. Magneticone POS (Perfect)

17. iOS 5.3 update

18. MyAccountInfo Box

19. Modular Front Page

20. Orders at a Glance Admin Dashboard Panel

21. Ask a Question (Did not install, issue with product_info.php)

22. Barcode for products

23. Sitemap Generator with images

24. Magento osCommerce POS

25. Auto Backup v4.3 (Breaks Some Buttons)

26. Ajax Price Update v1.2

27. Quick Inventorys

28. AJAX Attribute Manager (Still needs Updates to handle Downloads. Double Check Later)

29. Product Tabs

Share this post


Link to post
Share on other sites

hi EchoGuns,

 

i got PageBox working fine now and now im working on ProductTabs.

 

I got in admin section on the product edit site a fatal error as follow:

 

Fatal error: Call to undefined function tep_get_products_tabs() in /kunden/#removed#/#removed#/admin/includes/products_tabs.php on line 15

 

I am using Mindsparx_admin_v5__for_2.3 and ckeditor_3.6.6.1 but that should not have any effect on ProductTabs i think.

 

On the catalog site every is looking fine, do you have an advice for my problem?

 

greets

stefan

Edited by stratula

Share this post


Link to post
Share on other sites

I AM an idiot :)

 

i did not the changes in admin/includes/general.php :-

 

Now its visible in admin section but its showing always all tabs in both languages and if i put something in a other tab but descripton, it is on the product sit of the catalog in the description tab below the descripton.

The other tab is also there but without a function.

Share this post


Link to post
Share on other sites

YEAH - its seems i got it done!!

 

I did the change on the jquery-ui-1.8.6.css like kplace did on post #71

 

.ui-tabs .ui-tabs-hide {

display: none !important;

}

 

GREAT CONSTRIBUTION!! and its looking really marvelous together with PageBox :thumbsup:

 

many many thx

 

greets

stefan

Edited by stratula

Share this post


Link to post
Share on other sites

Hi EchoGuns,

i had to update jquery for accordion_categories and now ProductTabs is no longer working like it did.

The whole shopsite is now showing in the ProductTab i've seen that i'm not the first person with this problem. - do you have any idea how to solve this?

 

http://www.motopart24.de/product_info.php?cPath=21&products_id=28

 

greets

stefan

Edited by stratula

Share this post


Link to post
Share on other sites

Another wonderful jQuery bug, and this one they refuse to fix. Fortunately somebody posted a workaround. Paste the following code in includes/application_top.php just before the </head>:

 

<script type="text/javascript">
// fix jQuery base tag bug
$.fn.__tabs = $.fn.tabs;
$.fn.tabs = function (a, b, c, d, e, f) {
var base = location.href.replace(/#.*$/, '');
$('ul>li>a[href^="#"]', this).each(function () {
 var href = $(this).attr('href');
 $(this).attr('href', base + href);
});
$(this).__tabs(a, b, c, d, e, f);
};
</script>

 

Regards

Jim

 

Edit: Fumbled the code copy.

Edited by kymation

See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

THX Jim,

 

that works but in includes/template_top.php

 

 

greets

stefan

Edited by stratula

Share this post


Link to post
Share on other sites

I just can't get it to work. Everytime I install, it always has my full website within the description box. I have gotten everything else to work. Even the admin section. And I'm using custom themes

Share this post


Link to post
Share on other sites

THX Jim,

 

that works but in includes/template_top.php

 

 

greets

stefan


If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Share this post


Link to post
Share on other sites

This is actually considered a markup problem with the latest jquery - because of the <base> tag.

 

The tabs are using as links something like #tab1 #tab2 etc - what this means with the base tag is

 

http://somedomain.com/#tab1 or http://somedomain.com/#tab2

 

which is literally the site root loaded in the tab - working as intented ( although this wasnt pre 1.9 behaviour ).

 

Changing the markup to something like

 

<li><a href="<? echo $_SERVER['REQUEST_URI'];?>#tab1">MY TAB</a></li>

 

forces the tab url to be something like

 

http://somedomain/somepath.html#tab1

 

which then loads correctly ( for me at least anyways - with the latest jquery versions)

 

Jules

Share this post


Link to post
Share on other sites

That fix also works.

 

My point was that we should not have to make these workaround changes to fix bugs in jQueryUI. But, since jQuery refuses to fix their own bugs, we have to hack the code to fix it. Fortunately osC 2.4 is abandoning jQueryUI.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

@@kymation

There is an osCommerce 2.4?

I thought we were moving to 3.0.

I'm big into WordPress and CMS's that utilize update features and etc., I was looking forward to 3.0 since it is similar to WordPress

Share this post


Link to post
Share on other sites

Both 2.4 and 3.0 are in development. 2.4 will almost certainly be released before 3.0. The 3.0 framework is a complete rewrite and will take a great deal of effort to complete.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

@@kymation

I know this is getting off topic.... but you started it :)

Will 2.4 have special upgrade features, or management features for plugins?

Share this post


Link to post
Share on other sites

See the Development forum for more information on 2.4. This thread is a good place to start.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Hello,

 

I've installed this contribution but I can not get the tabs to show correctly in my product_info.php file.

It shows ok in the admin site but on the front end it does not show the styles, it only shows as regular text without tabs.

any ideas what am I doing wrong?

Share this post


Link to post
Share on other sites

How do you install CKEditor? I really really need links in my product descriptions, and tried running through the install in the add-on section, but the instructions are not straightforward as new versions were added, and I'm not really sure what to do. If someone can help me understand what needs to be done, I'll create the write up myself for others to use, if necessary

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×