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

TOPIC: Template changes

Template changes 10 years 5 months ago #7238

I submitted a ticket yesterday. but i narrowed the problem to the following.

for some reason the template changes from flexv2 to defaul once we display a search with custom filters. how can we disable the default template so that no matter what only the flexv2 template always appears?

here is the links with out the custom search.

dev600.simplymint.com/uniforms

and with

dev600.simplymint.com/search-shop/?custom_f_35[0]=313337

Please assist we need to launch this site asap

thanks for all the help.
The administrator has disabled public write access.

Template changes 10 years 5 months ago #7274

Hi,

You should contact to that Custom Filters developer and ask the same question.
Looks like their plugin automatically selects "default" layout without looking what has been selected through VM backend.

Another way of handling this issue is;
- Rename the "default" layout to "default2"
- Rename the "flexv2" layout to "default"

So actually the "flexv2" layout will be your default layout. Got it?
To do it, open your FTP and find these files:

/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.xml


rename them to:
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default2.php
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default2.xml



Then, follow the same idea for the flexv2;

rename:
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/flexv2.php
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/flexv2.xml

to
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.php
/templates/YOUR_TEMPLATE/html/com_virtuemart/category/default.xml


From now on, your "flexv2" layout has become "default" layout by renaming those files. So now you can select the "default" layout from the VM Configuration to get the old flexv2 layout,since your custom filter will also use the same "default" layout, there will be no difference.

Regards,
Support.
Last Edit: 10 years 5 months ago by Support.
The administrator has disabled public write access.

Template changes 10 years 5 months ago #7306

Thank you so much. for some reason i was not getting your reply emials and did not see all this.
The administrator has disabled public write access.

Template changes 10 years 5 months ago #7324

Hi,

Because of this "automatic emails when topic is answered", we are in danger of being marked as "SPAM Server" in some major email companies (hotmail and yahoo). We had to disable the automatic emails within the forum area, temporarily. We are trying to resolve this issue. Then everything will start working just like it was before. You will get an automatic email if the topic is answered.

Regards.
Support & Development.
The administrator has disabled public write access.
Time to create page: 0.050 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