VM category page

GK User
Thu Jan 17, 2013 10:33 am
When i click on the image on the VM category page it take me to the detail page. I would like it to open the image to open on the same page just like before I install esport template.

Thank you!
User avatar
Junior Boarder

teitbite
Fri Jan 18, 2013 4:50 am
Hi

Please show me an example of such behaviour on Your site.
User avatar
Moderator

GK User
Fri Jan 18, 2013 8:06 am
When i click on a product imge to veiw it take me to detail page. You can see it in link below
https://www.kidsplaystructure.com/playg ... playground

Also I got this on every virtuemart page only on esport template.
JFile: :read: Unable to open file: /home/asaout/public_html/ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js

Thank you for your help!
User avatar
Junior Boarder

GK User
Fri Jan 18, 2013 8:59 am
The issue about the about the link on the virtuemart pages has been resolved.
(JFile: :read: Unable to open file: /home/asaout/public_html/ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js)

But I still have the category image linking to detail page.
User avatar
Junior Boarder

teitbite
Fri Jan 18, 2013 11:50 am
Hi

Ok. For start please rename /html/com_virtuemart to /html/_com_virtuemart
This will tell me if it is possible with default code. Anyway please send me ftp access so I'll be able to change it.
User avatar
Moderator

GK User
Fri Jan 18, 2013 9:45 pm
Change the name in templete/gk_esport/html/com_virtuemart?
User avatar
Junior Boarder

teitbite
Sat Jan 19, 2013 3:48 am
Hi

Yes. The name of a folder: templete/gk_esport/html/com_virtuemart to templete/gk_esport/html/_com_virtuemart . This way template override will be disabled and we will check if this works as You requested as default in VM.
User avatar
Moderator

GK User
Sat Jan 19, 2013 9:49 am
I changed com_virtuemart to _com_virtuemart but did not fix it.
User avatar
Junior Boarder

GK User
Sat Jan 19, 2013 11:33 pm
It only happens on the esport template.
User avatar
Junior Boarder

teitbite
Sun Jan 20, 2013 11:07 am
Hi

Ok. I will need an access to ftp than. Please send it to my mail or PM.
User avatar
Moderator

GK User
Mon Jan 21, 2013 11:16 am
I have same problem.
I need may child category view, categorys and when i click on the product imag to enter to product.
http://shop.pensiluet.com/narodni-nosii for categorys
http://shop.pensiluet.com/shopski-narodni-nosii for product
User avatar
Fresh Boarder

teitbite
Mon Jan 21, 2013 12:58 pm
Hi

@reloadedman You have exactly the oposite problem :) Please make a new thread about it.

Please edit /html/com_virtuemart/category/default.php and around line 201 - 204 set this code:

Code: Select all
               <!--<a title="<?php echo $product->link ?>" rel="vm-additional-images" href="<?php echo $product->link; ?>">-->
                  <?php echo $product->images[0]->displayMediaThumb('class="browseProductImage"', true); ?>
               <!--</a>-->



instead of

Code: Select all
               <a title="<?php echo $product->link ?>" rel="vm-additional-images" href="<?php echo $product->link; ?>">
                  <?php echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false); ?>
               </a>
User avatar
Moderator

GK User
Mon Jan 21, 2013 1:37 pm
It is work for products, now i need the same for category .
When i click the imag to enter to category like categorys view!
http://shop.pensiluet.com/narodni-nosii
User avatar
Fresh Boarder

GK User
Mon Jan 21, 2013 10:30 pm
I want it to open in lightbox not a new page just like yourShop template.
You can just tell me where to add the code.
Thank you!
User avatar
Junior Boarder

GK User
Tue Jan 22, 2013 4:41 am
I change this code on the test site and it worked. I did the same thing for the live site and did not work.

Live site

kidsplaystructure.com

Test site

kidsplaystructure.com/jupgrade

before
<?php echo $product->images[0]->displayMediaThumb('class="browseProductImage"', false); ?>

after
<?php /** @todo make image popup */
echo $product->images[0]->displayMediaThumb('class="browseProductImage" border="0" title="'.$product->product_name.'" ',true,'class="modal"');
?>
User avatar
Junior Boarder

teitbite
Wed Jan 23, 2013 12:44 am
Hi

@Golfo, unfortunately this is the solution. Adding a class "modal" and having a link to the big image should have done it already. If it's oppening the new page means that javascript for modal popup is not working. It can be because of a conflict with other javascript. Please try and check how this behave with some default joomla template. If this will still not be working than You will have to ask on VM forum because I think they may have change the method to show popups in some latest update that I'm not aware of.
User avatar
Moderator

GK User
Wed Jan 23, 2013 1:17 am
It only does it with esport template. Both site have the latest VM 2.0.18a. When I switch the default template everything works.

I have couple issues that are more important then this.

Issue 1
Recaptcha is not showing on forgot password and user name, it's only showing on register. This on only happens on esport template. Everything is set properly on the back end and everything works on a default template.

Issue 2
I notice that every page has <h1> form the template logo. Can you tell me how to remove that.
Thank you!
User avatar
Junior Boarder

teitbite
Wed Jan 23, 2013 2:35 am
Hi

If it's working with default template than You can simply disable this file by removing it from /html/com_virtuemart. I believe it's /category/default.php or to replace this part of the code with the one from clear VM version.

Issue 1
Re-captcha cannot work if there are 2 instances loaded at the same time. So I believe it's not showing because one is already loaded along with register module. Please try disable register module on this forgot password page. You may need to create a menu item to this page first in order to have a menu item You will be able to restrict showing module from.

Issue 2
This is a little complicated to explain because requires some modifications in code. I'll make it for You.
User avatar
Moderator

teitbite
Wed Jan 23, 2013 2:40 am
Hi

Issue 2 done. Please just enable using override.css file in template settings.
User avatar
Moderator

GK User
Wed Jan 23, 2013 5:21 am
I am done with this #$%@ template. You do not need to do any changes.
User avatar
Junior Boarder

GK User
Wed Jan 23, 2013 10:00 am
I just check on <H1> header and is still there. I clean the cache refresh the page and is still problem.
<H1>:
<H1>: Playground Components
<H2>: Playground Vertical Climbers
<H2>: Playground Stairs
<H2>: Playground Horizontal Ladders
<H2>: Playground Slides
<H2>: Crawl Tunnels
<H2>: Playground Bridges
<H2>: Panels Gates
<H2>: Playground Roofs
<H2>: Playground Platforms
<H3>: Login or Register
<H4>: LOG IN

(more)
Hide advice
Deserves moderate attention
Solution is simple

Your page implements HTML headings.

You can include keywords in your headings.

The initial heading (<H1>) should include your best keywords.

Using only one <H1> heading per page will strengthen your SEO.
User avatar
Junior Boarder

GK User
Wed Jan 23, 2013 10:11 am
For the recaptcha. I deleted the gk_register module and still is not showing the recapcha. I switch template and everything works just fine.
for some reason the test site, everything is working perfect.
User avatar
Junior Boarder

GK User
Thu Jan 24, 2013 1:35 am
this error is showing in every page

Timestamp: 1/23/2013 4:32:42 PM
Error: TypeError: document.id(...).getElement(...) is null
Source File: http://www.kidsplaystructure.com/templa ... scripts.js
Line: 200
User avatar
Junior Boarder

GK User
Thu Jan 24, 2013 1:49 am
I fix the recaptcha.
just need the <h1>
User avatar
Junior Boarder

teitbite
Thu Jan 24, 2013 5:11 am
Hi

Have You updated template ? Because all my changes to logo were gone. I've changed it once again.
User avatar
Moderator


cron