Restaurant Changelog
Version 5.4.10
First Joomla 5 native release. Restaurant has been rebuilt for Joomla 5.4.10 + VirtueMart 4.8.6 + PHP 8 + Bootstrap 5. The previous download (restaurant.zip, version string02.07.2025 5.3.0/4.4.4) was built for Joomla 5.3 and relied on Joomla's Behaviour - Backward Compatibility plugin; everything below is measured against it. Every Joomla 3 class call is gone (238), 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 VirtueMart overrides and 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 testimonial carousel and the page-size select box; the old jQuery 1.8 copy and 17 other legacy scripts are gone. Template files: 240 → 214, with 10 added, 36 removed and 50 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 (/media/vendor/bootstrap/css/bootstrap.min.css) in place of the template's own Bootstrap 2 sheets, ahead of the template's own stylesheets, sotemplate.cssstill wins the cascade.- New
css/bs2-bs5-bridge.css, linked after the template's stylesheets on every page with a file-time version marker. It lets Restaurant's Bootstrap 2 markup render correctly on Bootstrap 5:- Bootstrap 2 grid:
.row-fluid/.spanNwidths and gutters, nested spans and.offsetN, 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 and others) mapped to Font Awesome 6 glyphs.
- Restaurant's own rules (carried in the same file): the desktop header cells and controls, the phone burger colour, the phone side insets, the slideshow pagination dots, the shop's card tap targets and the stacked Hot Offer / Special Offer / Seasonal Products tabs on phones.
- Bootstrap 2 grid:
- New
js/cs-jq-compat.js: restores the jQuery 1.x calls (such as.live()) that Joomla 5's jQuery 3.7 removed but the bundledcamera.min.jsslideshow still uses. - New
js/cs-parallax.js: a dependency-free parallax script. It reads the samedata-stellar-*attributes the template's parallax options already print, so existing parallax settings work unchanged.jquery.stellar.min.js, which throws on jQuery 3, is no longer loaded.
New phone layout
- New
js/cs-mobile-generic.js. On phones (up to 767 px) a menu button in the header, filled in the template's orange with dark bars, opens the main menu as a slide-out panel, with submenus opening in place. The logo and the menu button sit 30 px from the screen edges. - A phone toolbar of six 44×44 px buttons in the template's orange: Section menu, Log in, Register, Search, Follow us (the social links) and Cart.
- Section menu opens the shop categories (Breakfast, Lunch, Dinner, New Offer, Sale, New Collection in the demo). 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 "0 products".
- Opening a phone panel (menu, search, account, cart, social links) and then tapping outside it closes it.
- 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. 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.
- Headings, the breadcrumb and the footer titles line up on the page text's 20 px edge, and the top and bottom module sections have the same side inset as the page.
- Add to Cart on touch screens: the round "+" on a product card only appeared on mouse hover, so touch users never saw it. On touch devices it is now always visible, sitting on the image's lower edge clear of the name and price on phones.
- The footer menus ("Informations", "About Shop") are no longer indented by Bootstrap 5's list padding on phones.
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 no Checkout before. - The "added to your cart" pop-up shows Continue Shopping and Show Cart as proper buttons that fit the box on phones.
- On desktop the cart's item count shows as a badge on the cart icon.
Login form
- 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_RESTAURANT_FAVICON_*,TPL_RESTAURANT_FAVICONTOOL_*). The language file goes from 74 to 84 strings.
Logo and slogan link to the home page
- The slogan under the logo now links to the home page, like the logo (
index.php, classcs-slogan-link). It follows the existing logo link setting: switch that off and neither is linked. The link keeps the slogan's colour and has no underline, so nothing changes in how it looks.
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, all drawn with Font Awesome 6 icons.
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. - 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.
Changed
Joomla 5 platform
- Built for Joomla 5.4.10 and VirtueMart 4.8.6 (previous download: Joomla 5.3 with 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 date28/06/2017→2026-11-06.method="upgrade"is kept, so an existing install updates in place.- The site name / logo links to the home page by default:
logoLinkednow defaults to on, and the built-in slideshow is on by default with autoplay on desktop and phones (cam_turnOn,cam_autoAdvance,cam_mobileAutoAdvance). A fresh install showed all four off. Existing sites keep their saved settings.
J3 → J5 API migration
- 238 Joomla 3 static class calls → 0. Each moved to its namespaced Joomla 4+ form (
JText→Text,JRoute→Route,JHtml→HTMLHelper,JFactory→Factory,JURI→Uri, and the module, plugin and component helpers). - Heaviest files:
index.php(37),html/mod_login/default.php(20),html/com_virtuemart/user/login.php(19),html/mod_virtuemart_product/slick-slider.php(13),html/mod_virtuemart_product/single.php(13),html/com_virtuemart/productdetails/default.php(16),html/mod_virtuemart_product/default.php(11). - Every VirtueMart override folder was converted:
askquestion,cart,category,productdetails,sublayouts,userandvirtuemart, plusmod_virtuemart_cart,_category,_currencies,_manufacturer,_product,mod_login,mod_menuandmod_search. In total 42 of the 49 PHP overrides changed. html/mod_search/default.phpnow reads$moduleclass_sfxfrom the module's own parameters instead of a Joomla 3 variable, andhtml/com_virtuemart/productdetails/default_images.phpno longer uses an undefined$templatevariable.
Template options (administrator)
- 106 field type changes in
templateDetails.xml:- 86 on/off settings: every legacy
class="switch" type="checkbox"that remains is now Joomla 5'sradioswitcher (for examplelogoLinked,cam_turnOn,cam_autoAdvance,RSSON). The template has no legacy checkboxes left. - 20 colour settings:
type="color"→type="colorpicker"with a live swatch.
- 86 on/off settings: every legacy
- Template options: 355 → 353 fields, 15 → 16 tabs (the new Favicon tab).
Icons and fonts
- Front end: Font Awesome 4.7.0 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 bitmap icon on the Add to Cart button became a Font Awesome 6 icon in the same colour.
- Google Fonts load through a stylesheet
<link>withdisplay=swap. TheWebFontConfigJavaScript loader, which fetchedwebfont.jsfromajax.googleapis.com(inindex.phpandcomponent.php), is gone.
Menus and backgrounds
- The hover drop-down menus are driven by CSS (with a small hover helper in the phone script) instead of the Superfish / Supersubs jQuery plug-ins. The drop-down no longer closes while the pointer moves from the heading down to it, and the mega menu stays open as the pointer moves into it.
- The background image set in the template options is sized with CSS instead of
jQuery.backstretch().
Shop and forms
- The registration and account address forms no longer draw a line between every row.
- The Ask a question pop-up fits its window, with the labels on one line.
- On the article categories page, the + button that opens the subcategories lines up with the category title.
js/jquery-ui.min.js: the cut-down jQuery UI 1.12.1 (34,681 bytes, effects only) is replaced by VirtueMart's full jQuery UI 1.13.2 build (229,369 bytes). The cut-down copy shadowed VirtueMart's own and left it without autocomplete; the full build keeps the off-canvas animation the template loads it for.
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; the same modal call inhtml/mod_virtuemart_product/slick-slider.phpis removed too. With thanks to Zoltán Szász, whose follow-up report led to theformvalidationfix across our templates. - Error pages:
error.phpusedJErrorandJText. 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, a real 404 status, and fit a phone screen. - 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 answers with the proper 404 page instead of a 500.
Shop
- Add to Cart: the template's cart form (
html/com_virtuemart/sublayouts/addtocart.php) was missing the security token VirtueMart requires. Without it the cart request is answered with a redirect instead of a result, so the button showed a spinner that never resolved and the item was never added. That one form serves every Add to Cart button (product page, category listing, product modules, featured products), so all of them are fixed. The unusedproductdetails/default_addtocart.php, which carried its own token-less copy, is removed. - Category pages: a category with no image printed a background-image style pointing at
.../category/.jpg, a 404 on every such page. The style is now printed only when the category has an image file, and its URL is escaped. - Cart page: the shipping and payment choices' round buttons lined up 3 to 4 px above their labels. They now sit on the label's middle line, with the same 10 px gap.
Page layout
- Side-by-side positions: the page chose between one and two columns with
countModules('position-4 && position-3')andcountModules('footer-left && footer-right')(4 places inindex.php), a Joomla 3 expression that Joomla 4 and later read as a single position name, so it always chose one column and the two sides stacked full width. Each position is now checked on its own, so they sit side by side. - Product tiles on phones: tapping a product title opens the product; an invisible button on the card (
.popout-price) no longer catches the tap. - An empty all-products
<h1></h1>on the shop front page is hidden.
Maintenance pass
- The
@font-faceincss/template.csspointing at Joomla 3'smedia/jui/fonts/IcoMoon font, which Joomla 4 removed, is disabled (four 404s per page load, and a stray glyph where an icon-font icon was used). - 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 were clipped to their title. They now show in full.
- Search button: the global button margin pulled the search button away from its box. The search button now has
margin:0. - With thanks to Michael Mullan, whose Expression bug report led to this maintenance pass across our templates.
Removed
Files removed
- 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) and Bootstrap 2'sjs/bootstrap.min.js. Joomla 5's Bootstrap 5 and the compatibility stylesheet take their place. - 17 more JavaScript files (
js/30 → 16 files, counting the 4 new ones):jquery-1.8.1.min.js,jquery.noConflict.js,superfish.js,supersubs.js,jquery.backstretch.min.js,jquery.mobile.customized.min.js,jquery.stellar.min.js,dropkick.js,jquery.dropkick-1.0.0.js,jquery.nicescroll.min.js,selectnav.min.js,jquery.equalHeights.js,easypaginate.js,imgSizer.js,flexibility.js,modernizr.jsandselectivizr-min.js, plus thejs.ziparchive of the scripts. - The old Internet Explorer stylesheets
css/ie.cssandcss/ie6.css. - K2 leftovers (Restaurant does not use K2):
css/k2.css,css/k2.print.cssand thehtml/mod_k2_content/override (3 files). 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.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), plusdropdownhandler1maxwidth,megamenuwidth,testimonialswidth,HRboxspeedand thecolours_handlersnote. Template options: 17 fields removed, 15 added.
Security
- Output helpers added in
index.php, 311 references across the template. Every template setting written into the page is escaped for where it lands:phEsc(): HTML text and attributes.phRichText(): fields that 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.
- Raw
echo $this->params->get(…)lines inindex.php: 116 → 2, the Header and Footer Custom Code fields, which are administrator-only by design. - Module titles, menu items and module settings are escaped in the module chromes
megamenu.php,parallax.php,slides.php,testimonial.php,vmdefault.php,vmdefaultlogin.phpandvmtab.php, and inmod_custom,mod_login,mod_menu(default.php,default_component.php,default_separator.php,default_url.php),mod_searchandmod_virtuemart_cart.htmlspecialchars/ escape calls in the template: 6 → 47. - The social links open with
rel="noopener". 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.- The error page escapes the error message it prints and casts the error code to a number.
Quickstart Installer
The Quickstart is a complete Joomla 5.4.10 site with VirtueMart 4.8.6 and its demo products, with Restaurant pre-configured as the active template, installed with Joomla's own web installer. It replaces the Akeeba
.jpaarchive and Kickstart restore of the previous download.- Bundled extensions: Akeeba Backup Core 10.5.0, StageIt 5.9.2, Web Links 5.2.0 and the en-GB language pack 5.4.10.1.
- VirtueMart's demo templates
horme_3,vmadmin,vmbasicandvmbeez3are not included;horme_3andvmbeez3had error pages that returned a server error. - A categories menu module is published at
cs-secondary, so the phone's second menu button opens the shop 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 (166 links), so the site search returns results from the first visit.
- A clean starting state: the action log is empty, article and product hit counters are zero, and the post-installation messages are trimmed to Joomla's five new-site advisories.
Package format
- Standalone template: now a Joomla package,
pkg_restaurant-5.4.10.zip(pkg_restaurant.xml), that installs the Restaurant template and registers it in the package manager. It declaresmethod="upgrade", so an existing Restaurant updates in place, and<blockChildUninstall>true</blockChildUninstall>, so the template is removed through the package rather than on its own. The previous download was a plain template zip. - Quickstart bundle:
restaurant-quickstart-J5.4.10.zip, a complete Joomla 5.4.10 install with VirtueMart 4.8.6 and Restaurant 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. 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
- Update - Template updated to Joomla 5.3.0
- Compatible with Virtuemart Version 4.4.4
- Minor Bugs fixed
Version 27.06.2024 5.1.1/4.2.12
- Update - Template updated to Joomla 5
- Compatible with Virtuemart pre-release Version 4.2.12
- Minor Bugs fixed
Version 09.02.2024 5.0.2/4.2.6
- Update - Template updated to Joomla 5
- Compatible with Virtuemart pre-release Version 4.2.6
- Please Note: VirtueMart 4.2.4,is not compatible with the Joomla 5,
therefore no Joomla 5 Quickstart until VirtueMart Version 4.2.6 is publicly released.
Version 01.04.2023 4.2.8/4.0.12
- Fixed - Template updated to be compatible with Joomla 4.2