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

Placeholders {system_title} {system_text} does not work

Started by romagromov, 12.11.2015 19:55:49

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

romagromov

Hi!
I trying to use placeholders {system_title} {system_text}
but they does nor work - nothing displays.

PS

It works, but first system OS does not displays

So I need to create list of OS with first empty item



 
Best free windows software for your PC at bestwinsoft.com
  •  

ColinM

Hi
Actually it does work OK.  As the note bottom says you have to be careful if you re-order the list.  This is because jD stores the index to the list, not the actual text.

The current default list, which incidentally could do with an update, is "- Select -, Joomla 1.0, Joomla 1.5, Windows, Linux, MacIntosh, See description"
So suppose you had previously set up a Download with system 'Windows' which is index 3 as the index values start at 0.
So if you remove the '- Select -,' and its comma then instead of showing 'Windows' as the system it will now show 'Linux' as it is now at index 3.  If you start the list with a comma the 'Windows' entry again becomes index entry 3 so all is well.  Actually the first entry on the list will now show a zero character.  JDownloads treats the value with index zero as a special case and leaves it when it is displayed, that is it does not matter what is the first entry as it will always be replaced with nothing in the views.

QuoteImportant notice: Be careful if you have already saved some Downloads with this list in one order and then you re-order it. This is because it uses the position in the list and every change is passed on to the Downloads. So for example those Downloads saved with system as Joomla 1.5, could become if you reordered with Windows Vista now in the position which was previously that of Joomla 1.5. So always add new values at the end of the list.

Colin
Colin M
  •  

romagromov

Ok, It's clear now.
First item should be "-Select-"  ;D
Thanks.
Best free windows software for your PC at bestwinsoft.com
  •