We’re rewarding the question askers & reputations are being recalculated! Read more.
6

There is simply no need to do this. As @Bakual has already said, your approach is bad practice. For starters, you are wrapping a function within a function unnecessarily when it's not required. You are then returning JFactory::getDocument()->countModules(...), meaning you are calling the JFactory class, then calling JDocument which has to check if it ...


5

Some links that might be of help: Template Considerations during Migration Converting previous Joomla templates Migrating a template from J1.5 to J3 StackOverflow - converting a J2.5 to J3 template and you can probably find a lot more resources if you do a web search.


4

The process of converting a Joomla 2.5 template into 3.4 is removing deprecated and removed functions. It's more difficult if the template has older legacy functions from Joomla 1.6, and 1.7. Here is a reference that could help https://techjoomla.com/developers-blogs/joomla-development/joomla-30-conversion-changes-needed-when-converting-a-common-...


3

The solution for this question is as follows: One needs to add a new file at the location below, to add a custom jdoc tag.. libraries/joomla/document/html/renderer/ File name should be same as the tag you are adding.. suppose one wants to use scripts as tag then file name should be scripts.php Now in this file one needs to add a code like below. As tag ...


2

I have figured it out, after some more tinkering: //Shorthand for countModules function function m($arguments) { return JFactory::getDocument()->countModules($arguments); }


2

I think I wanted to do something like this, i.e., extend Joomla class, using plugins. I decided not to pursue the idea but I did find the article "Extending Joomla! With Plugins" helpful. If it helps great. If not, Oh Well. Have fun!


2

Thought I'd expand on my comment. You're firstly going to need to add an install-uninstall-update script file to your component. Have a read of the Joomla Documentation on how to do this. Once you have implemented this, you're going to want to use the update function which will only execute this code when the user is updating the component. Inside this ...


2

I use StarAzure.com themes that are also based on Warp 7. I had the same issue and one of the following solved this for me - Thanks to a great support policy that StarAzure has. Make sure that your styles folder and the template folder has proper permissions - write permissions should be available because saving and/or adding a new style in the customizer ...


2

Page Builder: This allows you to build pages and each one can be different. For example, page specific modules, permissions, styling, and so on. Page builders focus more on the structure and content of the page. Template Framework: The template is the overall design of your site so it's more generic and will normally apply any changes you make globally. ...


2

The alerts derive from Bootstrap, therefore when developing a custom template, you need to make sure you include Bootstrap, and of course, jQuery. You can do so by adding the following lines to your template's index.php file: JHtml::_('jquery.framework'); JHtml::_('bootstrap.framework');


1

Simple answer. Don't bother. You'll spend a lot more time attempting that than either finding a similar looking Joomla 3 template and customising it or just creating a new one yourself. Joomla 3 templates are now designed as responsive and have left behind many deprecated functions from 2.5.


1

One way could be to use the jch_optimize plugin, that provides this kind of functionality: combine, compress, minimize javascript and css, set defer or async for javascript files that exist on a site. There are both a free and a commercial version and you can compare their features here: https://www.jch-optimize.net/downloads.html


1

It occurs to me that running two different versions of jQuery on the same site will give you a lot of headaches, and a lot of coding challenges unless you're a very experienced coder. A quick Google search revealed that it might be possible to use jQuery 1.7 with VM: If your template uses bootstrap.js then to solve a script error with VirtueMart's ...


1

The best way might be to write a plugin and use the right events: onExtensionAfterSave or onExtensionAfterSave The context would be "com_templates.style". Example: public function onExtensionAfterSave($context, &$templateTableStyle, $isNew = 0) { if(com_templates.style == 'com_templates_style') { // do your work ... } } Another ...


1

jdoc:include comes from the _parseTemplate() function, from the JDocumentHTML class, from the following file: libraries\joomla\document\html\html.php


Only top voted, non community-wiki answers of a minimum length are eligible