News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

layout import ID numbers

Started by shoulders, 18.01.2018 14:06:03

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shoulders

issue
when you import a new template it is added as a new template. This makes maintenance a little tricky.

solution
add an optional parameter to the xml of the layout which allows you to set an ID number and will then overwrite a selected existing layout already present. I would make it so that a system default template cannot be overwritten with this method.

thanks
  •  

ColinM

Hi,
Thanks for suggestion.  However if one did as suggested it might over write the wrong one!  This is not worth the risk in my view.
Personally I always change the names and in the more recent one I geneally setr it to include my own reference  either as say v<nN> or to include the word NEW.
Colin
Colin M
  •