News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Layout bs2-edit not found

Started by jeanl, November 28, 2019, 21:51:19 PM

Previous topic - Next topic

jeanl

Hi

Can anyone please assist.  I don't know how, or I was maybe not aware that I changed it, but in the configuration, I changed layout bootstrap version from legacy to BS2.  Now my site is not working.  Is there a file I can access where I can edit the file to use legacy mode?  Any assistance will be appreciated, as my only other option will be to redo the entire site.

Jörgen

This feature is not ready for use, please use default/nothing/legacy

Try the file
administrator/components/com_virtuemart/virtuemart.cfg

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jeanl

Thank you.  Below is the content of the cfg file, and I need to know which value to change?

Quote# Required configuration data for the VirtueMart installer
# http://www.virtuemart.net
# Copyright (c) 2004 - 2014 VirtueMart Team. All rights reserved.
# http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
# VirtueMart is free software. This version may have been modified pursuant
# to the GNU General Public License, and as distributed it includes or
# is derivative of works licensed under the GNU General Public License or
# other free or open source software licenses.
# $Id: virtuemart_defaults.cfg 3726 2011-07-16 12:01:49Z Milbo $
#
# Notes:
# - The hash-sign (#) is a comment character, but only if it's the first non-blank char on a line
# - The equal-sign (=) when the default value is empty, is optional
# - Constant values can be used by enclosing them in curly brackets ({}), eg:
   # some_path_value={VMPATH_ROOT}{DS}virtuemart{DS}somewhere

[config]
##shop settings
shop_is_offline=0
offline_message=Our Shop is currently down for maintenance. Please check back again soon.
use_as_catalog=0
currency_converter_module=convertECB.php
order_mail_html=1
useSSL=0
useVendorEmail=0
dangeroustools=0
debug_enable=none
dev=none
vmdev=none
google_jquery=0
multix=none
usefancy=1
jchosen=1
enableEnglish=1

##Shopfront
pdf_button_enable=1
show_emailfriend=0
show_printicon=1
show_out_of_stock_products=1
ask_captcha=1
coupons_enable=1
show_uncat_products=0
show_uncat_child_products=0
show_unpub_cat_products=1
coupons_default_expire=1,M
weight_unit_default=KG
lwh_unit_default=m
list_limit=30
showReviewFor=all
reviewMode=bought
showRatingFor=all
ratingMode=bought
reviews_autopublish=1
reviews_minimum_comment_length=0
reviews_maximum_comment_length=2000
product_navigation=1
display_stock=1
vmtemplate=0
categorytemplate=0
showCategory=1
categorylayout=0
categories_per_row=3
productlayout=0
products_per_row=3
llimit_init_FE=24

vmlayout=0
show_store_desc=1
show_categories=1
homepage_categories_per_row=3
homepage_products_per_row=3
show_featured=1
featured_products_rows=1
show_topTen=1
topTen_products_rows=1
show_recent=1
recent_products_rows=1
show_latest=1
latest_products_rows=1

##Paths
    assets_general_path=components/com_virtuemart/assets/
    media_category_path=images/stories/virtuemart/category/
    media_product_path=images/stories/virtuemart/product/
    media_manufacturer_path=images/stories/virtuemart/manufacturer/
    media_vendor_path=images/stories/virtuemart/vendor/
   forSale_path_thumb=images/stories/virtuemart/forSale/resized/
    img_resize_enable=1
    img_width=0
    img_height=90
    no_image_set=noimage.gif
    no_image_found=warning.png
   
##Product order settings

browse_orderby_field=pc.ordering
browse_cat_orderby_field=c.ordering,category_name
browse_orderby_fields=array:`p`.product_sku|category_name|mf_name|product_name|pc.ordering

browse_search_fields=array:`p`.product_sku|category_name|category_description|mf_name|product_name|product_s_desc|product_desc


##Pricing
   askprice=1
   roundindig=1
    show_prices=1
    price_show_packaging_pricelabel=0
    show_tax=1
    basePrice=0
    basePriceText=1
    basePriceRounding=-1
    variantModification=0
    variantModificationText=1
    variantModificationRounding=-1
    basePriceVariant=1
    basePriceVariantText=1
    basePriceVariantRounding=-1
    basePriceWithTax=0
    basePriceWithTaxText=1
    basePriceWithTaxRounding=-1
    discountedPriceWithoutTax=1
    discountedPriceWithoutTaxText=1
    discountedPriceWithoutTaxRounding=-1
    salesPriceWithDiscount=0
    salesPriceWithDiscountText=1
    salesPriceWithDiscountRounding=-1
    salesPrice=1
    salesPriceText=1
    salesPriceRounding=-1
    priceWithoutTax=1
    priceWithoutTaxText=1
    priceWithoutTaxRounding=-1
    discountAmount=1
    discountAmountText=1
    discountAmountRounding=-1
    taxAmount=1
    taxAmountText=1
    taxAmountRounding=-1
    unitPrice=1
    unitPriceText=1
    unitPriceRounding=-1

##Check stock
    addtocart_popup=1
    check_stock=0
    automatic_payment=1
    automatic_shipment=1
    agree_to_tos_onorder=0
    oncheckout_opc=1
    oncheckout_show_legal_info=1
    oncheckout_show_register=1
    oncheckout_show_steps=0
    oncheckout_show_register_text=COM_VIRTUEMART_ONCHECKOUT_DEFAULT_TEXT_REGISTER
inv_os=C
email_os_s=array:U|C|X|R|S
email_os_v=array:U|C|X|R

##SEO
    seo_disabled=0
    seo_translate=0
    seo_use_id=0

   

jeanl

#3
Hello

May I please ask if someone can tell me what to change in this virtuemart.cfg file to get layout back to legacy?
Is there an SQL equivalent I can use to change this setting?

GJC Web Design

try adding bootstrap=0 on a separate line anywhere in the virtuemart.cfg - save - then re-save your VM admin

or in #__virtuemart_configs config field carefully edit bootstrap='""
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

Does the "Layout Bootstrap version" option in Configuration/Templates no longer work?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jeanl

Quote from: GJC Web Design on November 29, 2019, 10:10:17 AM
try adding bootstrap=0 on a separate line anywhere in the virtuemart.cfg - save - then re-save your VM admin

or in #__virtuemart_configs config field carefully edit bootstrap='""

Thank you, I will try this.

jeanl

Quote from: jenkinhill on November 29, 2019, 10:39:43 AM
Does the "Layout Bootstrap version" option in Configuration/Templates no longer work?

I am unable to log into admin due to this so I cannot say for sure.  I can confirm that when you select bootstrap, you get the error I described.