Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: css for shade tabs not loading in my website

css for shade tabs not loading in my website 10 years 11 months ago #4767

Hi!

I am using PureMart in a VM 2.0.2 / Joomla 2.5.8 installation. I had to customize the template and especially the shadetabs in order to fit my customers needs, everything is showing OK as they wanted but I have a problem with the css for the tabs, I have first tab SELECTED ok, but when you click in an other Tab it won't change colour to show that this tab is now selected. I hope I am not confusing you with my description...
You can see what I mean at : www.lifetherapy.gr/Joomla_1.7.0-Stable-Full_Package/ekpaideytikoi-kykloi/time-therapy-detail Navigate through the tabs.
When using inspect element at firefox I see that the tabcontent.css isn't loading. Could you please help ? What am I doing wrong?

Thanks in advance,
Regards,
Penelope
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4771

I don't know what you've done but the class selected isn't being applied - the script which should be at the top of the default file appears missing?
 
$('#FlexibleProductDetails li').click(function() {
			$('#FlexibleProductDetails li').removeClass('selected');
			$(this).addClass('selected');
			$('.FlexibleProductTABDetails').hide();
			var selected_tab = $(this).find('a').attr('rel');
 
			$(selected_tab).fadeIn();
 
		return false;
		});
 

I can't find it on the page...
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4776

In which default file is this function missing ? I have the original file of the template and I can't find those lines in it also. Are you referring at the default.php file at the template folder ? template/mytemplate/html/com_virtuemart_productdetails/default.php
Is this the file you mentioned ? Or in another default.php file ???

Thank you,
Penelope
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4783

correct - template/mytemplate/html/com_virtuemart_productdetails/default.php

but where ever it is it needs to be there - it doesn't exist on your page
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4785

But these lines you wrote are not present even in the original default.php or flexv2.php files I have downloaded with the template zip. I have kept the original files and I still can't find this function anywhere. Could you please tell me where to put these lines please ???

Thanks
Penelope
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4792

these lines are most definitely in those files - e.g. in the large block of javascript in e.g. templates/your_template/html/com_virtuemart/productdetails/default.php from line 33

$document->addScriptDeclaration

the lines are at line 43

if they aren't there you must be using some other template - are you in the correct forum section?

There are so many changes on your site, plus sef is on it is not possible to know any more from the frontend - except that that code snippet is missing
Cheers
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4802

Hi

If this is the support forum for Virtuemart 2 Template - PureMart (Supports VM2.0.16) which I 've bought on 25 Dec. 2012, then I think I am in the right forum. I agree with you that I have made many changes to the template to suit my clients needs, but I can't find those lines neither in the original default.php
Please see atached the original default.php file

that I have downloaded after my purchace. The lines you are referring on 43 don't exists.

Regards,
Penelope
Last Edit: 10 years 11 months ago by PENELOPE SOUANI.
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4803

Well I got en error with the upload file so see it below
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4811

Hi,

can you send your details to This email address is being protected from spambots. You need JavaScript enabled to view it. with this topic in the subject line.

I will tell the boss your email is arriving - he will have to look at your site to see what the problem is..

Cheers
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4826

Hi,

Just to clarify the confusion that is going on in this topic.
Dealing with the TABs in the PureMart has been changed. I don't remember, maybe it was rebuilt couple months ago.

Penelope, you still have the old version, this is why John says he doesn't see the necessary JS lines in your source codes. The old version also does work, but it was creating the "STAR ACCESS" issue in the "Ratings" TAB, this is why it has been revised. But i am seeing in your website that you are not using user ratings, and looks like you have made lots of customizations already. So it is safe and better for you to stick with the way it is now.

Just received your email and solved your problem already so you don't need to do anything further.
Now, once any TABs is selected, it adds "selected" class to the selected TAB (to the title of Tab) and the background is changing.

I have changed this PHP file only:
www.lifetherapy.gr/Joomla_1.7.0-Stable-Full_Package/templates/lifetherapy2/html/com_virtuemart/productdetails/default.php

(make sure not to retrieve my changes)

Actually all i did was adding these JS lines below:
$('ul#FlexibleProductDetails li a').click(function() {
	$('ul#FlexibleProductDetails li a').removeClass('selected');
	$(this).addClass('selected');
});

Which does the trick.

Regards.
Support & Development.
Last Edit: 10 years 11 months ago by Support.
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4830

Hi!
Ok mystery is solved now with my template version!

Thank you so much for your assistance, and your great support in this problem we had.

Regards,
Penelope
The topic has been locked.

css for shade tabs not loading in my website 10 years 11 months ago #4834

excellent - sorry for the confusion - I'm new here... ;P

topic closed
The topic has been locked.
Time to create page: 0.117 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo