Light Shop Changelog
Version 5.4.10
First Joomla 5 native release. Light Shop has been rebuilt for Joomla 5.4.10 + VirtueMart 4.8.6 + PHP 8 + Bootstrap 5. The previous download (lightshop.zip, version string02.07.2025 5.3.0/4.4.4) was built for Joomla 5.3 and VirtueMart 4.4.4 and relied on Joomla's Behaviour - Backward Compatibility plugin; everything below is measured against it. Every Joomla 3 class call is gone (177), the template options use Joomla 5's own on/off switches and a real colour picker, every template setting written into the page is escaped, and there is a new phone layout with a slide-out menu and a fingertip-sized toolbar. Joomla 5's Bootstrap 5 replaces the template's Bootstrap 2; the page frame, the VirtueMart overrides and the module content keep their Bootstrap 2 classes and render through a compatibility stylesheet. jQuery still loads (Joomla's own copy) for the camera slideshow, the product image zoom, the select boxes, the testimonials carousel and the header panels; the old jQuery menu, background-image, phone-menu and polyfill plug-ins are gone. Template files: 253 → 230, with 9 added, 32 removed and 45 modified. The template version is now 5.4.10, matching the Joomla version it ships with.Added
Bootstrap 5 rendering through a compatibility stylesheet
index.phploads Joomla 5's bundled Bootstrap 5 in place of the template's own Bootstrap 2 sheets, before the template's own stylesheets, sotemplate.cssstill wins the cascade.- New
css/bs2-bs5-bridge.css, linked last in the page head on every page. It lets Light Shop's Bootstrap 2 markup render correctly on Bootstrap 5:- Bootstrap 2 grid:
.row-fluid/.spanNwidths and gutters, nested spans and offsets, row clearfix, and phone stacking of every span column. - The Bootstrap 2 responsive utilities (
hidden-phone,visible-phone,hidden-tablet,visible-tablet,hidden-desktop,visible-desktop), tab panes, collapse,.well/.page-headerand Bootstrap 2 base typography. - Joomla 4/5 icon classes (pagination arrows, the password eye and others) mapped to Font Awesome 6 glyphs.
- Bootstrap 2 grid:
- New
js/cs-jq-compat.js: restores the jQuery 1.x calls that Joomla 5's jQuery 3.7 removed but the bundledcamera.jsslideshow still uses.
New phone layout
- New
js/cs-mobile.js. On phones (up to 767 px) a menu button in the header, filled in the template's red with white bars, opens the main menu as a slide-out panel, with submenus opening in place. - A phone toolbar of 44×44 px buttons in the template's red: Section menu, Log in, Register, Search, Follow us (the social links) and Cart.
- Section menu opens the shop categories. It reads a new module position,
cs-secondary(declared intemplateDetails.xmland output in a hidden holder inindex.php), so any menu module published there appears behind that button. - The Cart button shows the number of items in a badge once the cart has products. Tapping it opens the cart list; with an empty cart it shows "Cart empty".
- Opening a phone panel (menu, search, account, cart, social links) dims the page below the header only; the logo, menu button and button row stay clear. Tapping outside an open panel closes it, and tapping another header button after opening the login box works on the first tap.
- Cart page on phones: each product row becomes a card with labelled price, quantity, tax and total, the totals become label/value lines, and the billing, shipping and checkout buttons run full width at 44 px. The remove button is an icon with a readable accessible name. Nothing runs off the screen.
- Account pages on phones (login, registration, your account) show the page content first, with only the breadcrumbs and the store category menu above it.
- The page heading, breadcrumbs and footer titles line up on the page text's 20 px edge, and the footer column and the home page's icon band are inset to match.
- Blog and category page numbers wrap onto a second line instead of running under the buttons, and the testimonials title wraps instead of running under the carousel arrows.
- The phone tabs on the home page (Hot Products / Featured Products) now show their real titles, and stay clear of the product slider's previous / next arrows.
- The logo sits on the left in the phone header, and the cart and login fields use 16 px text, so iPhones no longer zoom the page in when you tap them.
Cart
- The cart drop-down ends with a Checkout button, shown once the cart has products and kept in step when products are added without a page reload (
html/mod_virtuemart_cart/default.php). It offered only Show Cart before. - The "added to your cart" pop-up shows Continue Shopping and Show Cart as proper buttons that fit the box on phones.
- On the cart page, "Do you have an account?", Login and Register each sit on their own centred line, and the terms checkbox lines up with its text.
- The cart count badge on desktop is shown whenever the cart has products. It appeared only while the pointer was over the cart before.
Login form
- On the login page the show password eye sits inside the password field, and the password field takes the same height as the username field.
Favicon
- New Favicon tab in the template options (fieldset
faviconsettings, fieldsfaviconandfavicontool, field classfields/favicontool.php). Pick one image and the template outputs the icon set (phFaviconSet(),phIcoBytes()inindex.php); the template's ownfavicon.icostays as the fallback. With thanks to Gianluca, whose favicon question inspired this tool. - 10 new language strings (
TPL_LIGHTSHOP_FAVICON_*,TPL_LIGHTSHOP_FAVICONTOOL_*). The language file goes from 72 to 82 strings.
Modern social network support
- Five new social services, each with its own URL field and show/hide switch: Threads, Bluesky, Mastodon, TikTok and Discord.
- The Twitter slot is now X (formerly Twitter) with the X logo (
fa-x-twitter). The full set is X, Facebook, Instagram, Threads, Bluesky, Mastodon, LinkedIn, YouTube, TikTok, Vimeo, Pinterest, Discord and RSS.
Template options (administrator)
- Colour picker: the open-source Coloris picker ships inside the template (
css/coloris.min.css,js/coloris.min.js, field classfields/colorpicker.php), so nothing is fetched from another site. - Custom CSS field (
customcss), and support for acss/custom.cssfile. Both load after the compatibility stylesheet, so your rules win. The file is deliberately not listed in the package, so a template update can never overwrite or remove it, and the field is stored in the database. - New
fields/adminui.php: help rows in the options run the full width of the form instead of a narrow column, and the template's Details panel follows Joomla's light or dark admin theme. A newfields/index.htmlkeeps the folder from being listed.
Changed
Joomla 5 platform
- Built for Joomla 5.4.10 and VirtueMart 4.8.6 (previous download: Joomla 5.3 and VirtueMart 4.4.4), with no need for Joomla's Backward Compatibility plugin.
templateDetails.xmlversion02.07.2025 5.3.0/4.4.4→5.4.10and creation date2026-11-06. The version shown in the template description and the@versiondocblock inindex.phpmatch.method="upgrade"is added, so an existing install updates in place.
Logo and slogan
- The slogan under the logo now links to the home page, like the logo (
.cs-slogan-linkinindex.php). It is on unless you switch off the logo link. - The logo link (
logoLinked) is on by default, also for a template style that has never been saved. The built-in slideshow is switched on, with autoplay on desktop and phones (cam_turnOn,cam_autoAdvance,cam_mobileAutoAdvance); a fresh install showed all of them off. Existing sites keep their saved settings.
J3 → J5 API migration
- 177 Joomla 3 static class calls → 0. Each moved to its namespaced Joomla 4+ form:
JText→Text,JRoute→Route,JHTML/JHtml→HTMLHelper,JFactory→Factory,JURI→Uri,JModuleHelper→ModuleHelperandJDispatcher→triggerEvent(). - Heaviest files:
html/mod_login/default.php(20),index.php(18),html/com_virtuemart/user/login.php(19),html/com_virtuemart/productdetails/default.php(16),html/com_virtuemart/category/default.php(9),html/com_virtuemart/virtuemart/default_products.php(9),html/mod_virtuemart_product/single.php(9). - Every VirtueMart override folder was converted:
askquestion,cart,category,productdetails,sublayouts,userandvirtuemart, plusmod_virtuemart_cart,_category,_currencies,_manufacturer,_product,mod_breadcrumbs,mod_loginandmod_search. In total 39 of the 47 PHP overrides changed (class calls, escaping, or both).
Template options (administrator)
- 162 field type changes in
templateDetails.xml:- 65 on/off settings: every legacy
class="switch" type="checkbox"is now Joomla 5'sradioswitcher (for exampleRSSON,H1TitleImgText,cam_autoAdvance,cam_hover). The template has no legacy checkboxes left. - 97 colour settings: plain
colorinputs →type="colorpicker", with a live swatch.
- 65 on/off settings: every legacy
- Template options: 306 → 304 fields (15 added, 17 removed), 13 → 14 tabs.
Icons and fonts
- Front end: Font Awesome 4.6.3 from MaxCDN → Font Awesome 6.5.2 (
all.min.css+v4-shims.min.cssfrom cdnjs). The template's existingfa fa-*class names keep working through the shims. The template's Options screen loads the same set, so its icons show again; MaxCDN no longer serves Font Awesome 4. - The header, login and cart icons are Font Awesome 6 glyphs in the template's colours.
- Google Fonts load through a stylesheet
<link>withdisplay=swapinindex.php. TheWebFontConfigJavaScript loader, which fetchedwebfont.jsfromajax.googleapis.com, is gone.
Menus and backgrounds
- The hover drop-down menus are driven by CSS (with a small hover helper in
js/cs-mobile.js) instead of the Superfish / Supersubs jQuery plug-ins. Drop-down menus no longer close before you can reach them: moving the pointer from a menu heading down to its drop-down used to cross a gap where neither was hovered, so the menu closed on the way. The whole path is now hoverable; the menu's spacing and appearance are unchanged. - Mega menu panels open at full width and stay open as the pointer moves into them.
- The background image set in the template options is sized with CSS (
background-size: cover) instead ofjQuery.backstretch().
Forms and store pages
- One field size per form: every text field in VirtueMart's registration, account and one-page cart address forms takes the full row at one height, and those forms no longer draw a line between every row. The Joomla 3 rule
input.required { width:60% }intemplate.cssused to make required fields narrower than optional ones. - The Ask a question pop-up fits its window, with the labels on one line.
css/template.css: 185,564 → 187,032 bytes.css/view-list.css: 954 → 1,015 bytes.
Fixed
Pages that failed on Joomla 5
- Shop login page:
html/com_virtuemart/user/login.phpcalledJDispatcher,behavior.modalandbehavior.formvalidation, none of which exist in Joomla 5, so the VirtueMart login page returned a 500 without the Backward Compatibility plugin. It now usestriggerEvent()andbehavior.formvalidator, and the modal call is gone. With thanks to Zoltán Szász, whose follow-up report led to theformvalidationfix across our templates. - Error pages:
error.phpusedJErrorandJText(11 references). With Joomla's Behaviour - Backward Compatibility plugin off, and always on Joomla 6, Joomla could not render any error page, so every "page not found" became a 500. "Page not found" and "access denied" pages now show inside the template, with its header, menus and footer, and fit a phone screen (the earlier fallback page had no phone viewport). - Error pages and server details: an error caused by a missing item no longer prints the server's file paths and a technical trace, and a missing article or contact answers with the proper 404 page.
html/mod_search/default.phpread the Joomla 3 variable$moduleclass_sfx; it now reads the module parameters.html/com_virtuemart/productdetails/default_images.phpused an undefined$template->template, now fixed.
Shop
- Add to Cart on product cards: the donor hid the card's Add to Cart bar at zero height and revealed it on hover, so a click could land on the card instead of the button, and touch screens never saw the bar. The bar no longer clips, so the desktop hover reveal is unchanged, and on touch screens it is always shown.
- The Add to Cart button was a full 100% wide plus a 100 px margin; it now sizes to its content.
Page layout
- Side-by-side positions: the footer chose between one and two columns with
countModules('footer-left && footer-right')(2 places), and the bottom row usedcountModules('bottom-6 || position-3'). Both are Joomla 3 expressions that Joomla 4 and later read as a single position name, so the test always failed and the columns stacked full width. Each position is now checked on its own, so they sit side by side. - Phone tab labels: the phone tabs on the home page printed bare numbers (
0 1) instead of the module titles. They now read Hot Products / Featured Products.
Maintenance pass
- The
@font-faceincss/template.csspointing at Joomla 3'smedia/jui/fonts/IcoMoon font, which Joomla 4 removed, is disabled. - Pagination arrows: Joomla 4/5's
icon-angle-left/-right/-double-left/-double-rightbuttons had no mapping in the template's icon CSS, so they showed no arrow. They now show Font Awesome 6 arrows. - Featured articles: in a one-column featured (home) view, tall intro articles are no longer clipped to their title (
.blog-featuredrules in the compatibility stylesheet). - Search button: the global button margin pulled the search button away from its box.
#search-position .btnnow hasmargin:0. - With thanks to Michael Mullan, whose Expression bug report led to this maintenance pass across our templates.
Categories page
- On the article categories page, the + button that opens the subcategories now lines up with the category title.
Removed
Files removed (32)
- Bootstrap 2: the
css/bootstrap/folder (bootstrap.css,bootstrap.min.css,bootstrap-responsive.css,bootstrap-responsive.min.css,bootstrap-extended.css,bootstrap-rtl.css,bootstrap-tooltip-extended.css), thecss/bootstrap.ziparchive and Bootstrap 2'sjs/bootstrap.min.js. Joomla 5's Bootstrap 5 and the compatibility stylesheet take their place. - 17 more JavaScript files (
js/26 → 11 files):jquery-1.8.1.min.js,jquery.noConflict.js,superfish.js,supersubs.js,jquery.backstretch.min.js,jquery.mobile.customized.min.js,dropkick.js,jquery.dropkick-1.0.0.js,jquery.nicescroll.min.js,selectnav.min.js,jquery.plusanchor.js,jquery.equalHeights.js,easypaginate.js,imgSizer.js,flexibility.js,modernizr.jsandselectivizr-min.js. Of these,superfish.js,supersubs.js,jquery.backstretch.min.js,jquery.mobile.customized.min.js,modernizr.jsandselectivizr-min.jswere loaded by the oldindex.php; the rest were already unused. - Stylesheet
css/error.css, which the template no longer loads. html/modules.php: Joomla 3-style module chrome functions; Joomla 4/5 uses the layout chromes inhtml/layouts/chromes/.html/com_virtuemart/productdetails/default_addtocart.php: nothing called it.- The archives that sat beside the live files:
js.zipandhtml/layouts/chromes.zip. utils/admin-js.js, a Joomla 3-era admin script for the old checkbox switches.
Retired settings
- Four social slots removed with their switches: Google+ (
gplus), StumbleUpon, Digg and Blogger. - The Superfish drop-down settings that went with the old menu script (
dropheight,dropwidth,dropopacity,dropspeed,dropdownhandler1maxwidth,megamenuwidth), thecolours_handlersnote, theFollowUsLabellabel and theHRboxspeedsetting. - Two demo-only templates,
horme_3andvmbeez3(VirtueMart's own demo templates, not part of Light Shop), no longer ship in the Quickstart; see below.
Security
- Output helpers added in
index.php, 305 helper calls across the template. Every template setting written into the page is escaped for where it lands:phEsc(): HTML text and attributes.phRichText(): the site-name and slogan fields, which may contain simple markup. Joomla's input filter keeps the markup but strips scripts, styles, iframes andon*event handlers.phHexColor(),phCssToken(),phCssNum(),phCssDim(),phCssFont(),phCssSelector(),phCssUrl(): colours, sizes, fonts, selectors and image URLs written into the page's CSS.phJsStr(),phJsLit(): values written into inline JavaScript.phFaviconSet(),phIcoBytes(): favicon output.
- Module titles, menu items and module settings are escaped in the module chromes
html/layouts/chromes/megamenu.php,slides.php,vmdefault.phpandvmtab.php, and inmod_menu(default.php,default_component.php,default_separator.php,default_url.php),mod_custom,mod_login,mod_searchandmod_virtuemart_cart.htmlspecialchars/ escape calls in the template: 2 → 33. - The social links open with
rel="noopener". - The error page escapes the error message it prints, and outside debug mode a message carrying server paths or a stack trace is replaced by Joomla's generic message.
html/com_virtuemart/cart/default_pricelist.phpandhtml/com_virtuemart/category/productsviewarray.phpcould be requested directly; they now stop unless Joomla loads them (defined('_JEXEC') or die), like the rest of the template._JEXECguards in the template: 36 → 40.
Quickstart Installer
The Quickstart is a complete Joomla 5.4.10 site with VirtueMart 4.8.6 and Light Shop pre-configured as the active template, installed with Joomla's own web installer. It replaces the previous Akeeba
.jpaarchive that was restored with Kickstart.- Bundled extensions: Akeeba Backup Core 10.5.0, Web Links 5.2.0, StageIt 5.9.2 and the Joomla en-GB language pack 5.4.10.1.
- The site
templates/folder holds onlycassiopeia,systemandlightshop. VirtueMart's demo templateshorme_3andvmbeez3are not included; both had error pages that returned a server error. - A Store Categories menu module is published at
cs-secondary, so the phone's second menu button opens the shop categories (Mobile Phones, Watches, Cameras, Clothing and their sub-categories). - Guests can use Ask a question on a product page without logging in first, and the demo's Contact Us and Special Offers menu links, which pointed nowhere, open their pages.
- The Smart Search index is built, so the site search returns results from the first visit.
- A clean starting state: article and product hit counters are zero, the action log is empty, and the post-installation messages are trimmed to Joomla's five new-site advisories.
Package format
- Standalone template: now a Joomla package,
pkg_lightshopversion 5.4.10 (pkg_lightshop-5.4.10.zip), that installs the Light Shop template and registers it in the package manager. The template declaresmethod="upgrade", so an existing Light Shop updates in place. The previous download was a plain template zip. - Quickstart bundle: a complete Joomla 5.4.10 install with VirtueMart 4.8.6 and Light Shop pre-loaded as the active template.
Earlier history and version numbering: the previous Joomla 5 download was dated 02.07.2025 with the version string5.3.0/4.4.4(Joomla 5.3.0, VirtueMart 4.4.4). From 5.4.10 the first three digits of the template version match the Joomla release it is built for; a later fix on the same Joomla release adds a fourth digit (5.4.10.1).Version 02.07.2025 5.3.0/4.4.4
- Updated - Template updated to be compatible with Joomla 5.3.0
- Updated - Template updated to be compatible with Virtuemart 4.4.4
Version 01.04.2023 4.2.8/4.0.12
- Fixed - Template updated to be compatible with Joomla 4.2