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

TOPIC: Apple inspired search box - not showing on pages

Apple inspired search box - not showing on pages 11 years 5 months ago #1053

Hi there, I love the Apple inspired search box, It's loading on all bar two of my pages (safari - not tested on other browsers). One page is a fox contact form, the other is a 'featured articles' page - with nothing in it yet.

I can't see any CSS conflict but i'm no expert coder.

You can see the box loading fine here: www.thebatcave.me/kozihaus/

Not so fine here: www.thebatcave.me/kozihaus/index.php/contact

and here: www.thebatcave.me/kozihaus/index.php/coffee-bar

Any ideas?

Thanks in advance!

N
The topic has been locked.

Apple inspired search box - not showing on pages 11 years 5 months ago #1073

Hi,

It is because the extension of search module requires flexibleVM2Global.css in order to run, (which comes with our VM Template) and this CSS file is loaded only in Virtuemart-related pages. When you go out to any other component's page (for example; com_contents which is used to show "articles" in your joomla such as your contact page...) then since this CSS file is missing, the expansion module fails to work.

There is an easy patch for it.
Open this PHP file:
www.thebatcave.me/kozihaus/templates/yoo_tasty/html/mod_virtuemart_search/default.php

and RIGHT AFTER THIS LINE:
$doc->addScriptDeclaration($jsFlexible);

ADD THIS LINE:
include_once dirname(__FILE__) . '/../com_virtuemart/assets/includes/flexibleMartGlobal.php';

And should be good to go. If doesn't work, please let me know.
Last Edit: 11 years 5 months ago by Support.
The topic has been locked.

Apple inspired search box - not showing on pages 11 years 5 months ago #1079

SOLVED!

Worked a treat... Thanks so much!

And totally makes sense... It was loading on the other non vm pages because I had loaded the Cart module on those pages.
N
Last Edit: 11 years 5 months ago by N Copeman.
The topic has been locked.

Apple inspired search box - not showing on pages 11 years 5 months ago #1086

The cart module already loads the CSS file where it is published by default. But it is not the case with search box, if you published the "search box" and "cart module" in all pages, you would not have any problem though. Actually this is why we did that patch to "cart module" but leave it how it is now with "search module", it would be unnecessary because we know that, "cart module" and "search module" are usually used together.

But that's okay, since your case is solved, topic is closed.

Cheers.
The topic has been locked.
Time to create page: 0.073 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