fix viste
This commit is contained in:
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/2861";s:4:"name";s:9:"direttore";s:8:"headline";s:9:"direttore";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3126";s:4:"name";s:5:"Canto";s:8:"headline";s:5:"Canto";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3769";s:4:"name";s:54:"Informativa privacy sul trattamento dei dati personali";s:8:"headline";s:54:"Informativa privacy sul trattamento dei dati personali";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Privacy";s:11:"dateCreated";s:25:"2018-10-13T07:54:51+00:00";s:12:"dateModified";s:25:"2020-12-18T12:02:40+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/1392";s:4:"name";s:9:"Didattica";s:8:"headline";s:9:"Didattica";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4895";s:4:"name";s:5:"Canto";s:8:"headline";s:5:"Canto";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/110";s:4:"name";s:11:"Provvisorio";s:8:"headline";s:11:"Provvisorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/18";s:4:"name";s:12:"Informazioni";s:8:"headline";s:12:"Informazioni";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-11-15T10:37:18+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/28";s:4:"name";s:25:"Sostieni il Conservatorio";s:8:"headline";s:25:"Sostieni il Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/110";s:4:"name";s:11:"Provvisorio";s:8:"headline";s:11:"Provvisorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/7069";s:4:"name";s:15:"Open Night 2024";s:8:"headline";s:15:"Open Night 2024";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Notizie";s:11:"dateCreated";s:25:"2024-06-17T20:01:51+00:00";s:12:"dateModified";s:25:"2024-06-18T19:16:59+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3088";s:4:"name";s:23:"Data Protection Officer";s:8:"headline";s:23:"Data Protection Officer";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/26";s:4:"name";s:7:"La Sede";s:8:"headline";s:7:"La Sede";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5364";s:4:"name";s:45:"Sospensione delle attività del Conservatorio";s:8:"headline";s:45:"Sospensione delle attività del Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Notizie";s:11:"dateCreated";s:25:"2020-03-01T19:00:14+00:00";s:12:"dateModified";s:25:"2020-03-01T20:39:34+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4825";s:4:"name";s:15:"Organo - DCSL38";s:8:"headline";s:15:"Organo - DCSL38";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/27";s:4:"name";s:22:"La Citta' della Musica";s:8:"headline";s:22:"La Citta' della Musica";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4882";s:4:"name";s:52:"Teoria, ritmica e percezione musicale (TRPM) - nuovo";s:8:"headline";s:52:"Teoria, ritmica e percezione musicale (TRPM) - nuovo";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/27";s:4:"name";s:22:"La Citta' della Musica";s:8:"headline";s:22:"La Citta' della Musica";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4104";s:4:"name";s:19:"Clarinetto - DCPL11";s:8:"headline";s:19:"Clarinetto - DCPL11";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/7069";s:4:"name";s:15:"Open Night 2024";s:8:"headline";s:15:"Open Night 2024";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Notizie";s:11:"dateCreated";s:25:"2024-06-17T20:01:51+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4654";s:4:"name";s:76:"Regole trattamento dati personali ed istruzioni operative per il trattamento";s:8:"headline";s:76:"Regole trattamento dati personali ed istruzioni operative per il trattamento";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2019-07-15T10:12:18+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/6531";s:4:"name";s:6:"AVVISO";s:8:"headline";s:6:"AVVISO";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Notizie";s:11:"dateCreated";s:25:"2023-05-11T11:04:03+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/25";s:4:"name";s:20:"Storia dell'Istituto";s:8:"headline";s:20:"Storia dell'Istituto";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:8:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/5888";s:4:"name";s:64:"Concorso di Esecuzione Musicale "Tomadini Young": III° edizione";s:8:"headline";s:64:"Concorso di Esecuzione Musicale "Tomadini Young": III° edizione";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:7:"Notizie";s:11:"dateCreated";s:25:"2021-06-17T16:25:52+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:9:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4057";s:4:"name";s:184:"Avviso di selezione rivolto ad allievi e tirocinanti del Conservatorio Tomadini di Udine per il progetto n. 2 a.a.17/18: “Concerti sinfonico vocali in collaborazione con l’Usci” ";s:8:"headline";s:184:"Avviso di selezione rivolto ad allievi e tirocinanti del Conservatorio Tomadini di Udine per il progetto n. 2 a.a.17/18: “Concerti sinfonico vocali in collaborazione con l’Usci” ";s:10:"inLanguage";s:5:"it-IT";s:14:"articleSection";s:9:"Selezioni";s:11:"dateCreated";s:25:"2018-11-02T12:06:00+00:00";s:12:"dateModified";s:25:"2018-11-07T08:10:26+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/26";s:4:"name";s:7:"La Sede";s:8:"headline";s:7:"La Sede";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:7:{s:5:"@type";s:7:"Article";s:3:"@id";s:67:"https://conservatorio2025.ddev.site/#/schema/com_content/article/18";s:4:"name";s:12:"Informazioni";s:8:"headline";s:12:"Informazioni";s:10:"inLanguage";s:5:"it-IT";s:12:"dateModified";s:25:"2024-11-15T10:37:18+00:00";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/290";s:4:"name";s:24:"Organi del Conservatorio";s:8:"headline";s:24:"Organi del Conservatorio";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/298";s:4:"name";s:3:"RSU";s:8:"headline";s:3:"RSU";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/4867";s:4:"name";s:4:"Arpa";s:8:"headline";s:4:"Arpa";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:69:"https://conservatorio2025.ddev.site/#/schema/com_content/article/3058";s:4:"name";s:9:"Chi siamo";s:8:"headline";s:9:"Chi siamo";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/109";s:4:"name";s:12:"Organigramma";s:8:"headline";s:12:"Organigramma";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -0,0 +1 @@
|
||||
<?php die("Access Denied"); ?>#x#a:2:{s:6:"result";a:1:{i:0;a:6:{s:5:"@type";s:7:"Article";s:3:"@id";s:68:"https://conservatorio2025.ddev.site/#/schema/com_content/article/111";s:4:"name";s:10:"Biblioteca";s:8:"headline";s:10:"Biblioteca";s:10:"inLanguage";s:5:"it-IT";s:8:"isPartOf";a:1:{s:3:"@id";s:57:"https://conservatorio2025.ddev.site/#/schema/WebPage/base";}}}s:6:"output";s:0:"";}
|
||||
@ -15209,3 +15209,233 @@ Content-Transfer-Encoding: 8bit
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-06T18:57:36+00:00 INFO 172.28.0.6 controller Releasing edit ID com_fields.edit.field.769 Array ( )
|
||||
2025-01-07T07:29:35+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T07:29:35+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T07:29:43+00:00 INFO 172.21.0.6 updater Loading information from update site #3 with name "Accredited Joomla! Translations" and URL https://update.joomla.org/language/translationlist_5.xml took 0.12 seconds
|
||||
2025-01-07T07:29:43+00:00 INFO 172.21.0.6 updater Loading information from update site #4 with name "Joomla! Update Component" and URL https://update.joomla.org/core/extensions/com_joomlaupdate.xml took 0.10 seconds
|
||||
2025-01-07T07:29:44+00:00 INFO 172.21.0.6 updater Loading information from update site #216 with name "Regular Labs - Conditional Content" and URL https://download.regularlabs.com/updates.xml?e=conditionalcontent&type=.xml took 0.30 seconds
|
||||
2025-01-07T07:29:44+00:00 INFO 172.21.0.6 updater Loading information from update site #220 with name "Regular Labs - Articles" and URL https://download.regularlabs.com/updates.xml?e=articlesfield&type=.xml took 0.25 seconds
|
||||
2025-01-07T07:29:44+00:00 INFO 172.21.0.6 updater Loading information from update site #223 with name "COM_PHOCADOWNLOAD" and URL https://raw.githubusercontent.com/PhocaCz/PhocaDownload/master/manifest.xml took 0.09 seconds
|
||||
2025-01-07T07:29:44+00:00 INFO 172.21.0.6 updater Loading information from update site #224 with name "COM_PHOCAGALLERY" and URL https://raw.githubusercontent.com/PhocaCz/PhocaGallery/master/manifest.xml took 0.23 seconds
|
||||
2025-01-07T07:29:45+00:00 INFO 172.21.0.6 updater Loading information from update site #226 with name "Tabulizer.com" and URL http://www.tabulizer.com/update/tabulizer-update.xml took 0.27 seconds
|
||||
2025-01-07T07:29:45+00:00 INFO 172.21.0.6 updater Loading information from update site #233 with name "Akeeba FEF" and URL http://cdn.akeebabackup.com/updates/fef.xml took 0.07 seconds
|
||||
2025-01-07T07:29:45+00:00 INFO 172.21.0.6 updater Loading information from update site #238 with name "FOF 3.x" and URL http://cdn.akeebabackup.com/updates/fof3.xml took 0.05 seconds
|
||||
2025-01-07T07:29:45+00:00 INFO 172.21.0.6 updater Loading information from update site #242 with name "JEM Update Site" and URL http://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.13 seconds
|
||||
2025-01-07T07:29:45+00:00 INFO 172.21.0.6 updater Loading information from update site #243 with name "JL Content Fields Filter" and URL https://joomline.net/update.html?extension_id=5.xml took 0.55 seconds
|
||||
2025-01-07T07:29:45+00:00 INFO 172.21.0.6 updater Loading information from update site #285 with name "Akeeba FEF" and URL http://cdn.akeeba.com/updates/fef.xml took 0.06 seconds
|
||||
2025-01-07T07:29:46+00:00 INFO 172.21.0.6 updater Loading information from update site #313 with name "Regular Labs Library" and URL https://download.regularlabs.com/updates.xml?e=library&type=.xml took 0.16 seconds
|
||||
2025-01-07T07:29:46+00:00 INFO 172.21.0.6 updater Loading information from update site #347 with name "COM_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMaps/master/manifest.xml took 0.08 seconds
|
||||
2025-01-07T07:29:46+00:00 INFO 172.21.0.6 updater Loading information from update site #348 with name "PLG_CONTENT_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMapsPlugin/master/manifest.xml took 0.22 seconds
|
||||
2025-01-07T07:29:46+00:00 INFO 172.21.0.6 updater Loading information from update site #398 with name "plg_captcha_hcaptcha" and URL https://data2site.com/updates/hcaptcha took 0.30 seconds
|
||||
2025-01-07T07:29:47+00:00 INFO 172.21.0.6 updater Loading information from update site #404 with name "OSMap Free" and URL https://deploy.ostraining.com/client/update/free/stable/com_osmap took 0.32 seconds
|
||||
2025-01-07T07:29:47+00:00 INFO 172.21.0.6 updater Loading information from update site #406 with name "Joomlashack Extension Support" and URL https://deploy.ostraining.com/client/update/free/stable/plg_system_osmylicensesmanager took 0.31 seconds
|
||||
2025-01-07T07:29:47+00:00 INFO 172.21.0.6 updater Loading information from update site #407 with name "Joomlashack Framework" and URL https://deploy.ostraining.com/client/update/free/stable/lib_allediaframework took 0.32 seconds
|
||||
2025-01-07T07:29:47+00:00 INFO 172.21.0.6 updater Loading information from update site #408 with name "Search Update Site" and URL https://raw.githubusercontent.com/joomla-extensions/search/main/manifest.xml took 0.10 seconds
|
||||
2025-01-07T07:29:48+00:00 INFO 172.21.0.6 updater Loading information from update site #409 with name "Regular Labs - Conditions" and URL https://download.regularlabs.com/updates.xml?e=conditions&type=.xml took 0.20 seconds
|
||||
2025-01-07T07:29:48+00:00 INFO 172.21.0.6 updater Loading information from update site #410 with name "JEM Update Site" and URL https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.17 seconds
|
||||
2025-01-07T07:29:48+00:00 INFO 172.21.0.6 updater Loading information from update site #411 with name "Multilanguages CK Update" and URL https://update.joomlack.fr/multilanguagesck_light_update.xml took 0.47 seconds
|
||||
2025-01-07T07:29:48+00:00 INFO 172.21.0.6 updater Loading information from update site #413 with name "Advanced Custom Fields" and URL https://www.tassos.gr/updates/advanced-custom-fields-pro.xml took 0.21 seconds
|
||||
2025-01-07T07:29:49+00:00 INFO 172.21.0.6 updater Loading information from update site #418 with name "com_highlights" and URL https://www.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.63 seconds
|
||||
2025-01-07T07:29:50+00:00 INFO 172.21.0.6 updater Loading information from update site #419 with name "com_highlights" and URL https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.48 seconds
|
||||
2025-01-07T07:43:03+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T07:43:07+00:00 INFO 172.21.0.6 task4 Esecuzione attività#04 'Delete Action Logs'.
|
||||
2025-01-07T07:43:07+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs after 15 days
|
||||
2025-01-07T07:43:07+00:00 INFO 172.21.0.6 task4 Attività> Delete Logs end
|
||||
2025-01-07T07:43:07+00:00 INFO 172.21.0.6 task4 Attività terminata con successo#04 in 0.01 (rete 0.01) secondi.
|
||||
2025-01-07T07:48:09+00:00 INFO 172.21.0.6 task2 Esecuzione attività#02 'Session GC'.
|
||||
2025-01-07T07:48:09+00:00 INFO 172.21.0.6 task2 Attività> SessionGC end
|
||||
2025-01-07T07:48:09+00:00 INFO 172.21.0.6 task2 Attività terminata con successo#02 in 0.01 (rete 0.01) secondi.
|
||||
2025-01-07T07:49:20+00:00 INFO 172.21.0.6 task3 Esecuzione attività#03 'Update Notification'.
|
||||
2025-01-07T07:49:20+00:00 INFO 172.21.0.6 task3 Attività terminata con successo#03 in 0.38 (rete 0.38) secondi.
|
||||
2025-01-07T07:49:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T07:50:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T07:51:41+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T07:59:13+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-07T08:00:02+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T08:00:47+00:00 INFO 172.21.0.6 controller Holding edit ID com_highlights.edit.highlight.4 Array ( [0] => 4 )
|
||||
2025-01-07T08:00:52+00:00 INFO 172.21.0.6 controller Releasing edit ID com_highlights.edit.highlight.4 Array ( )
|
||||
2025-01-07T08:24:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:25:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:25:25+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type mysqli_sql_exception thrown with message "Unknown column 'root' in 'where clause'". Stack trace: #0 [ROOT]/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php(138): mysqli->prepare('SELECT `title`,...')
|
||||
#1 [ROOT]/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php(1020): Joomla\Database\Mysqli\MysqliStatement->__construct(Object(mysqli), 'SELECT `title`,...')
|
||||
#2 [ROOT]/libraries/vendor/joomla/database/src/DatabaseDriver.php(1785): Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `title`,...')
|
||||
#3 [ROOT]/templates/joomla-italia-theme/html/com_content/category/novita.php(197): Joomla\Database\DatabaseDriver->setQuery(Object(Joomla\Database\Mysqli\MysqliQuery))
|
||||
#4 [ROOT]/libraries/src/MVC/View/HtmlView.php(416): include('[ROOT]/t...')
|
||||
#5 [ROOT]/libraries/src/MVC/View/HtmlView.php(204): Joomla\CMS\MVC\View\HtmlView->loadTemplate(NULL)
|
||||
#6 [ROOT]/libraries/src/MVC/View/CategoryView.php(271): Joomla\CMS\MVC\View\HtmlView->display(NULL)
|
||||
#7 [ROOT]/components/com_content/src/View/Category/HtmlView.php(182): Joomla\CMS\MVC\View\CategoryView->display(NULL)
|
||||
#8 [ROOT]/libraries/src/MVC/Controller/BaseController.php(697): Joomla\Component\Content\Site\View\Category\HtmlView->display()
|
||||
#9 [ROOT]/components/com_content/src/Controller/DisplayController.php(122): Joomla\CMS\MVC\Controller\BaseController->display(true, Array)
|
||||
#10 [ROOT]/libraries/src/MVC/Controller/BaseController.php(730): Joomla\Component\Content\Site\Controller\DisplayController->display()
|
||||
#11 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('display')
|
||||
#12 [ROOT]/components/com_content/src/Dispatcher/Dispatcher.php(56): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
|
||||
#13 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
|
||||
#14 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
|
||||
#15 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
|
||||
#16 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#17 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#18 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#19 {main}
|
||||
2025-01-07T08:25:25+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Pagina non trovata". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(754): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(244): Joomla\CMS\Application\SiteApplication->route()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-07T08:25:29+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type mysqli_sql_exception thrown with message "Unknown column 'root' in 'where clause'". Stack trace: #0 [ROOT]/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php(138): mysqli->prepare('SELECT `title`,...')
|
||||
#1 [ROOT]/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php(1020): Joomla\Database\Mysqli\MysqliStatement->__construct(Object(mysqli), 'SELECT `title`,...')
|
||||
#2 [ROOT]/libraries/vendor/joomla/database/src/DatabaseDriver.php(1785): Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `title`,...')
|
||||
#3 [ROOT]/templates/joomla-italia-theme/html/com_content/category/novita.php(197): Joomla\Database\DatabaseDriver->setQuery(Object(Joomla\Database\Mysqli\MysqliQuery))
|
||||
#4 [ROOT]/libraries/src/MVC/View/HtmlView.php(416): include('[ROOT]/t...')
|
||||
#5 [ROOT]/libraries/src/MVC/View/HtmlView.php(204): Joomla\CMS\MVC\View\HtmlView->loadTemplate(NULL)
|
||||
#6 [ROOT]/libraries/src/MVC/View/CategoryView.php(271): Joomla\CMS\MVC\View\HtmlView->display(NULL)
|
||||
#7 [ROOT]/components/com_content/src/View/Category/HtmlView.php(182): Joomla\CMS\MVC\View\CategoryView->display(NULL)
|
||||
#8 [ROOT]/libraries/src/MVC/Controller/BaseController.php(697): Joomla\Component\Content\Site\View\Category\HtmlView->display()
|
||||
#9 [ROOT]/components/com_content/src/Controller/DisplayController.php(122): Joomla\CMS\MVC\Controller\BaseController->display(true, Array)
|
||||
#10 [ROOT]/libraries/src/MVC/Controller/BaseController.php(730): Joomla\Component\Content\Site\Controller\DisplayController->display()
|
||||
#11 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('display')
|
||||
#12 [ROOT]/components/com_content/src/Dispatcher/Dispatcher.php(56): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
|
||||
#13 [ROOT]/libraries/src/Component/ComponentHelper.php(361): Joomla\Component\Content\Site\Dispatcher\Dispatcher->dispatch()
|
||||
#14 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
|
||||
#15 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
|
||||
#16 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#17 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#18 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#19 {main}
|
||||
2025-01-07T08:26:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T08:38:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:46:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T08:46:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:46:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T11:23:10+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T11:23:10+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T11:23:26+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T11:27:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T11:28:06+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T11:29:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2025-01-07T11:29:44+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2025-01-07T11:29:58+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2025-01-07T11:29:58+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2025-01-07T14:58:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_fields.edit.field.769 Array ( )
|
||||
2025-01-07T15:20:24+00:00 INFO 172.21.0.6 updater Loading information from update site #3 with name "Accredited Joomla! Translations" and URL https://update.joomla.org/language/translationlist_5.xml took 0.10 seconds
|
||||
2025-01-07T15:20:24+00:00 INFO 172.21.0.6 updater Loading information from update site #4 with name "Joomla! Update Component" and URL https://update.joomla.org/core/extensions/com_joomlaupdate.xml took 0.10 seconds
|
||||
2025-01-07T15:20:25+00:00 INFO 172.21.0.6 updater Loading information from update site #216 with name "Regular Labs - Conditional Content" and URL https://download.regularlabs.com/updates.xml?e=conditionalcontent&type=.xml took 0.37 seconds
|
||||
2025-01-07T15:20:25+00:00 INFO 172.21.0.6 updater Loading information from update site #220 with name "Regular Labs - Articles" and URL https://download.regularlabs.com/updates.xml?e=articlesfield&type=.xml took 0.22 seconds
|
||||
2025-01-07T15:20:25+00:00 INFO 172.21.0.6 updater Loading information from update site #223 with name "COM_PHOCADOWNLOAD" and URL https://raw.githubusercontent.com/PhocaCz/PhocaDownload/master/manifest.xml took 0.25 seconds
|
||||
2025-01-07T15:20:25+00:00 INFO 172.21.0.6 updater Loading information from update site #224 with name "COM_PHOCAGALLERY" and URL https://raw.githubusercontent.com/PhocaCz/PhocaGallery/master/manifest.xml took 0.28 seconds
|
||||
2025-01-07T15:20:26+00:00 INFO 172.21.0.6 updater Loading information from update site #226 with name "Tabulizer.com" and URL http://www.tabulizer.com/update/tabulizer-update.xml took 0.37 seconds
|
||||
2025-01-07T15:20:26+00:00 INFO 172.21.0.6 updater Loading information from update site #233 with name "Akeeba FEF" and URL http://cdn.akeebabackup.com/updates/fef.xml took 0.06 seconds
|
||||
2025-01-07T15:20:26+00:00 INFO 172.21.0.6 updater Loading information from update site #238 with name "FOF 3.x" and URL http://cdn.akeebabackup.com/updates/fof3.xml took 0.05 seconds
|
||||
2025-01-07T15:20:27+00:00 INFO 172.21.0.6 updater Loading information from update site #242 with name "JEM Update Site" and URL http://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 1.15 seconds
|
||||
2025-01-07T15:20:28+00:00 INFO 172.21.0.6 updater Loading information from update site #243 with name "JL Content Fields Filter" and URL https://joomline.net/update.html?extension_id=5.xml took 0.52 seconds
|
||||
2025-01-07T15:20:28+00:00 INFO 172.21.0.6 updater Loading information from update site #285 with name "Akeeba FEF" and URL http://cdn.akeeba.com/updates/fef.xml took 0.07 seconds
|
||||
2025-01-07T15:20:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T15:20:28+00:00 INFO 172.21.0.6 updater Loading information from update site #313 with name "Regular Labs Library" and URL https://download.regularlabs.com/updates.xml?e=library&type=.xml took 0.21 seconds
|
||||
2025-01-07T15:20:28+00:00 INFO 172.21.0.6 updater Loading information from update site #347 with name "COM_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMaps/master/manifest.xml took 0.26 seconds
|
||||
2025-01-07T15:20:29+00:00 INFO 172.21.0.6 updater Loading information from update site #348 with name "PLG_CONTENT_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMapsPlugin/master/manifest.xml took 0.24 seconds
|
||||
2025-01-07T15:20:29+00:00 INFO 172.21.0.6 updater Loading information from update site #398 with name "plg_captcha_hcaptcha" and URL https://data2site.com/updates/hcaptcha took 0.34 seconds
|
||||
2025-01-07T15:20:29+00:00 INFO 172.21.0.6 updater Loading information from update site #404 with name "OSMap Free" and URL https://deploy.ostraining.com/client/update/free/stable/com_osmap took 0.36 seconds
|
||||
2025-01-07T15:20:30+00:00 INFO 172.21.0.6 updater Loading information from update site #406 with name "Joomlashack Extension Support" and URL https://deploy.ostraining.com/client/update/free/stable/plg_system_osmylicensesmanager took 0.29 seconds
|
||||
2025-01-07T15:20:30+00:00 INFO 172.21.0.6 updater Loading information from update site #407 with name "Joomlashack Framework" and URL https://deploy.ostraining.com/client/update/free/stable/lib_allediaframework took 0.30 seconds
|
||||
2025-01-07T15:20:30+00:00 INFO 172.21.0.6 updater Loading information from update site #408 with name "Search Update Site" and URL https://raw.githubusercontent.com/joomla-extensions/search/main/manifest.xml took 0.11 seconds
|
||||
2025-01-07T15:20:30+00:00 INFO 172.21.0.6 updater Loading information from update site #409 with name "Regular Labs - Conditions" and URL https://download.regularlabs.com/updates.xml?e=conditions&type=.xml took 0.35 seconds
|
||||
2025-01-07T15:20:31+00:00 INFO 172.21.0.6 updater Loading information from update site #410 with name "JEM Update Site" and URL https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.24 seconds
|
||||
2025-01-07T15:20:33+00:00 INFO 172.21.0.6 updater Loading information from update site #411 with name "Multilanguages CK Update" and URL https://update.joomlack.fr/multilanguagesck_light_update.xml took 1.91 seconds
|
||||
2025-01-07T15:20:33+00:00 INFO 172.21.0.6 updater Loading information from update site #413 with name "Advanced Custom Fields" and URL https://www.tassos.gr/updates/advanced-custom-fields-pro.xml took 0.11 seconds
|
||||
2025-01-07T15:20:33+00:00 INFO 172.21.0.6 updater Loading information from update site #418 with name "com_highlights" and URL https://www.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.75 seconds
|
||||
2025-01-07T15:20:34+00:00 INFO 172.21.0.6 updater Loading information from update site #419 with name "com_highlights" and URL https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.37 seconds
|
||||
2025-01-07T15:20:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T15:25:23+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T16:24:18+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T16:24:18+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T16:24:31+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2136 Array ( [0] => 2136 )
|
||||
2025-01-07T16:24:41+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2136 Array ( )
|
||||
2025-01-07T16:25:27+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2137 Array ( [0] => 2137 )
|
||||
2025-01-07T16:25:50+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2137 Array ( )
|
||||
2025-01-07T16:28:08+00:00 DEBUG 172.21.0.6 jem forced: 0, now: 1736267288, last update: 1736152262, running update: 0, delay: 1200, tz-offset: 0
|
||||
2025-01-07T16:28:08+00:00 DEBUG 172.21.0.6 jem do cleanup...
|
||||
2025-01-07T16:28:08+00:00 DEBUG 172.21.0.6 jem finished.
|
||||
2025-01-07T16:45:04+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type mysqli_sql_exception thrown with message "Table 'db.zfgey70wb_session' doesn't exist". Stack trace: #0 [ROOT]/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php(138): mysqli->prepare('SELECT `session...')
|
||||
#1 [ROOT]/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php(1020): Joomla\Database\Mysqli\MysqliStatement->__construct(Object(mysqli), 'SELECT `session...')
|
||||
#2 [ROOT]/libraries/vendor/joomla/database/src/DatabaseDriver.php(1785): Joomla\Database\Mysqli\MysqliDriver->prepareStatement('SELECT `session...')
|
||||
#3 [ROOT]/libraries/src/Session/MetadataManager.php(184): Joomla\Database\DatabaseDriver->setQuery(Object(Joomla\Database\Mysqli\MysqliQuery))
|
||||
#4 [ROOT]/libraries/src/Session/MetadataManager.php(125): Joomla\CMS\Session\MetadataManager->checkSessionRecordExists('a44d57bdda0c9fa...')
|
||||
#5 [ROOT]/libraries/src/Session/EventListener/MetadataManagerListener.php(80): Joomla\CMS\Session\MetadataManager->createOrUpdateRecord(Object(Joomla\CMS\Session\Session), Object(Joomla\CMS\User\User))
|
||||
#6 [ROOT]/libraries/vendor/joomla/event/src/LazyServiceEventListener.php(124): Joomla\CMS\Session\EventListener\MetadataManagerListener->onAfterSessionStart(Object(Joomla\Session\SessionEvent))
|
||||
#7 [ROOT]/libraries/vendor/joomla/event/src/Dispatcher.php(454): Joomla\Event\LazyServiceEventListener->__invoke(Object(Joomla\Session\SessionEvent))
|
||||
#8 [ROOT]/libraries/vendor/joomla/session/src/Session.php(428): Joomla\Event\Dispatcher->dispatch('session.start', Object(Joomla\Session\SessionEvent))
|
||||
#9 [ROOT]/libraries/vendor/joomla/session/src/Session.php(327): Joomla\Session\Session->start()
|
||||
#10 [ROOT]/libraries/src/Session/Session.php(194): Joomla\Session\Session->has('user')
|
||||
#11 [ROOT]/libraries/src/Factory.php(372): Joomla\CMS\Session\Session->get('user')
|
||||
#12 [ROOT]/libraries/src/Application/SiteApplication.php(570): Joomla\CMS\Factory::getUser()
|
||||
#13 [ROOT]/libraries/src/Application/SiteApplication.php(238): Joomla\CMS\Application\SiteApplication->initialiseApp()
|
||||
#14 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#15 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#16 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#17 {main}
|
||||
2025-01-07T16:57:01+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T16:57:01+00:00 WARNING 172.21.0.6 assets No asset found for com_modules.module.557, falling back to com_modules
|
||||
2025-01-07T16:57:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.500 Array ( [0] => 500 )
|
||||
2025-01-07T16:57:34+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.500: 1 Array ( [0] => 500 )
|
||||
2025-01-07T16:57:54+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.500 Array ( )
|
||||
2025-01-07T16:58:41+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.330 Array ( [0] => 330 )
|
||||
2025-01-07T16:58:41+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.330: 1 Array ( [0] => 330 )
|
||||
2025-01-07T16:58:54+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.330 Array ( [0] => 330 )
|
||||
2025-01-07T16:58:54+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.330: 1 Array ( [0] => 330 )
|
||||
2025-01-07T17:08:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.330 Array ( )
|
||||
2025-01-07T17:09:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.318 Array ( [0] => 318 )
|
||||
2025-01-07T17:09:47+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.318 Array ( )
|
||||
2025-01-07T17:10:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.318 Array ( [0] => 318 )
|
||||
2025-01-07T17:10:36+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.318 Array ( )
|
||||
2025-01-07T17:11:32+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3457 Array ( [0] => 3457 )
|
||||
2025-01-07T17:12:14+00:00 CRITICAL 172.21.0.6 error Uncaught Throwable of type Joomla\CMS\Component\Exception\MissingComponentException thrown with message "Componente non trovato". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(218): Joomla\CMS\Component\ComponentHelper::renderComponent('com_acymailing')
|
||||
#1 [ROOT]/libraries/src/Application/SiteApplication.php(261): Joomla\CMS\Application\SiteApplication->dispatch()
|
||||
#2 [ROOT]/libraries/src/Application/CMSApplication.php(306): Joomla\CMS\Application\SiteApplication->doExecute()
|
||||
#3 [ROOT]/includes/app.php(58): Joomla\CMS\Application\CMSApplication->execute()
|
||||
#4 [ROOT]/index.php(32): require_once('[ROOT]/i...')
|
||||
#5 {main}
|
||||
2025-01-07T17:13:21+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3457 Array ( [0] => 3457 )
|
||||
2025-01-07T17:20:27+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3457 Array ( )
|
||||
2025-01-07T17:20:57+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.180 Array ( [0] => 180 )
|
||||
2025-01-07T17:21:01+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.321 Array ( [0] => 180 [1] => 321 )
|
||||
2025-01-07T17:21:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.321 Array ( [0] => 180 )
|
||||
2025-01-07T17:21:32+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.180 Array ( [0] => 180 )
|
||||
2025-01-07T17:22:24+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.180 Array ( )
|
||||
2025-01-07T17:23:06+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3460 Array ( [0] => 3460 )
|
||||
2025-01-07T17:23:37+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3460 Array ( )
|
||||
2025-01-07T17:23:40+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3460 Array ( [0] => 3460 )
|
||||
2025-01-07T17:23:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3460 Array ( )
|
||||
2025-01-07T17:30:58+00:00 INFO 172.21.0.6 updater Loading information from update site #3 with name "Accredited Joomla! Translations" and URL https://update.joomla.org/language/translationlist_5.xml took 0.12 seconds
|
||||
2025-01-07T17:30:58+00:00 INFO 172.21.0.6 updater Loading information from update site #4 with name "Joomla! Update Component" and URL https://update.joomla.org/core/extensions/com_joomlaupdate.xml took 0.16 seconds
|
||||
2025-01-07T17:30:59+00:00 INFO 172.21.0.6 updater Loading information from update site #216 with name "Regular Labs - Conditional Content" and URL https://download.regularlabs.com/updates.xml?e=conditionalcontent&type=.xml took 0.27 seconds
|
||||
2025-01-07T17:30:59+00:00 INFO 172.21.0.6 updater Loading information from update site #220 with name "Regular Labs - Articles" and URL https://download.regularlabs.com/updates.xml?e=articlesfield&type=.xml took 0.28 seconds
|
||||
2025-01-07T17:30:59+00:00 INFO 172.21.0.6 updater Loading information from update site #223 with name "COM_PHOCADOWNLOAD" and URL https://raw.githubusercontent.com/PhocaCz/PhocaDownload/master/manifest.xml took 0.32 seconds
|
||||
2025-01-07T17:31:00+00:00 INFO 172.21.0.6 updater Loading information from update site #224 with name "COM_PHOCAGALLERY" and URL https://raw.githubusercontent.com/PhocaCz/PhocaGallery/master/manifest.xml took 0.12 seconds
|
||||
2025-01-07T17:31:00+00:00 INFO 172.21.0.6 updater Loading information from update site #226 with name "Tabulizer.com" and URL http://www.tabulizer.com/update/tabulizer-update.xml took 0.32 seconds
|
||||
2025-01-07T17:31:00+00:00 INFO 172.21.0.6 updater Loading information from update site #233 with name "Akeeba FEF" and URL http://cdn.akeebabackup.com/updates/fef.xml took 0.07 seconds
|
||||
2025-01-07T17:31:00+00:00 INFO 172.21.0.6 updater Loading information from update site #238 with name "FOF 3.x" and URL http://cdn.akeebabackup.com/updates/fof3.xml took 0.05 seconds
|
||||
2025-01-07T17:31:00+00:00 INFO 172.21.0.6 updater Loading information from update site #242 with name "JEM Update Site" and URL http://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.17 seconds
|
||||
2025-01-07T17:31:16+00:00 INFO 172.21.0.6 updater Loading information from update site #243 with name "JL Content Fields Filter" and URL https://joomline.net/update.html?extension_id=5.xml took 15.74 seconds
|
||||
2025-01-07T17:31:16+00:00 INFO 172.21.0.6 updater Loading information from update site #285 with name "Akeeba FEF" and URL http://cdn.akeeba.com/updates/fef.xml took 0.08 seconds
|
||||
2025-01-07T17:31:16+00:00 INFO 172.21.0.6 updater Loading information from update site #313 with name "Regular Labs Library" and URL https://download.regularlabs.com/updates.xml?e=library&type=.xml took 0.23 seconds
|
||||
2025-01-07T17:31:17+00:00 INFO 172.21.0.6 updater Loading information from update site #347 with name "COM_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMaps/master/manifest.xml took 0.21 seconds
|
||||
2025-01-07T17:31:17+00:00 INFO 172.21.0.6 updater Loading information from update site #348 with name "PLG_CONTENT_PHOCAMAPS" and URL https://raw.githubusercontent.com/PhocaCz/PhocaMapsPlugin/master/manifest.xml took 0.17 seconds
|
||||
2025-01-07T17:31:17+00:00 INFO 172.21.0.6 updater Loading information from update site #398 with name "plg_captcha_hcaptcha" and URL https://data2site.com/updates/hcaptcha took 0.47 seconds
|
||||
2025-01-07T17:31:18+00:00 INFO 172.21.0.6 updater Loading information from update site #404 with name "OSMap Free" and URL https://deploy.ostraining.com/client/update/free/stable/com_osmap took 0.30 seconds
|
||||
2025-01-07T17:31:18+00:00 INFO 172.21.0.6 updater Loading information from update site #406 with name "Joomlashack Extension Support" and URL https://deploy.ostraining.com/client/update/free/stable/plg_system_osmylicensesmanager took 0.22 seconds
|
||||
2025-01-07T17:31:18+00:00 INFO 172.21.0.6 updater Loading information from update site #407 with name "Joomlashack Framework" and URL https://deploy.ostraining.com/client/update/free/stable/lib_allediaframework took 0.20 seconds
|
||||
2025-01-07T17:31:18+00:00 INFO 172.21.0.6 updater Loading information from update site #408 with name "Search Update Site" and URL https://raw.githubusercontent.com/joomla-extensions/search/main/manifest.xml took 0.20 seconds
|
||||
2025-01-07T17:31:18+00:00 INFO 172.21.0.6 updater Loading information from update site #409 with name "Regular Labs - Conditions" and URL https://download.regularlabs.com/updates.xml?e=conditions&type=.xml took 0.17 seconds
|
||||
2025-01-07T17:31:19+00:00 INFO 172.21.0.6 updater Loading information from update site #410 with name "JEM Update Site" and URL https://www.joomlaeventmanager.net/updatecheck/update_pkg_jem.xml took 0.16 seconds
|
||||
2025-01-07T17:31:20+00:00 INFO 172.21.0.6 updater Loading information from update site #411 with name "Multilanguages CK Update" and URL https://update.joomlack.fr/multilanguagesck_light_update.xml took 1.58 seconds
|
||||
2025-01-07T17:31:20+00:00 INFO 172.21.0.6 updater Loading information from update site #413 with name "Advanced Custom Fields" and URL https://www.tassos.gr/updates/advanced-custom-fields-pro.xml took 0.12 seconds
|
||||
2025-01-07T17:31:21+00:00 INFO 172.21.0.6 updater Loading information from update site #418 with name "com_highlights" and URL https://www.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.65 seconds
|
||||
2025-01-07T17:31:21+00:00 INFO 172.21.0.6 updater Loading information from update site #419 with name "com_highlights" and URL https://nocdn.component-creator.com/index.php?task=builder.preupdatecheckhook&option=com_combuilder&component=NzY0NzgtMjEzOTAw took 0.39 seconds
|
||||
2025-01-07T17:34:36+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:34:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:35:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.330 Array ( )
|
||||
|
||||
@ -999,3 +999,59 @@
|
||||
2025-01-06T16:54:15+00:00 INFO 172.28.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2025-01-06T16:54:15+00:00 INFO 172.28.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2025-01-06T18:57:36+00:00 INFO 172.28.0.6 controller Releasing edit ID com_fields.edit.field.769 Array ( )
|
||||
2025-01-07T07:43:03+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T07:49:46+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T07:50:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T07:51:41+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:00:02+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T08:00:47+00:00 INFO 172.21.0.6 controller Holding edit ID com_highlights.edit.highlight.4 Array ( [0] => 4 )
|
||||
2025-01-07T08:00:52+00:00 INFO 172.21.0.6 controller Releasing edit ID com_highlights.edit.highlight.4 Array ( )
|
||||
2025-01-07T08:24:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:25:20+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:26:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T08:38:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:46:09+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T08:46:11+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T08:46:51+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T11:23:26+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T11:27:39+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T11:28:06+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T11:29:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2025-01-07T11:29:44+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2025-01-07T11:29:58+00:00 INFO 172.21.0.6 controller Holding edit ID com_fields.edit.field.769 Array ( [0] => 769 )
|
||||
2025-01-07T11:29:58+00:00 INFO 172.21.0.6 controller Checking edit ID com_fields.edit.field.769: 1 Array ( [0] => 769 )
|
||||
2025-01-07T14:58:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_fields.edit.field.769 Array ( )
|
||||
2025-01-07T15:20:28+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T15:20:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2385 Array ( [0] => 2385 )
|
||||
2025-01-07T15:25:23+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2385 Array ( )
|
||||
2025-01-07T16:24:31+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2136 Array ( [0] => 2136 )
|
||||
2025-01-07T16:24:41+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2136 Array ( )
|
||||
2025-01-07T16:25:27+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.2137 Array ( [0] => 2137 )
|
||||
2025-01-07T16:25:50+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.2137 Array ( )
|
||||
2025-01-07T16:57:34+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.500 Array ( [0] => 500 )
|
||||
2025-01-07T16:57:34+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.500: 1 Array ( [0] => 500 )
|
||||
2025-01-07T16:57:54+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.500 Array ( )
|
||||
2025-01-07T16:58:41+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.330 Array ( [0] => 330 )
|
||||
2025-01-07T16:58:41+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.330: 1 Array ( [0] => 330 )
|
||||
2025-01-07T16:58:54+00:00 INFO 172.21.0.6 controller Holding edit ID com_modules.edit.module.330 Array ( [0] => 330 )
|
||||
2025-01-07T16:58:54+00:00 INFO 172.21.0.6 controller Checking edit ID com_modules.edit.module.330: 1 Array ( [0] => 330 )
|
||||
2025-01-07T17:08:45+00:00 INFO 172.21.0.6 controller Releasing edit ID com_modules.edit.module.330 Array ( )
|
||||
2025-01-07T17:09:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.318 Array ( [0] => 318 )
|
||||
2025-01-07T17:09:47+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.318 Array ( )
|
||||
2025-01-07T17:10:14+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.318 Array ( [0] => 318 )
|
||||
2025-01-07T17:10:36+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.318 Array ( )
|
||||
2025-01-07T17:11:32+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3457 Array ( [0] => 3457 )
|
||||
2025-01-07T17:13:21+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3457 Array ( [0] => 3457 )
|
||||
2025-01-07T17:20:27+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3457 Array ( )
|
||||
2025-01-07T17:20:57+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.180 Array ( [0] => 180 )
|
||||
2025-01-07T17:21:01+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.321 Array ( [0] => 180 [1] => 321 )
|
||||
2025-01-07T17:21:29+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.321 Array ( [0] => 180 )
|
||||
2025-01-07T17:21:32+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.180 Array ( [0] => 180 )
|
||||
2025-01-07T17:22:24+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.180 Array ( )
|
||||
2025-01-07T17:23:06+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3460 Array ( [0] => 3460 )
|
||||
2025-01-07T17:23:37+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3460 Array ( )
|
||||
2025-01-07T17:23:40+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.3460 Array ( [0] => 3460 )
|
||||
2025-01-07T17:23:57+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.3460 Array ( )
|
||||
2025-01-07T17:34:36+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:34:44+00:00 INFO 172.21.0.6 controller Holding edit ID com_menus.edit.item.330 Array ( [0] => 330 )
|
||||
2025-01-07T17:35:14+00:00 INFO 172.21.0.6 controller Releasing edit ID com_menus.edit.item.330 Array ( )
|
||||
|
||||
@ -72,3 +72,12 @@
|
||||
2025-01-06 07:42:42 INFO Attività terminata con successo#02 in 0.00 (rete 0.00) secondi.
|
||||
2025-01-06 07:43:25 INFO Esecuzione attività#03 'Update Notification'.
|
||||
2025-01-06 07:43:26 INFO Attività terminata con successo#03 in 1.44 (rete 1.44) secondi.
|
||||
2025-01-07 07:43:07 INFO Esecuzione attività#04 'Delete Action Logs'.
|
||||
2025-01-07 07:43:07 INFO Attività> Delete Logs after 15 days
|
||||
2025-01-07 07:43:07 INFO Attività> Delete Logs end
|
||||
2025-01-07 07:43:07 INFO Attività terminata con successo#04 in 0.01 (rete 0.01) secondi.
|
||||
2025-01-07 07:48:09 INFO Esecuzione attività#02 'Session GC'.
|
||||
2025-01-07 07:48:09 INFO Attività> SessionGC end
|
||||
2025-01-07 07:48:09 INFO Attività terminata con successo#02 in 0.01 (rete 0.01) secondi.
|
||||
2025-01-07 07:49:20 INFO Esecuzione attività#03 'Update Notification'.
|
||||
2025-01-07 07:49:20 INFO Attività terminata con successo#03 in 0.38 (rete 0.38) secondi.
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
JGLOBAL_READ_MORE="Leggi tutto"
|
||||
COM_CONTENT_READ_MORE="Leggi tutto"
|
||||
CERCANELSITO="Cerca nel sito"
|
||||
CERCA="Cerca"
|
||||
SEGUICISU="Seguici su"
|
||||
@ -5,7 +7,6 @@ MOD_ARTICLES_CATEGORY_READ_MORE_TITLE="Leggi tutto"
|
||||
VEDIDETTAGLI="Vedi dettagli"
|
||||
OFFERTADIDATTICA="Tutta l'offerta didattica"
|
||||
VEDITUTTI="Vedi tutti"
|
||||
COM_CONTENT_READ_MORE="Leggi tutto"
|
||||
COM_JEM_EVENTS=""
|
||||
COM_JEM_ATTACHMENT=""
|
||||
COM_JEM_FILES="Allegati:"
|
||||
|
||||
@ -318,6 +318,26 @@ h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1{
|
||||
padding-bottom: 17px;
|
||||
}
|
||||
|
||||
.blog-category-card .card.card-article {
|
||||
padding: 1rem;
|
||||
border-radius: 2px;
|
||||
background: #F5F5F5;
|
||||
}
|
||||
|
||||
.blog-category-card .card.card-article h2.h3, .blog-category-card .card.card-article h2.h3 a{
|
||||
color: #000;
|
||||
padding-bottom: .3rem;
|
||||
}
|
||||
|
||||
.blog-category-card .card.card-article h2.h3 a:hover{
|
||||
color: #CC334B;
|
||||
}
|
||||
|
||||
.blog-category-card .card.card-article .card-article-content p{
|
||||
font-size: .9rem;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
|
||||
.card.card-icon .icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
|
||||
@ -877,7 +877,7 @@ a.bg-bluelectric:focus,a.bg-bluelectric:hover,button.bg-bluelectric:focus,button
|
||||
}
|
||||
|
||||
.aside-list ul li {
|
||||
margin: 0 0 7px 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@ -1614,7 +1614,7 @@ a.view-all{
|
||||
}
|
||||
|
||||
.blog-items[class^="masonry-"], .blog-items[class*=" masonry-"] {
|
||||
column-gap: 3rem;
|
||||
column-gap: 2.2rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
@ -302,7 +302,7 @@ ul.navbar-nav li.nav-item ul li.nav-item.divider.deeper.dropdown.parent span svg
|
||||
.menu-laterale ul.navbar-nav li.nav-item a{
|
||||
background-color: #CC334B;
|
||||
color: #fff;
|
||||
padding-left: 24px;
|
||||
padding-left: 16px;
|
||||
font-size: 1.1rem;
|
||||
}
|
||||
|
||||
@ -319,9 +319,10 @@ ul.navbar-nav li.nav-item ul li.nav-item.divider.deeper.dropdown.parent span svg
|
||||
border-bottom: 1px solid #000;
|
||||
color: #000;
|
||||
font-size: 1rem;
|
||||
padding-left: 48px;
|
||||
padding-left: 20px;
|
||||
font-weight: 500;
|
||||
line-height: 2.6em;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.menu-laterale ul.navbar-nav li.nav-item ul li.active a{
|
||||
@ -344,5 +345,5 @@ ul.navbar-nav li.nav-item ul li.nav-item.divider.deeper.dropdown.parent span svg
|
||||
|
||||
.menu-laterale .link-list-wrapper{
|
||||
padding: 0;
|
||||
margin-bottom: 30px;
|
||||
/*margin-bottom: 30px;*/
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
|
||||
// Add strings for translations in Javascript.
|
||||
Text::script('JGLOBAL_EXPAND_CATEGORIES');
|
||||
Text::script('JGLOBAL_COLLAPSE_CATEGORIES');
|
||||
|
||||
/** @var \Joomla\Component\Content\Site\View\Categories\HtmlView $this */
|
||||
/** @var Joomla\CMS\WebAsset\WebAssetManager $wa */
|
||||
$wa = $this->getDocument()->getWebAssetManager();
|
||||
$wa->getRegistry()->addExtensionRegistryFile('com_categories');
|
||||
$wa->usePreset('com_categories.shared-categories-accordion');
|
||||
|
||||
?>
|
||||
<div class="com-content-categories categories-list">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-lg-9">
|
||||
<?php
|
||||
echo LayoutHelper::render('joomla.content.categories_default', $this);
|
||||
echo $this->loadTemplate('items');
|
||||
?>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -0,0 +1,76 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
/** @var \Joomla\Component\Content\Site\View\Categories\HtmlView $this */
|
||||
if ($this->maxLevelcat != 0 && count($this->items[$this->parent->id]) > 0) :
|
||||
?>
|
||||
<div class="com-content-categories__items">
|
||||
<?php foreach ($this->items[$this->parent->id] as $id => $item) : ?>
|
||||
<?php if ($this->params->get('show_empty_categories_cat') || $item->numitems || count($item->getChildren())) : ?>
|
||||
<div class="com-content-categories__item">
|
||||
<div class="com-content-categories__item-title-wrapper">
|
||||
<div class="com-content-categories__item-title">
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($item->id, $item->language)); ?>">
|
||||
<?php echo $this->escape($item->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_num_articles_cat') == 1) :?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?>
|
||||
<?php echo $item->numitems; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if (count($item->getChildren()) > 0 && $this->maxLevelcat > 1) : ?>
|
||||
<button
|
||||
type="button"
|
||||
id="category-btn-<?php echo $item->id; ?>"
|
||||
data-category-id="<?php echo $item->id; ?>"
|
||||
class="btn btn-secondary btn-sm"
|
||||
aria-expanded="false"
|
||||
aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"
|
||||
>
|
||||
<span class="icon-plus" aria-hidden="true"></span>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php if ($this->params->get('show_description_image') && $item->getParams()->get('image')) : ?>
|
||||
<?php echo HTMLHelper::_('image', $item->getParams()->get('image'), $item->getParams()->get('image_alt')); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->params->get('show_subcat_desc_cat') == 1) : ?>
|
||||
<?php if ($item->description) : ?>
|
||||
<div class="com-content-categories__description category-desc">
|
||||
<?php echo HTMLHelper::_('content.prepare', $item->description, '', 'com_content.categories'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (count($item->getChildren()) > 0 && $this->maxLevelcat > 1) : ?>
|
||||
<div class="com-content-categories__children" id="category-<?php echo $item->id; ?>" hidden="">
|
||||
<?php
|
||||
$this->items[$item->id] = $item->getChildren();
|
||||
$this->parent = $item;
|
||||
$this->maxLevelcat--;
|
||||
echo $this->loadTemplate('items');
|
||||
$this->parent = $item->getParent();
|
||||
$this->maxLevelcat++;
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
128
templates/joomla-italia-theme/html/com_content/category/card.php
Normal file
128
templates/joomla-italia-theme/html/com_content/category/card.php
Normal file
@ -0,0 +1,128 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\FileLayout;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
$url = Uri::root();
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
$this->category->text = $this->category->description;
|
||||
$app->triggerEvent('onContentPrepare', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$this->category->description = $this->category->text;
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayTitle = trim(implode("\n", $results));
|
||||
$results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$beforeDisplayContent = trim(implode("\n", $results));
|
||||
$results = $app->triggerEvent('onContentAfterDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayContent = trim(implode("\n", $results));
|
||||
$htag = $this->params->get('show_page_heading') ? 'h2' : 'h1';
|
||||
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="blog-category-card" itemscope itemtype="https://schema.org/Blog">
|
||||
<div class="wrapperblog <?php echo $this->params->get('blog_class') ?>">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-9">
|
||||
<?php if ($this->params->get('show_category_title', 1)) : ?>
|
||||
<h1><?php echo $this->category->title; ?></h1>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->params->get('show_page_heading')) : ?>
|
||||
<h1><?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
|
||||
<?php endif; ?>
|
||||
<?php echo $afterDisplayTitle; ?>
|
||||
<?php if ($this->params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?>
|
||||
<?php $this->category->tagLayout = new FileLayout('joomla.content.tags'); ?>
|
||||
<?php echo $this->category->tagLayout->render($this->category->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($beforeDisplayContent || $afterDisplayContent || $this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
|
||||
<div class="category-desc clearfix h4 font-weight-normal">
|
||||
<?php echo $beforeDisplayContent; ?>
|
||||
<?php if ($this->params->get('show_description') && $this->category->description) : ?>
|
||||
<?php echo HTMLHelper::_('content.prepare', $this->category->description, '', 'com_content.category'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $afterDisplayContent; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if (empty($this->lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?>
|
||||
<?php if ($this->params->get('show_no_articles', 1)) : ?>
|
||||
<div class="alert alert-info">
|
||||
<span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span>
|
||||
<?php echo Text::_('COM_CONTENT_NO_ARTICLES'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($this->intro_items)) : ?>
|
||||
<?php if (!empty($this->intro_items)) : ?>
|
||||
<?php $blogClass = $this->params->get('blog_class', ''); ?>
|
||||
<?php if ((int) $this->params->get('num_columns') > 1) : ?>
|
||||
<?php $blogClass .= (int) $this->params->get('multi_column_order', 0) === 0 ? ' masonry-' : ' columns-'; ?>
|
||||
<?php $blogClass .= (int) $this->params->get('num_columns'); ?>
|
||||
<?php endif; ?>
|
||||
<div class="com-content-category-blog__items blog-items <?php echo $blogClass; ?>">
|
||||
<?php foreach ($this->intro_items as $key => &$item) : ?>
|
||||
<div class="com-content-category-blog__item blog-item">
|
||||
<?php
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('item');
|
||||
?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if (!empty($this->link_items)) : ?>
|
||||
<div class="items-more">
|
||||
<?php echo $this->loadTemplate('links'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="tipologia-menu ps-lg-4 col-lg-3">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<?php if (($this->params->def('show_pagination', 1) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?>
|
||||
<div class="com-content-category-blog__navigation w-100">
|
||||
<?php if ($this->params->def('show_pagination_results', 1)) : ?>
|
||||
<p class="com-content-category-blog__counter counter float-end pt-3 pe-2">
|
||||
<?php echo $this->pagination->getPagesCounter(); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<div class="com-content-category-blog__pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<metadata>
|
||||
<layout title="Blog per la categoria Eventi" option="eventi">
|
||||
<layout title="CARD GRIGIE CATEGORIA BLOG" option="card">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
@ -178,6 +178,8 @@
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
validate="number"
|
||||
min="0"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
@ -196,6 +198,8 @@
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
validate="number"
|
||||
min="0"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
@ -215,6 +219,8 @@
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
validate="number"
|
||||
min="0"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
@ -236,6 +242,8 @@
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
validate="number"
|
||||
min="0"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
@ -0,0 +1,84 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-article">
|
||||
<div class="card-body">
|
||||
<div class="card-article-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php //echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags);?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -35,8 +35,8 @@ $isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
?>
|
||||
@ -51,7 +51,7 @@ $baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/im
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" data-element="service-link">
|
||||
<div class="card-body">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-pa"></use>
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-flag"></use>
|
||||
</svg>
|
||||
<div class="card-icon-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
@ -15,11 +15,22 @@ use Joomla\CMS\Layout\LayoutHelper;
|
||||
?>
|
||||
<div class="container">
|
||||
<div class="com-content-category category-list">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-9">
|
||||
<?php
|
||||
$this->subtemplatename = 'articles';
|
||||
echo LayoutHelper::render('joomla.content.category_default', $this);
|
||||
?>
|
||||
<?= JHtml::_('content.prepare', '{loadposition bottom}'); ?>
|
||||
</div>
|
||||
<div class="tipologia-menu col-lg-3">
|
||||
<aside>
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@ -64,8 +64,7 @@ if (!empty($this->items)) {
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
?>
|
||||
<div class="row">
|
||||
<div class="col-lg-9">
|
||||
|
||||
<form action="<?php echo htmlspecialchars(Uri::getInstance()->toString()); ?>" method="post" name="adminForm" id="adminForm" class="com-content-category__articles mb-5">
|
||||
<?php if ($this->params->get('filter_field') !== 'hide') : ?>
|
||||
<div class="select-wrapper btn-group">
|
||||
@ -348,13 +347,3 @@ $currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
<input type="hidden" name="task" value="">
|
||||
</div>
|
||||
</form>
|
||||
<?= JHtml::_('content.prepare', '{loadposition bottom}'); ?>
|
||||
</div>
|
||||
<div class="tipologia-menu col-lg-3">
|
||||
<aside>
|
||||
<div class="menu-laterale">
|
||||
<?= JHtml::_('content.prepare', '{loadposition right}'); ?>
|
||||
</div>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,236 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\FileLayout;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
$url = Uri::root();
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
$this->category->text = $this->category->description;
|
||||
$app->triggerEvent('onContentPrepare', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$this->category->description = $this->category->text;
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayTitle = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$beforeDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$htag = $this->params->get('show_page_heading') ? 'h2' : 'h1';
|
||||
|
||||
//echo json_encode($this->category);
|
||||
//echo $this->category->parent_id;
|
||||
$catactive = $this->category->title;
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<div class="blog-didattica" itemscope itemtype="https://schema.org/Blog">
|
||||
<?php if ($this->params->get('show_category_title', 1)) : ?>
|
||||
<section class="section bg-bluelectric bg-bluelectricgradient py-5 position-relative d-flex align-items-center overflow-hidden">
|
||||
<div class="green-square-forms">
|
||||
<svg width="100%" height="100%" viewBox="0 0 726 360" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g id="Group" opacity="0.32"><path id="Rectangle" d="M627.751,245.625l-396.368,-193.321l-193.322,396.368l396.368,193.321l193.322,-396.368Z" style="fill:url(#_Linear1);"></path><path id="Rectangle1" serif:id="Rectangle" d="M583.359,-179.506l-264.865,159.147l159.147,264.865l264.865,-159.147l-159.147,-264.865Z" style="fill:url(#_Linear2);"></path><path id="Rectangle2" serif:id="Rectangle" d="M210.182,-54.565l-213.341,33.79l33.79,213.34l213.341,-33.79l-33.79,-213.34Z" style="fill:url(#_Linear3);"></path></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(203.046,589.69,-589.69,203.046,231.383,52.3035)"><stop offset="0" style="stop-color:#0f842e;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient><linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(344.438,-26.7144,26.7144,344.438,398.068,112.073)"><stop offset="0" style="stop-color:#0e8a5f;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient><linearGradient id="_Linear3" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(230.236,72.8805,-72.8805,230.236,13.7359,85.8949)"><stop offset="0" style="stop-color:#0e8a5f;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient></defs>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<div class="hero-title text-left">
|
||||
|
||||
<h1><?php echo $this->category->title; ?></h1>
|
||||
|
||||
<?php if ($this->params->get('show_page_heading')) : ?>
|
||||
<h1><?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
|
||||
<?php endif; ?>
|
||||
<?php echo $afterDisplayTitle; ?>
|
||||
<?php if ($this->params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?>
|
||||
<?php $this->category->tagLayout = new FileLayout('joomla.content.tags'); ?>
|
||||
<?php echo $this->category->tagLayout->render($this->category->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if ($beforeDisplayContent || $afterDisplayContent || $this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
|
||||
<div class="category-desc clearfix h4 font-weight-normal">
|
||||
<?php echo $beforeDisplayContent; ?>
|
||||
<?php if ($this->params->get('show_description') && $this->category->description) : ?>
|
||||
<?php echo HTMLHelper::_('content.prepare', $this->category->description, '', 'com_content.category'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $afterDisplayContent; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
<div class="wrapperblog redbrown <?php echo $this->params->get('blog_class') ?>">
|
||||
<?php if (empty($this->lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?>
|
||||
<?php if ($this->params->get('show_no_articles', 1)) : ?>
|
||||
<div class="container">
|
||||
<div class="alert alert-info">
|
||||
<span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span>
|
||||
<?php echo Text::_('COM_CONTENT_NO_ARTICLES'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->children[$this->category->id]) : ?>
|
||||
<div class="wrapperblog">
|
||||
|
||||
<section class="bg-white border-top border-bottom d-block d-lg-none">
|
||||
<div class="container d-flex justify-content-between align-items-center py-3">
|
||||
<h3 class="h6 text-uppercase mb-0 label-filter"><strong>Filtri</strong></h3>
|
||||
<a class="toggle-filtri" href="#" aria-label="filtri" id="filtri-tipologia" title="Filtra per tipologia">
|
||||
<svg class="icon icon-sm">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-funnel"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bg-gray-light">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="tipologia-menu col-lg-3 bg-white bg-white-left">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="d-flex d-lg-none mb-3 align-items-center">
|
||||
<a class="toggle-filtri pe-2" href="#" aria-label="chiudi filtri" id="back-filtri-tipologia" title="Chiudi i filtri per tipologia">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-arrow-left"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<p class="h6 mb-0 label-filter lh100"><strong>Filtri</strong></p>
|
||||
</div>
|
||||
<h2 class="h6 text-uppercase"><strong>Tipologia</strong></h2>
|
||||
<ul class="">
|
||||
<?php foreach ($this->children[$this->category->id] as $kategorie) : ?>
|
||||
<div class="form-check my-0">
|
||||
<li class="catsamelevel">
|
||||
<input type="RADIO" value="<?php echo Route::_(RouteHelper::getCategoryRoute($kategorie->id, $kategorie->language)); ?>" onchange="window.open(this.value, '_self')" name="<?php echo $kategorie->title; ?>" id="check-<?php echo $kategorie->title; ?>" <?php echo ($catactive == $kategorie->title) ? ('checked') :''; ?>>
|
||||
<label class="mb-0" for="check-<?php echo $kategorie->title; ?>"><?php echo $kategorie->title; ?></label>
|
||||
</li>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="col-lg-8 col-xl-7 offset-lg-1 pt84">
|
||||
<?php foreach ($this->children[$this->category->id] as $kategorie) : ?>
|
||||
<?php if (!empty($this->intro_items)) : ?>
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
if ($item->catid !== $kategorie->id) {
|
||||
continue;
|
||||
}
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('item');
|
||||
endforeach; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
<?php elseif (!empty($this->intro_items)) : ?>
|
||||
<section class="bg-white border-top border-bottom d-block d-lg-none">
|
||||
<div class="container d-flex justify-content-between align-items-center py-3">
|
||||
<h3 class="h6 text-uppercase mb-0 label-filter"><strong>Filtri</strong></h3>
|
||||
<a class="toggle-filtri" href="#" aria-label="filtri" id="filtri-tipologia" title="Filtra per tipologia">
|
||||
<svg class="icon icon-sm">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-funnel"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bg-gray-light">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="tipologia-menu col-lg-3 bg-white bg-white-left">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="d-flex d-lg-none mb-3 align-items-center">
|
||||
<a class="toggle-filtri pe-2" href="#" aria-label="chiudi filtri" id="back-filtri-tipologia" title="Chiudi i filtri per tipologia">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-arrow-left"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<p class="h6 mb-0 label-filter lh100"><strong>Filtri</strong></p>
|
||||
</div>
|
||||
<h2 class="h6 text-uppercase"><strong>Tipologia</strong></h2>
|
||||
<?php
|
||||
// Mostro le categorie che hanno la stessa categoria parent
|
||||
$db = Factory::getContainer()->get('DatabaseDriver');
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
$query->select($db->quoteName(array('title', 'id','language')))
|
||||
->from($db->quoteName('#__categories'))
|
||||
->where($db->quoteName('parent_id') . ' = '. $this->category->parent_id)
|
||||
->where($db->quoteName('extension') . ' = ' . $db->quote('com_content'));
|
||||
$db->setQuery($query);
|
||||
$rows = $db->loadObjectList();
|
||||
?>
|
||||
|
||||
<ul class="">
|
||||
<?php foreach ($rows as $row) : ?>
|
||||
<div class="form-check my-0">
|
||||
<li class="catsamelevel">
|
||||
<input type="RADIO" value="<?php echo Route::_(RouteHelper::getCategoryRoute($row->id, $row->language)); ?>" onchange="window.open(this.value, '_self')" name="<?php echo $row->title; ?>" id="check-<?php echo $row->title; ?>" <?php echo ($catactive == $row->title) ? ('checked') :''; ?>>
|
||||
<label class="mb-0" for="check-<?php echo $row->title; ?>"><?php echo $row->title; ?></label>
|
||||
</li>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="col-lg-8 col-xl-7 offset-lg-1 pt84">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('item');
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($this->link_items)) : ?>
|
||||
<div class="items-more">
|
||||
<?php echo $this->loadTemplate('links'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (($this->params->def('show_pagination', 1) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?>
|
||||
<div class="com-content-category-blog__navigation w-100">
|
||||
<?php if ($this->params->def('show_pagination_results', 1)) : ?>
|
||||
<p class="com-content-category-blog__counter counter float-end pt-3 pe-2">
|
||||
<?php echo $this->pagination->getPagesCounter(); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<div class="com-content-category-blog__pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,698 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Blog per le categorie della sezione Didattica" option="didattica">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
</message>
|
||||
</layout>
|
||||
|
||||
<!-- Add fields to the request variables for the layout. -->
|
||||
<fields name="request">
|
||||
<fieldset name="request"
|
||||
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
||||
>
|
||||
<field
|
||||
name="id"
|
||||
type="modal_category"
|
||||
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
|
||||
extension="com_content"
|
||||
required="true"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="filter_tag"
|
||||
type="tag"
|
||||
label="JTAG"
|
||||
multiple="true"
|
||||
mode="nested"
|
||||
custom="deny"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<!-- Add fields to the parameters object for the layout. -->
|
||||
<fields name="params">
|
||||
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
|
||||
<field
|
||||
name="layout_type"
|
||||
type="hidden"
|
||||
default="blog"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_category_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_TITLE"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description_image"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="maxLevel"
|
||||
type="list"
|
||||
label="JGLOBAL_MAXLEVEL_LABEL"
|
||||
description="JGLOBAL_MAXLEVEL_DESC"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_empty_categories"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_no_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NO_ARTICLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category_heading_title_text"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_HEADING"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcat_desc"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL">
|
||||
|
||||
<field
|
||||
name="num_leading_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class_leading"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS_LEADING"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_intro_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS"
|
||||
description="JGLOBAL_BLOG_CLASS_NOTE_DESC"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_columns"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="multi_column_order"
|
||||
type="list"
|
||||
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_BLOG_DOWN_OPTION</option>
|
||||
<option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="num_links"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_featured"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="show">JSHOW</option>
|
||||
<option value="hide">JHIDE</option>
|
||||
<option value="only">JONLY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_intro_image"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcategory_content"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
<field
|
||||
name="orderby_pri"
|
||||
type="list"
|
||||
label="JGLOBAL_CATEGORY_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2"
|
||||
>
|
||||
<option value="none">JGLOBAL_NO_ORDER</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="orderby_sec"
|
||||
type="list"
|
||||
label="JGLOBAL_ARTICLE_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="front">COM_CONTENT_FEATURED_ORDER</option>
|
||||
<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
|
||||
<option value="date">JGLOBAL_OLDEST_FIRST</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
|
||||
<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
|
||||
<option value="hits" requires="hits">JGLOBAL_MOST_HITS</option>
|
||||
<option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option>
|
||||
<option value="random">JGLOBAL_RANDOM_ORDER</option>
|
||||
<option value="order">JGLOBAL_ORDERING</option>
|
||||
<option value="rorder">JGLOBAL_REVERSE_ORDERING</option>
|
||||
<option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option>
|
||||
<option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option>
|
||||
<option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option>
|
||||
<option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="order_date"
|
||||
type="list"
|
||||
label="JGLOBAL_ORDERING_DATE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="created">JGLOBAL_CREATED</option>
|
||||
<option value="modified">JGLOBAL_MODIFIED</option>
|
||||
<option value="published">JPUBLISHED</option>
|
||||
<option value="unpublished">JUNPUBLISHED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
<option value="2">JGLOBAL_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination_results"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="article"
|
||||
label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL"
|
||||
addfieldprefix="Joomla\Component\Content\Administrator\Field"
|
||||
>
|
||||
|
||||
<field
|
||||
name="article_layout"
|
||||
type="componentlayout"
|
||||
label="JGLOBAL_FIELD_LAYOUT_LABEL"
|
||||
description="JGLOBAL_FIELD_LAYOUT_DESC"
|
||||
class="form-select"
|
||||
menuitems="true"
|
||||
extension="com_content"
|
||||
view="article"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_titles"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_TITLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_intro"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_INTRO_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_position"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
|
||||
<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
|
||||
<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_show_title"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_associations"
|
||||
type="assoc"
|
||||
label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_author"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_author"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_create_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_modify_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_publish_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_item_navigation"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_NAVIGATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_vote"
|
||||
type="votelist"
|
||||
label="JGLOBAL_SHOW_VOTE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_LABEL"
|
||||
description="JGLOBAL_SHOW_READMORE_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_hits"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_HITS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_noauth"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
|
||||
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
|
||||
<field
|
||||
name="show_feed_link"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="feed_summary"
|
||||
type="list"
|
||||
label="JGLOBAL_FEED_SUMMARY_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_INTRO_TEXT</option>
|
||||
<option value="1">JGLOBAL_FULL_TEXT</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</metadata>
|
||||
@ -1,88 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
$baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-bg card-article card-article-bluelectric">
|
||||
<div class="card-body">
|
||||
<div class="card-article-img d-none d-lg-block">
|
||||
<?php if($introimg->image_intro ==''){ ?>
|
||||
<figure><a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" title="service-link"><img src="<?= $baseImagePath ?>imgsegnaposto.jpg" class="img-fluid"/></a></figure>
|
||||
<?php } else{
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-article-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -1,87 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" data-element="service-link">
|
||||
<div class="card-body">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-map-marker"></use>
|
||||
</svg>
|
||||
<div class="card-icon-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
<?php echo $this->item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@ -96,5 +96,5 @@ $isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED
|
||||
<?php endif; ?>
|
||||
|
||||
<?php // Content is generated by content plugin event "onContentAfterDisplay" ?>
|
||||
<?php echo $this->item->event->afterDisplayContent; ?>
|
||||
<?php //echo $this->item->event->afterDisplayContent; ?>
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,698 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Blog per le categorie della sezione documenti della scuola" option="documenti">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
</message>
|
||||
</layout>
|
||||
|
||||
<!-- Add fields to the request variables for the layout. -->
|
||||
<fields name="request">
|
||||
<fieldset name="request"
|
||||
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
||||
>
|
||||
<field
|
||||
name="id"
|
||||
type="modal_category"
|
||||
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
|
||||
extension="com_content"
|
||||
required="true"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="filter_tag"
|
||||
type="tag"
|
||||
label="JTAG"
|
||||
multiple="true"
|
||||
mode="nested"
|
||||
custom="deny"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<!-- Add fields to the parameters object for the layout. -->
|
||||
<fields name="params">
|
||||
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
|
||||
<field
|
||||
name="layout_type"
|
||||
type="hidden"
|
||||
default="blog"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_category_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_TITLE"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description_image"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="maxLevel"
|
||||
type="list"
|
||||
label="JGLOBAL_MAXLEVEL_LABEL"
|
||||
description="JGLOBAL_MAXLEVEL_DESC"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_empty_categories"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_no_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NO_ARTICLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category_heading_title_text"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_HEADING"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcat_desc"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL">
|
||||
|
||||
<field
|
||||
name="num_leading_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class_leading"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS_LEADING"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_intro_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS"
|
||||
description="JGLOBAL_BLOG_CLASS_NOTE_DESC"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_columns"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="multi_column_order"
|
||||
type="list"
|
||||
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_BLOG_DOWN_OPTION</option>
|
||||
<option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="num_links"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_featured"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="show">JSHOW</option>
|
||||
<option value="hide">JHIDE</option>
|
||||
<option value="only">JONLY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_intro_image"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcategory_content"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
<field
|
||||
name="orderby_pri"
|
||||
type="list"
|
||||
label="JGLOBAL_CATEGORY_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2"
|
||||
>
|
||||
<option value="none">JGLOBAL_NO_ORDER</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="orderby_sec"
|
||||
type="list"
|
||||
label="JGLOBAL_ARTICLE_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="front">COM_CONTENT_FEATURED_ORDER</option>
|
||||
<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
|
||||
<option value="date">JGLOBAL_OLDEST_FIRST</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
|
||||
<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
|
||||
<option value="hits" requires="hits">JGLOBAL_MOST_HITS</option>
|
||||
<option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option>
|
||||
<option value="random">JGLOBAL_RANDOM_ORDER</option>
|
||||
<option value="order">JGLOBAL_ORDERING</option>
|
||||
<option value="rorder">JGLOBAL_REVERSE_ORDERING</option>
|
||||
<option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option>
|
||||
<option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option>
|
||||
<option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option>
|
||||
<option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="order_date"
|
||||
type="list"
|
||||
label="JGLOBAL_ORDERING_DATE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="created">JGLOBAL_CREATED</option>
|
||||
<option value="modified">JGLOBAL_MODIFIED</option>
|
||||
<option value="published">JPUBLISHED</option>
|
||||
<option value="unpublished">JUNPUBLISHED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
<option value="2">JGLOBAL_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination_results"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="article"
|
||||
label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL"
|
||||
addfieldprefix="Joomla\Component\Content\Administrator\Field"
|
||||
>
|
||||
|
||||
<field
|
||||
name="article_layout"
|
||||
type="componentlayout"
|
||||
label="JGLOBAL_FIELD_LAYOUT_LABEL"
|
||||
description="JGLOBAL_FIELD_LAYOUT_DESC"
|
||||
class="form-select"
|
||||
menuitems="true"
|
||||
extension="com_content"
|
||||
view="article"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_titles"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_TITLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_intro"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_INTRO_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_position"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
|
||||
<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
|
||||
<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_show_title"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_associations"
|
||||
type="assoc"
|
||||
label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_author"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_author"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_create_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_modify_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_publish_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_item_navigation"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_NAVIGATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_vote"
|
||||
type="votelist"
|
||||
label="JGLOBAL_SHOW_VOTE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_LABEL"
|
||||
description="JGLOBAL_SHOW_READMORE_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_hits"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_HITS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_noauth"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
|
||||
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
|
||||
<field
|
||||
name="show_feed_link"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="feed_summary"
|
||||
type="list"
|
||||
label="JGLOBAL_FEED_SUMMARY_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_INTRO_TEXT</option>
|
||||
<option value="1">JGLOBAL_FULL_TEXT</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</metadata>
|
||||
@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
$lang = Factory::getLanguage();
|
||||
$user = Factory::getUser();
|
||||
$groups = $user->getAuthorisedViewLevels();
|
||||
|
||||
if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?>
|
||||
<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
|
||||
<?php // Check whether category access level allows access to subcategories. ?>
|
||||
<?php if (in_array($child->access, $groups)) : ?>
|
||||
<?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?>
|
||||
<div class="com-content-category-blog__child">
|
||||
<?php if ($lang->isRtl()) : ?>
|
||||
<h3 class="page-header item-title">
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info tip">
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php else : ?>
|
||||
<h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?>
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_subcat_desc') == 1) : ?>
|
||||
<?php if ($child->description) : ?>
|
||||
<div class="com-content-category-blog__description category-desc">
|
||||
<?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<div class="com-content-category-blog__children collapse fade" id="category-<?php echo $child->id; ?>">
|
||||
<?php
|
||||
$this->children[$child->id] = $child->getChildren();
|
||||
$this->category = $child;
|
||||
$this->maxLevel--;
|
||||
echo $this->loadTemplate('children');
|
||||
$this->category = $child->getParent();
|
||||
$this->maxLevel++;
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif;
|
||||
@ -1,90 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
$baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-bg card-article card-article-redbrown">
|
||||
<div class="card-body">
|
||||
<div class="card-article-img d-none d-lg-block">
|
||||
<?php if($introimg->image_intro ==''){ ?>
|
||||
<figure><a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" title="service-link"><img src="<?=$baseImagePath?>imgsegnaposto.jpg" class="img-fluid"/></a></figure>
|
||||
<?php } else{
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-article-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php //echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -1,87 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" data-element="service-link">
|
||||
<div class="card-body">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-files"></use>
|
||||
</svg>
|
||||
<div class="card-icon-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
<?php echo $this->item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
?>
|
||||
|
||||
<ol class="com-content-blog__links">
|
||||
<?php foreach ($this->link_items as $item) : ?>
|
||||
<li class="com-content-blog__link">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php echo $item->title; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
@ -1,244 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\FileLayout;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
$url = Uri::root();
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
$this->category->text = $this->category->description;
|
||||
$app->triggerEvent('onContentPrepare', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$this->category->description = $this->category->text;
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayTitle = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$beforeDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$htag = $this->params->get('show_page_heading') ? 'h2' : 'h1';
|
||||
|
||||
//echo json_encode($this->category);
|
||||
//echo $this->category->parent_id;
|
||||
$catactive = $this->category->title;
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<div class="blogj4a blog-category" itemscope itemtype="https://schema.org/Blog">
|
||||
<section class="section bg-greendark bg-greendarkgradient py-5 position-relative d-flex align-items-center overflow-hidden">
|
||||
<div class="green-square-forms">
|
||||
<svg width="100%" height="100%" viewBox="0 0 726 360" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g id="Group" opacity="0.32"><path id="Rectangle" d="M627.751,245.625l-396.368,-193.321l-193.322,396.368l396.368,193.321l193.322,-396.368Z" style="fill:url(#_Linear1);"></path><path id="Rectangle1" serif:id="Rectangle" d="M583.359,-179.506l-264.865,159.147l159.147,264.865l264.865,-159.147l-159.147,-264.865Z" style="fill:url(#_Linear2);"></path><path id="Rectangle2" serif:id="Rectangle" d="M210.182,-54.565l-213.341,33.79l33.79,213.34l213.341,-33.79l-33.79,-213.34Z" style="fill:url(#_Linear3);"></path></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(203.046,589.69,-589.69,203.046,231.383,52.3035)"><stop offset="0" style="stop-color:#0f842e;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient><linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(344.438,-26.7144,26.7144,344.438,398.068,112.073)"><stop offset="0" style="stop-color:#0e8a5f;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient><linearGradient id="_Linear3" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(230.236,72.8805,-72.8805,230.236,13.7359,85.8949)"><stop offset="0" style="stop-color:#0e8a5f;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient></defs>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<div class="hero-title text-left">
|
||||
<?php if ($this->params->get('show_category_title', 1)) : ?>
|
||||
<h1><?php echo $this->category->title; ?></h1>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->params->get('show_page_heading')) : ?>
|
||||
<h1><?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
|
||||
<?php endif; ?>
|
||||
<?php echo $afterDisplayTitle; ?>
|
||||
<?php if ($this->params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?>
|
||||
<?php $this->category->tagLayout = new FileLayout('joomla.content.tags'); ?>
|
||||
<?php echo $this->category->tagLayout->render($this->category->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if ($beforeDisplayContent || $afterDisplayContent || $this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
|
||||
<div class="category-desc clearfix h4 font-weight-normal">
|
||||
<?php echo $beforeDisplayContent; ?>
|
||||
<?php if ($this->params->get('show_description') && $this->category->description) : ?>
|
||||
<?php echo HTMLHelper::_('content.prepare', $this->category->description, '', 'com_content.category'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $afterDisplayContent; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="wrapperblog redbrown <?php echo $this->params->get('blog_class') ?>">
|
||||
<?php if (empty($this->lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?>
|
||||
<?php if ($this->params->get('show_no_articles', 1)) : ?>
|
||||
<div class="container">
|
||||
<div class="alert alert-info">
|
||||
<span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span>
|
||||
<?php echo Text::_('COM_CONTENT_NO_ARTICLES'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->children[$this->category->id]) : ?>
|
||||
<div class="wrapper-subcategorie">
|
||||
<?php foreach ($this->children[$this->category->id] as $kategorie) : ?>
|
||||
<section class="py-5">
|
||||
<div class="container">
|
||||
<div class="title-section ms-3 mb-2">
|
||||
<h2 class="h4"><?php echo $kategorie->title; ?></h2>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?php $kategoriereset = 0; ?>
|
||||
<?php if (!empty($this->intro_items)) : ?>
|
||||
<?php if ($kategorie->title == "Notizie") {?>
|
||||
<div class="col-12">
|
||||
<div class="owl-carousel owl-theme carousel-theme" id="carosellonotizie">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
if ($item->catid !== $kategorie->id) {
|
||||
continue;
|
||||
}
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('itemsottocategorie');
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } elseif ($kategorie->title == "Circolari") { ?>
|
||||
<div class="col-12">
|
||||
<div class="owl-carousel owl-theme carousel-theme" id="carosellocircolari">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
if ($item->catid !== $kategorie->id) {
|
||||
continue;
|
||||
} ?>
|
||||
|
||||
<?php
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('itemsottocategorienoimg'); ?>
|
||||
|
||||
<?php
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } elseif ($kategorie->title == "Eventi") { ?>
|
||||
<div class="col-12">
|
||||
<div class="owl-carousel owl-theme carousel-theme" id="caroselloeventi">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
if ($item->catid !== $kategorie->id) {
|
||||
continue;
|
||||
} ?>
|
||||
|
||||
<?php
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('itemsottocategorienoimg'); ?>
|
||||
|
||||
<?php
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<div class="text-center pt-3">
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($kategorie->id, $kategorie->language)); ?>" class="text-underline small">Vedi tutti</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php elseif (!empty($this->intro_items)) : ?>
|
||||
<section class="bg-white border-top border-bottom d-block d-lg-none">
|
||||
<div class="container d-flex justify-content-between align-items-center py-3">
|
||||
<h3 class="h6 text-uppercase mb-0 label-filter"><strong>Filtri</strong></h3>
|
||||
<a class="toggle-filtri" href="#" aria-label="filtri" id="filtri-tipologia" title="Filtra per tipologia">
|
||||
<svg class="icon icon-sm">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-funnel"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bg-gray-light">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="tipologia-menu col-lg-3 bg-white bg-white-left">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="d-flex d-lg-none mb-3 align-items-center">
|
||||
<a class="toggle-filtri pe-2" href="#" aria-label="chiudi filtri" id="back-filtri-tipologia" title="Chiudi i filtri per tipologia">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-arrow-left"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<p class="h6 mb-0 label-filter lh100"><strong>Filtri</strong></p>
|
||||
</div>
|
||||
<h2 class="h6 text-uppercase"><strong>Tipologia</strong></h2>
|
||||
<?php
|
||||
// Mostro le categorie che hanno la stessa categoria parent
|
||||
$db = Factory::getContainer()->get('DatabaseDriver');
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
$query->select($db->quoteName(array('title', 'id','language')))
|
||||
->from($db->quoteName('#__categories'))
|
||||
->where($db->quoteName('parent_id') . ' = '. $this->category->parent_id)
|
||||
->where($db->quoteName('extension') . ' = ' . $db->quote('com_content'));
|
||||
$db->setQuery($query);
|
||||
$rows = $db->loadObjectList();
|
||||
?>
|
||||
|
||||
<ul class="">
|
||||
<?php foreach ($rows as $row) : ?>
|
||||
<div class="form-check my-0">
|
||||
<li class="catsamelevel">
|
||||
<input type="RADIO" value="<?php echo Route::_(RouteHelper::getCategoryRoute($row->id, $row->language)); ?>" onchange="window.open(this.value, '_self')" name="<?php echo $row->title; ?>" id="check-<?php echo $row->title; ?>" <?php echo ($catactive == $row->title) ? ('checked') :''; ?>>
|
||||
<label class="mb-0" for="check-<?php echo $row->title; ?>"><?php echo $row->title; ?></label>
|
||||
</li>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="col-lg-8 col-xl-7 offset-lg-1 pt84">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('item');
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($this->link_items)) : ?>
|
||||
<div class="items-more">
|
||||
<?php echo $this->loadTemplate('links'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (($this->params->def('show_pagination', 1) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?>
|
||||
<div class="com-content-category-blog__navigation w-100">
|
||||
<?php if ($this->params->def('show_pagination_results', 1)) : ?>
|
||||
<p class="com-content-category-blog__counter counter float-end pt-3 pe-2">
|
||||
<?php echo $this->pagination->getPagesCounter(); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<div class="com-content-category-blog__pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
$lang = Factory::getLanguage();
|
||||
$user = Factory::getUser();
|
||||
$groups = $user->getAuthorisedViewLevels();
|
||||
|
||||
if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?>
|
||||
<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
|
||||
<?php // Check whether category access level allows access to subcategories. ?>
|
||||
<?php if (in_array($child->access, $groups)) : ?>
|
||||
<?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?>
|
||||
<div class="com-content-category-blog__child">
|
||||
<?php if ($lang->isRtl()) : ?>
|
||||
<h3 class="page-header item-title">
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info tip">
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php else : ?>
|
||||
<h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?>
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_subcat_desc') == 1) : ?>
|
||||
<?php if ($child->description) : ?>
|
||||
<div class="com-content-category-blog__description category-desc">
|
||||
<?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<div class="com-content-category-blog__children collapse fade" id="category-<?php echo $child->id; ?>">
|
||||
<?php
|
||||
$this->children[$child->id] = $child->getChildren();
|
||||
$this->category = $child;
|
||||
$this->maxLevel--;
|
||||
echo $this->loadTemplate('children');
|
||||
$this->category = $child->getParent();
|
||||
$this->maxLevel++;
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif;
|
||||
@ -1,95 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-bg card-article card-article-greendark">
|
||||
<div class="card-body">
|
||||
<div class="card-article-img d-none d-lg-block">
|
||||
<?php // Content is generated by content plugin event "onContentBeforeDisplay" ?>
|
||||
<?php echo $this->item->event->beforeDisplayContent; ?>
|
||||
|
||||
<?php if($introimg->image_intro ==''){ ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" title="service-link"><svg class="icon-greendark svg-newspaper"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="<?= $baseImagePath ?>sprites.svg#it-note"></use></svg></a>
|
||||
<?php } else{
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-article-content">
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php //echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -1,94 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
|
||||
$baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100 m-3">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
<div class="card-body">
|
||||
<div class="card-icon-content d-flex align-items-center">
|
||||
<div class="card-news-img me-3">
|
||||
<?php if($introimg->image_intro ==''){ ?>
|
||||
<figure>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<img src="<?= $baseImagePath ?>imgsegnaposto.jpg" class="img-fluid"/>
|
||||
</a>
|
||||
</figure>
|
||||
<?php } else{
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 80, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -1,81 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100 m-3">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
<div class="card-body">
|
||||
<div class="card-icon-content d-flex align-items-center">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 80, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
?>
|
||||
|
||||
<ol class="com-content-blog__links">
|
||||
<?php foreach ($this->link_items as $item) : ?>
|
||||
<li class="com-content-blog__link">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php echo $item->title; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
File diff suppressed because one or more lines are too long
@ -1,698 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Blog per le categorie della sezione luoghi della scuola" option="luoghi">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
</message>
|
||||
</layout>
|
||||
|
||||
<!-- Add fields to the request variables for the layout. -->
|
||||
<fields name="request">
|
||||
<fieldset name="request"
|
||||
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
||||
>
|
||||
<field
|
||||
name="id"
|
||||
type="modal_category"
|
||||
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
|
||||
extension="com_content"
|
||||
required="true"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="filter_tag"
|
||||
type="tag"
|
||||
label="JTAG"
|
||||
multiple="true"
|
||||
mode="nested"
|
||||
custom="deny"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<!-- Add fields to the parameters object for the layout. -->
|
||||
<fields name="params">
|
||||
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
|
||||
<field
|
||||
name="layout_type"
|
||||
type="hidden"
|
||||
default="blog"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_category_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_TITLE"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description_image"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="maxLevel"
|
||||
type="list"
|
||||
label="JGLOBAL_MAXLEVEL_LABEL"
|
||||
description="JGLOBAL_MAXLEVEL_DESC"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_empty_categories"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_no_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NO_ARTICLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category_heading_title_text"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_HEADING"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcat_desc"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL">
|
||||
|
||||
<field
|
||||
name="num_leading_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class_leading"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS_LEADING"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_intro_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS"
|
||||
description="JGLOBAL_BLOG_CLASS_NOTE_DESC"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_columns"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="multi_column_order"
|
||||
type="list"
|
||||
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_BLOG_DOWN_OPTION</option>
|
||||
<option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="num_links"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_featured"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="show">JSHOW</option>
|
||||
<option value="hide">JHIDE</option>
|
||||
<option value="only">JONLY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_intro_image"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcategory_content"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
<field
|
||||
name="orderby_pri"
|
||||
type="list"
|
||||
label="JGLOBAL_CATEGORY_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2"
|
||||
>
|
||||
<option value="none">JGLOBAL_NO_ORDER</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="orderby_sec"
|
||||
type="list"
|
||||
label="JGLOBAL_ARTICLE_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="front">COM_CONTENT_FEATURED_ORDER</option>
|
||||
<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
|
||||
<option value="date">JGLOBAL_OLDEST_FIRST</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
|
||||
<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
|
||||
<option value="hits" requires="hits">JGLOBAL_MOST_HITS</option>
|
||||
<option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option>
|
||||
<option value="random">JGLOBAL_RANDOM_ORDER</option>
|
||||
<option value="order">JGLOBAL_ORDERING</option>
|
||||
<option value="rorder">JGLOBAL_REVERSE_ORDERING</option>
|
||||
<option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option>
|
||||
<option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option>
|
||||
<option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option>
|
||||
<option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="order_date"
|
||||
type="list"
|
||||
label="JGLOBAL_ORDERING_DATE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="created">JGLOBAL_CREATED</option>
|
||||
<option value="modified">JGLOBAL_MODIFIED</option>
|
||||
<option value="published">JPUBLISHED</option>
|
||||
<option value="unpublished">JUNPUBLISHED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
<option value="2">JGLOBAL_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination_results"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="article"
|
||||
label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL"
|
||||
addfieldprefix="Joomla\Component\Content\Administrator\Field"
|
||||
>
|
||||
|
||||
<field
|
||||
name="article_layout"
|
||||
type="componentlayout"
|
||||
label="JGLOBAL_FIELD_LAYOUT_LABEL"
|
||||
description="JGLOBAL_FIELD_LAYOUT_DESC"
|
||||
class="form-select"
|
||||
menuitems="true"
|
||||
extension="com_content"
|
||||
view="article"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_titles"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_TITLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_intro"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_INTRO_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_position"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
|
||||
<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
|
||||
<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_show_title"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_associations"
|
||||
type="assoc"
|
||||
label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_author"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_author"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_create_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_modify_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_publish_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_item_navigation"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_NAVIGATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_vote"
|
||||
type="votelist"
|
||||
label="JGLOBAL_SHOW_VOTE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_LABEL"
|
||||
description="JGLOBAL_SHOW_READMORE_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_hits"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_HITS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_noauth"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
|
||||
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
|
||||
<field
|
||||
name="show_feed_link"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="feed_summary"
|
||||
type="list"
|
||||
label="JGLOBAL_FEED_SUMMARY_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_INTRO_TEXT</option>
|
||||
<option value="1">JGLOBAL_FULL_TEXT</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</metadata>
|
||||
@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
$lang = Factory::getLanguage();
|
||||
$user = Factory::getUser();
|
||||
$groups = $user->getAuthorisedViewLevels();
|
||||
|
||||
if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?>
|
||||
<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
|
||||
<?php // Check whether category access level allows access to subcategories. ?>
|
||||
<?php if (in_array($child->access, $groups)) : ?>
|
||||
<?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?>
|
||||
<div class="com-content-category-blog__child">
|
||||
<?php if ($lang->isRtl()) : ?>
|
||||
<h3 class="page-header item-title">
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info tip">
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php else : ?>
|
||||
<h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?>
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_subcat_desc') == 1) : ?>
|
||||
<?php if ($child->description) : ?>
|
||||
<div class="com-content-category-blog__description category-desc">
|
||||
<?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<div class="com-content-category-blog__children collapse fade" id="category-<?php echo $child->id; ?>">
|
||||
<?php
|
||||
$this->children[$child->id] = $child->getChildren();
|
||||
$this->category = $child;
|
||||
$this->maxLevel--;
|
||||
echo $this->loadTemplate('children');
|
||||
$this->category = $child->getParent();
|
||||
$this->maxLevel++;
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif;
|
||||
@ -1,94 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-bg card-article card-article-redbrown">
|
||||
<div class="card-body">
|
||||
<div class="card-article-img d-none d-lg-block">
|
||||
<?php if ($introimg->image_intro =='') {
|
||||
?>
|
||||
<figure><a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" title="service-link"><img src="<?= $baseImagePath ?>imgsegnaposto.jpg" class="img-fluid" alt="immagine-segnaposto"/></a></figure>
|
||||
<?php
|
||||
} else {
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-article-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php //echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags);?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -1,87 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" data-element="service-link">
|
||||
<div class="card-body">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-map-marker"></use>
|
||||
</svg>
|
||||
<div class="card-icon-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
<?php echo $this->item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
?>
|
||||
|
||||
<ol class="com-content-blog__links">
|
||||
<?php foreach ($this->link_items as $item) : ?>
|
||||
<li class="com-content-blog__link">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php echo $item->title; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
@ -1,244 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\FileLayout;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
$url = Uri::root();
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
$this->category->text = $this->category->description;
|
||||
$app->triggerEvent('onContentPrepare', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$this->category->description = $this->category->text;
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayTitle = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$beforeDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$htag = $this->params->get('show_page_heading') ? 'h2' : 'h1';
|
||||
|
||||
//echo json_encode($this->category);
|
||||
//echo $this->category->parent_id;
|
||||
$catactive = $this->category->title;
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<div class="blogj4a blog-category" itemscope itemtype="https://schema.org/Blog">
|
||||
<section class="section bg-greendark bg-greendarkgradient py-5 position-relative d-flex align-items-center overflow-hidden">
|
||||
<div class="green-square-forms">
|
||||
<svg width="100%" height="100%" viewBox="0 0 726 360" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"><g id="Group" opacity="0.32"><path id="Rectangle" d="M627.751,245.625l-396.368,-193.321l-193.322,396.368l396.368,193.321l193.322,-396.368Z" style="fill:url(#_Linear1);"></path><path id="Rectangle1" serif:id="Rectangle" d="M583.359,-179.506l-264.865,159.147l159.147,264.865l264.865,-159.147l-159.147,-264.865Z" style="fill:url(#_Linear2);"></path><path id="Rectangle2" serif:id="Rectangle" d="M210.182,-54.565l-213.341,33.79l33.79,213.34l213.341,-33.79l-33.79,-213.34Z" style="fill:url(#_Linear3);"></path></g><defs><linearGradient id="_Linear1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(203.046,589.69,-589.69,203.046,231.383,52.3035)"><stop offset="0" style="stop-color:#0f842e;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient><linearGradient id="_Linear2" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(344.438,-26.7144,26.7144,344.438,398.068,112.073)"><stop offset="0" style="stop-color:#0e8a5f;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient><linearGradient id="_Linear3" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" gradientTransform="matrix(230.236,72.8805,-72.8805,230.236,13.7359,85.8949)"><stop offset="0" style="stop-color:#0e8a5f;stop-opacity:1"></stop><stop offset="1" style="stop-color:#00838f;stop-opacity:1"></stop></linearGradient></defs>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<div class="hero-title text-left">
|
||||
<?php if ($this->params->get('show_category_title', 1)) : ?>
|
||||
<h1><?php echo $this->category->title; ?></h1>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->params->get('show_page_heading')) : ?>
|
||||
<h1><?php echo $this->escape($this->params->get('page_heading')); ?> </h1>
|
||||
<?php endif; ?>
|
||||
<?php echo $afterDisplayTitle; ?>
|
||||
<?php if ($this->params->get('show_cat_tags', 1) && !empty($this->category->tags->itemTags)) : ?>
|
||||
<?php $this->category->tagLayout = new FileLayout('joomla.content.tags'); ?>
|
||||
<?php echo $this->category->tagLayout->render($this->category->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if ($beforeDisplayContent || $afterDisplayContent || $this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
|
||||
<div class="category-desc clearfix h4 font-weight-normal">
|
||||
<?php echo $beforeDisplayContent; ?>
|
||||
<?php if ($this->params->get('show_description') && $this->category->description) : ?>
|
||||
<?php echo HTMLHelper::_('content.prepare', $this->category->description, '', 'com_content.category'); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo $afterDisplayContent; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<div class="wrapperblog redbrown <?php echo $this->params->get('blog_class') ?>">
|
||||
<?php if (empty($this->lead_items) && empty($this->link_items) && empty($this->intro_items)) : ?>
|
||||
<?php if ($this->params->get('show_no_articles', 1)) : ?>
|
||||
<div class="container">
|
||||
<div class="alert alert-info">
|
||||
<span class="icon-info-circle" aria-hidden="true"></span><span class="visually-hidden"><?php echo Text::_('INFO'); ?></span>
|
||||
<?php echo Text::_('COM_CONTENT_NO_ARTICLES'); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->children[$this->category->id]) : ?>
|
||||
<div class="wrapper-subcategorie">
|
||||
<?php foreach ($this->children[$this->category->id] as $kategorie) : ?>
|
||||
<section class="py-5">
|
||||
<div class="container">
|
||||
<div class="title-section ms-3 mb-2">
|
||||
<h2 class="h4"><?php echo $kategorie->title; ?></h2>
|
||||
</div>
|
||||
<div class="row">
|
||||
<?php $kategoriereset = 0; ?>
|
||||
<?php if (!empty($this->intro_items)) : ?>
|
||||
<?php if ($kategorie->title == "Notizie") {?>
|
||||
<div class="col-12">
|
||||
<div class="owl-carousel owl-theme carousel-theme" id="carosellonotizie">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
if ($item->catid !== $kategorie->id) {
|
||||
continue;
|
||||
}
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('itemsottocategorie');
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } elseif ($kategorie->title == "Circolari") { ?>
|
||||
<div class="col-12">
|
||||
<div class="owl-carousel owl-theme carousel-theme" id="carosellocircolari">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
if ($item->catid !== $kategorie->id) {
|
||||
continue;
|
||||
} ?>
|
||||
|
||||
<?php
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('itemsottocategorienoimg'); ?>
|
||||
|
||||
<?php
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } elseif ($kategorie->title == "Eventi") { ?>
|
||||
<div class="col-12">
|
||||
<div class="owl-carousel owl-theme carousel-theme" id="caroselloeventi">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
if ($item->catid !== $kategorie->id) {
|
||||
continue;
|
||||
} ?>
|
||||
|
||||
<?php
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('itemsottocategorienoimg'); ?>
|
||||
|
||||
<?php
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
<div class="text-center pt-3">
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($kategorie->id, $kategorie->language)); ?>" class="text-underline small">Vedi tutti</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php elseif (!empty($this->intro_items)) : ?>
|
||||
<section class="bg-white border-top border-bottom d-block d-lg-none">
|
||||
<div class="container d-flex justify-content-between align-items-center py-3">
|
||||
<h3 class="h6 text-uppercase mb-0 label-filter"><strong>Filtri</strong></h3>
|
||||
<a class="toggle-filtri" href="#" aria-label="filtri" id="filtri-tipologia" title="Filtra per tipologia">
|
||||
<svg class="icon icon-sm">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-funnel"></use>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="bg-gray-light">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="tipologia-menu col-lg-3 bg-white bg-white-left">
|
||||
<aside class="aside-list aside-sticky">
|
||||
<div class="d-flex d-lg-none mb-3 align-items-center">
|
||||
<a class="toggle-filtri pe-2" href="#" aria-label="chiudi filtri" id="back-filtri-tipologia" title="Chiudi i filtri per tipologia">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-arrow-left"></use>
|
||||
</svg>
|
||||
</a>
|
||||
<p class="h6 mb-0 label-filter lh100"><strong>Filtri</strong></p>
|
||||
</div>
|
||||
<h2 class="h6 text-uppercase"><strong>Tipologia</strong></h2>
|
||||
<?php
|
||||
// Mostro le categorie che hanno la stessa categoria parent
|
||||
$db = Factory::getContainer()->get('DatabaseDriver');
|
||||
$query = $db->getQuery(true);
|
||||
|
||||
$query->select($db->quoteName(array('title', 'id','language')))
|
||||
->from($db->quoteName('#__categories'))
|
||||
->where($db->quoteName('parent_id') . ' = '. $this->category->parent_id)
|
||||
->where($db->quoteName('extension') . ' = ' . $db->quote('com_content'));
|
||||
$db->setQuery($query);
|
||||
$rows = $db->loadObjectList();
|
||||
?>
|
||||
|
||||
<ul class="">
|
||||
<?php foreach ($rows as $row) : ?>
|
||||
<div class="form-check my-0">
|
||||
<li class="catsamelevel">
|
||||
<input type="RADIO" value="<?php echo Route::_(RouteHelper::getCategoryRoute($row->id, $row->language)); ?>" onchange="window.open(this.value, '_self')" name="<?php echo $row->title; ?>" id="check-<?php echo $row->title; ?>" <?php echo ($catactive == $row->title) ? ('checked') :''; ?>>
|
||||
<label class="mb-0" for="check-<?php echo $row->title; ?>"><?php echo $row->title; ?></label>
|
||||
</li>
|
||||
</div>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
<div class="col-lg-8 col-xl-7 offset-lg-1 pt84">
|
||||
<?php foreach ($this->intro_items as $key => &$item) :
|
||||
$this->item = & $item;
|
||||
echo $this->loadTemplate('item');
|
||||
endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (!empty($this->link_items)) : ?>
|
||||
<div class="items-more">
|
||||
<?php echo $this->loadTemplate('links'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (($this->params->def('show_pagination', 1) == 1 || ($this->params->get('show_pagination') == 2)) && ($this->pagination->pagesTotal > 1)) : ?>
|
||||
<div class="com-content-category-blog__navigation w-100">
|
||||
<?php if ($this->params->def('show_pagination_results', 1)) : ?>
|
||||
<p class="com-content-category-blog__counter counter float-end pt-3 pe-2">
|
||||
<?php echo $this->pagination->getPagesCounter(); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
<div class="com-content-category-blog__pagination">
|
||||
<?php echo $this->pagination->getPagesLinks(); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
@ -1,698 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Blog per le categorie della sezione Novità" option="novita">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
</message>
|
||||
</layout>
|
||||
|
||||
<!-- Add fields to the request variables for the layout. -->
|
||||
<fields name="request">
|
||||
<fieldset name="request"
|
||||
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
||||
>
|
||||
<field
|
||||
name="id"
|
||||
type="modal_category"
|
||||
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
|
||||
extension="com_content"
|
||||
required="true"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="filter_tag"
|
||||
type="tag"
|
||||
label="JTAG"
|
||||
multiple="true"
|
||||
mode="nested"
|
||||
custom="deny"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<!-- Add fields to the parameters object for the layout. -->
|
||||
<fields name="params">
|
||||
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
|
||||
<field
|
||||
name="layout_type"
|
||||
type="hidden"
|
||||
default="blog"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_category_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_TITLE"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description_image"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="maxLevel"
|
||||
type="list"
|
||||
label="JGLOBAL_MAXLEVEL_LABEL"
|
||||
description="JGLOBAL_MAXLEVEL_DESC"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_empty_categories"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_no_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NO_ARTICLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category_heading_title_text"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_HEADING"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcat_desc"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL">
|
||||
|
||||
<field
|
||||
name="num_leading_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class_leading"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS_LEADING"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_intro_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS"
|
||||
description="JGLOBAL_BLOG_CLASS_NOTE_DESC"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_columns"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="multi_column_order"
|
||||
type="list"
|
||||
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_BLOG_DOWN_OPTION</option>
|
||||
<option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="num_links"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_featured"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="show">JSHOW</option>
|
||||
<option value="hide">JHIDE</option>
|
||||
<option value="only">JONLY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_intro_image"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcategory_content"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
<field
|
||||
name="orderby_pri"
|
||||
type="list"
|
||||
label="JGLOBAL_CATEGORY_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2"
|
||||
>
|
||||
<option value="none">JGLOBAL_NO_ORDER</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="orderby_sec"
|
||||
type="list"
|
||||
label="JGLOBAL_ARTICLE_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="front">COM_CONTENT_FEATURED_ORDER</option>
|
||||
<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
|
||||
<option value="date">JGLOBAL_OLDEST_FIRST</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
|
||||
<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
|
||||
<option value="hits" requires="hits">JGLOBAL_MOST_HITS</option>
|
||||
<option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option>
|
||||
<option value="random">JGLOBAL_RANDOM_ORDER</option>
|
||||
<option value="order">JGLOBAL_ORDERING</option>
|
||||
<option value="rorder">JGLOBAL_REVERSE_ORDERING</option>
|
||||
<option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option>
|
||||
<option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option>
|
||||
<option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option>
|
||||
<option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="order_date"
|
||||
type="list"
|
||||
label="JGLOBAL_ORDERING_DATE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="created">JGLOBAL_CREATED</option>
|
||||
<option value="modified">JGLOBAL_MODIFIED</option>
|
||||
<option value="published">JPUBLISHED</option>
|
||||
<option value="unpublished">JUNPUBLISHED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
<option value="2">JGLOBAL_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination_results"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="article"
|
||||
label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL"
|
||||
addfieldprefix="Joomla\Component\Content\Administrator\Field"
|
||||
>
|
||||
|
||||
<field
|
||||
name="article_layout"
|
||||
type="componentlayout"
|
||||
label="JGLOBAL_FIELD_LAYOUT_LABEL"
|
||||
description="JGLOBAL_FIELD_LAYOUT_DESC"
|
||||
class="form-select"
|
||||
menuitems="true"
|
||||
extension="com_content"
|
||||
view="article"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_titles"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_TITLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_intro"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_INTRO_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_position"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
|
||||
<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
|
||||
<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_show_title"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_associations"
|
||||
type="assoc"
|
||||
label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_author"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_author"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_create_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_modify_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_publish_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_item_navigation"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_NAVIGATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_vote"
|
||||
type="votelist"
|
||||
label="JGLOBAL_SHOW_VOTE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_LABEL"
|
||||
description="JGLOBAL_SHOW_READMORE_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_hits"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_HITS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_noauth"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
|
||||
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
|
||||
<field
|
||||
name="show_feed_link"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="feed_summary"
|
||||
type="list"
|
||||
label="JGLOBAL_FEED_SUMMARY_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_INTRO_TEXT</option>
|
||||
<option value="1">JGLOBAL_FULL_TEXT</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</metadata>
|
||||
@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
$lang = Factory::getLanguage();
|
||||
$user = Factory::getUser();
|
||||
$groups = $user->getAuthorisedViewLevels();
|
||||
|
||||
if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?>
|
||||
<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
|
||||
<?php // Check whether category access level allows access to subcategories. ?>
|
||||
<?php if (in_array($child->access, $groups)) : ?>
|
||||
<?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?>
|
||||
<div class="com-content-category-blog__child">
|
||||
<?php if ($lang->isRtl()) : ?>
|
||||
<h3 class="page-header item-title">
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info tip">
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php else : ?>
|
||||
<h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?>
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_subcat_desc') == 1) : ?>
|
||||
<?php if ($child->description) : ?>
|
||||
<div class="com-content-category-blog__description category-desc">
|
||||
<?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<div class="com-content-category-blog__children collapse fade" id="category-<?php echo $child->id; ?>">
|
||||
<?php
|
||||
$this->children[$child->id] = $child->getChildren();
|
||||
$this->category = $child;
|
||||
$this->maxLevel--;
|
||||
echo $this->loadTemplate('children');
|
||||
$this->category = $child->getParent();
|
||||
$this->maxLevel++;
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif;
|
||||
@ -1,106 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$pubblicazione = $this->item->publish_up;
|
||||
//$pubblicazione = Factory::getDate()->format('d.M.Y');
|
||||
|
||||
$time = strtotime($pubblicazione);
|
||||
$day = date('d',$time);
|
||||
$month = date('M',$time);
|
||||
$year = date('Y',$time);
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-bg card-article card-article-greendark">
|
||||
<div class="card-body">
|
||||
<div class="card-article-img d-none d-lg-block">
|
||||
<div class="date">
|
||||
<span class="year"><?php echo $year;?></span>
|
||||
<span class="day"><?php echo $day;?></span>
|
||||
<span class="month"><?php echo $month;?></span>
|
||||
</div>
|
||||
<?php if($introimg->image_intro ==''){ ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" title="service-link"><svg class="icon-greendark svg-newspaper"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="<?= $baseImagePath ?>sprites.svg#it-note"></use></svg></a>
|
||||
<?php } else{
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-article-content">
|
||||
<?php // Content is generated by content plugin event "onContentBeforeDisplay" ?>
|
||||
<?php echo $this->item->event->beforeDisplayContent; ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php //echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -1,90 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100 m-3">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
<div class="card-body">
|
||||
<div class="card-icon-content d-flex align-items-center">
|
||||
<div class="card-news-img me-3">
|
||||
<?php if($introimg->image_intro =='') { ?>
|
||||
<figure>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<img src="<?= $baseImagePath ?>imgsegnaposto.jpg" class="img-fluid" alt="immagine-segnaposto"/>
|
||||
</a>
|
||||
</figure>
|
||||
<?php } else {
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 80, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -1,81 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100 m-3">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
<div class="card-body">
|
||||
<div class="card-icon-content d-flex align-items-center">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 80, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
?>
|
||||
|
||||
<ol class="com-content-blog__links">
|
||||
<?php foreach ($this->link_items as $item) : ?>
|
||||
<li class="com-content-blog__link">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php echo $item->title; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
File diff suppressed because one or more lines are too long
@ -1,698 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Blog per le categorie della sezione organizzazione della scuola" option="organizzazione">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
</message>
|
||||
</layout>
|
||||
|
||||
<!-- Add fields to the request variables for the layout. -->
|
||||
<fields name="request">
|
||||
<fieldset name="request"
|
||||
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
||||
>
|
||||
<field
|
||||
name="id"
|
||||
type="modal_category"
|
||||
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
|
||||
extension="com_content"
|
||||
required="true"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="filter_tag"
|
||||
type="tag"
|
||||
label="JTAG"
|
||||
multiple="true"
|
||||
mode="nested"
|
||||
custom="deny"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<!-- Add fields to the parameters object for the layout. -->
|
||||
<fields name="params">
|
||||
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
|
||||
<field
|
||||
name="layout_type"
|
||||
type="hidden"
|
||||
default="blog"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_category_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_TITLE"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description_image"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="maxLevel"
|
||||
type="list"
|
||||
label="JGLOBAL_MAXLEVEL_LABEL"
|
||||
description="JGLOBAL_MAXLEVEL_DESC"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_empty_categories"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_no_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NO_ARTICLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category_heading_title_text"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_HEADING"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcat_desc"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL">
|
||||
|
||||
<field
|
||||
name="num_leading_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class_leading"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS_LEADING"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_intro_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS"
|
||||
description="JGLOBAL_BLOG_CLASS_NOTE_DESC"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_columns"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="multi_column_order"
|
||||
type="list"
|
||||
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_BLOG_DOWN_OPTION</option>
|
||||
<option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="num_links"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_featured"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="show">JSHOW</option>
|
||||
<option value="hide">JHIDE</option>
|
||||
<option value="only">JONLY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_intro_image"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcategory_content"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
<field
|
||||
name="orderby_pri"
|
||||
type="list"
|
||||
label="JGLOBAL_CATEGORY_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2"
|
||||
>
|
||||
<option value="none">JGLOBAL_NO_ORDER</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="orderby_sec"
|
||||
type="list"
|
||||
label="JGLOBAL_ARTICLE_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="front">COM_CONTENT_FEATURED_ORDER</option>
|
||||
<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
|
||||
<option value="date">JGLOBAL_OLDEST_FIRST</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
|
||||
<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
|
||||
<option value="hits" requires="hits">JGLOBAL_MOST_HITS</option>
|
||||
<option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option>
|
||||
<option value="random">JGLOBAL_RANDOM_ORDER</option>
|
||||
<option value="order">JGLOBAL_ORDERING</option>
|
||||
<option value="rorder">JGLOBAL_REVERSE_ORDERING</option>
|
||||
<option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option>
|
||||
<option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option>
|
||||
<option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option>
|
||||
<option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="order_date"
|
||||
type="list"
|
||||
label="JGLOBAL_ORDERING_DATE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="created">JGLOBAL_CREATED</option>
|
||||
<option value="modified">JGLOBAL_MODIFIED</option>
|
||||
<option value="published">JPUBLISHED</option>
|
||||
<option value="unpublished">JUNPUBLISHED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
<option value="2">JGLOBAL_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination_results"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="article"
|
||||
label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL"
|
||||
addfieldprefix="Joomla\Component\Content\Administrator\Field"
|
||||
>
|
||||
|
||||
<field
|
||||
name="article_layout"
|
||||
type="componentlayout"
|
||||
label="JGLOBAL_FIELD_LAYOUT_LABEL"
|
||||
description="JGLOBAL_FIELD_LAYOUT_DESC"
|
||||
class="form-select"
|
||||
menuitems="true"
|
||||
extension="com_content"
|
||||
view="article"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_titles"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_TITLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_intro"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_INTRO_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_position"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
|
||||
<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
|
||||
<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_show_title"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_associations"
|
||||
type="assoc"
|
||||
label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_author"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_author"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_create_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_modify_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_publish_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_item_navigation"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_NAVIGATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_vote"
|
||||
type="votelist"
|
||||
label="JGLOBAL_SHOW_VOTE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_LABEL"
|
||||
description="JGLOBAL_SHOW_READMORE_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_hits"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_HITS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_noauth"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
|
||||
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
|
||||
<field
|
||||
name="show_feed_link"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="feed_summary"
|
||||
type="list"
|
||||
label="JGLOBAL_FEED_SUMMARY_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_INTRO_TEXT</option>
|
||||
<option value="1">JGLOBAL_FULL_TEXT</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</metadata>
|
||||
@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
$lang = Factory::getLanguage();
|
||||
$user = Factory::getUser();
|
||||
$groups = $user->getAuthorisedViewLevels();
|
||||
|
||||
if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?>
|
||||
<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
|
||||
<?php // Check whether category access level allows access to subcategories. ?>
|
||||
<?php if (in_array($child->access, $groups)) : ?>
|
||||
<?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?>
|
||||
<div class="com-content-category-blog__child">
|
||||
<?php if ($lang->isRtl()) : ?>
|
||||
<h3 class="page-header item-title">
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info tip">
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php else : ?>
|
||||
<h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?>
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_subcat_desc') == 1) : ?>
|
||||
<?php if ($child->description) : ?>
|
||||
<div class="com-content-category-blog__description category-desc">
|
||||
<?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<div class="com-content-category-blog__children collapse fade" id="category-<?php echo $child->id; ?>">
|
||||
<?php
|
||||
$this->children[$child->id] = $child->getChildren();
|
||||
$this->category = $child;
|
||||
$this->maxLevel--;
|
||||
echo $this->loadTemplate('children');
|
||||
$this->category = $child->getParent();
|
||||
$this->maxLevel++;
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif;
|
||||
@ -1,89 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath= Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-bg card-article card-article-redbrown">
|
||||
<div class="card-body">
|
||||
<div class="card-article-img d-none d-lg-block">
|
||||
<?php if($introimg->image_intro =='') { ?>
|
||||
<figure><a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" title="service-link"><img src="<?= $baseImagePath ?>imgsegnaposto.jpg" class="img-fluid" alt="immagine-segnaposto"/></a></figure>
|
||||
<?php } else {
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-article-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php //echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags);?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -1,87 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<div class="card card-servizi card-bg card-icon rounded h-100">
|
||||
<?php if ($isUnpublished) : ?>
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" data-element="service-link">
|
||||
<div class="card-body">
|
||||
<svg class="icon">
|
||||
<use xlink:href="<?= $baseImagePath ?>sprites.svg#it-pa"></use>
|
||||
</svg>
|
||||
<div class="card-icon-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_sottocategoria_item_title', $this->item); ?>
|
||||
<?php echo $this->item->event->afterDisplayTitle; ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
<small><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></small>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
?>
|
||||
|
||||
<ol class="com-content-blog__links">
|
||||
<?php foreach ($this->link_items as $item) : ?>
|
||||
<li class="com-content-blog__link">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php echo $item->title; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
@ -1,49 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\FileLayout;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
$url = Uri::root();
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
$this->category->text = $this->category->description;
|
||||
$app->triggerEvent('onContentPrepare', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$this->category->description = $this->category->text;
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayTitle = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$beforeDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$htag = $this->params->get('show_page_heading') ? 'h2' : 'h1';
|
||||
|
||||
//echo json_encode($this->category);
|
||||
//echo $this->category->parent_id;
|
||||
$catactive = $this->category->title;
|
||||
|
||||
$imgdesc = $this->category->getParams()->get('image')
|
||||
|
||||
?>
|
||||
|
||||
|
||||
@ -1,698 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Pagina Didattica" option="paginadidattica">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
</message>
|
||||
</layout>
|
||||
|
||||
<!-- Add fields to the request variables for the layout. -->
|
||||
<fields name="request">
|
||||
<fieldset name="request"
|
||||
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
||||
>
|
||||
<field
|
||||
name="id"
|
||||
type="modal_category"
|
||||
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
|
||||
extension="com_content"
|
||||
required="true"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="filter_tag"
|
||||
type="tag"
|
||||
label="JTAG"
|
||||
multiple="true"
|
||||
mode="nested"
|
||||
custom="deny"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<!-- Add fields to the parameters object for the layout. -->
|
||||
<fields name="params">
|
||||
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
|
||||
<field
|
||||
name="layout_type"
|
||||
type="hidden"
|
||||
default="blog"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_category_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_TITLE"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description_image"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="maxLevel"
|
||||
type="list"
|
||||
label="JGLOBAL_MAXLEVEL_LABEL"
|
||||
description="JGLOBAL_MAXLEVEL_DESC"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_empty_categories"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_no_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NO_ARTICLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category_heading_title_text"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_HEADING"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcat_desc"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL">
|
||||
|
||||
<field
|
||||
name="num_leading_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class_leading"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS_LEADING"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_intro_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS"
|
||||
description="JGLOBAL_BLOG_CLASS_NOTE_DESC"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_columns"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="multi_column_order"
|
||||
type="list"
|
||||
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_BLOG_DOWN_OPTION</option>
|
||||
<option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="num_links"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_featured"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="show">JSHOW</option>
|
||||
<option value="hide">JHIDE</option>
|
||||
<option value="only">JONLY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_intro_image"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcategory_content"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
<field
|
||||
name="orderby_pri"
|
||||
type="list"
|
||||
label="JGLOBAL_CATEGORY_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2"
|
||||
>
|
||||
<option value="none">JGLOBAL_NO_ORDER</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="orderby_sec"
|
||||
type="list"
|
||||
label="JGLOBAL_ARTICLE_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="front">COM_CONTENT_FEATURED_ORDER</option>
|
||||
<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
|
||||
<option value="date">JGLOBAL_OLDEST_FIRST</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
|
||||
<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
|
||||
<option value="hits" requires="hits">JGLOBAL_MOST_HITS</option>
|
||||
<option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option>
|
||||
<option value="random">JGLOBAL_RANDOM_ORDER</option>
|
||||
<option value="order">JGLOBAL_ORDERING</option>
|
||||
<option value="rorder">JGLOBAL_REVERSE_ORDERING</option>
|
||||
<option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option>
|
||||
<option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option>
|
||||
<option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option>
|
||||
<option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="order_date"
|
||||
type="list"
|
||||
label="JGLOBAL_ORDERING_DATE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="created">JGLOBAL_CREATED</option>
|
||||
<option value="modified">JGLOBAL_MODIFIED</option>
|
||||
<option value="published">JPUBLISHED</option>
|
||||
<option value="unpublished">JUNPUBLISHED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
<option value="2">JGLOBAL_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination_results"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="article"
|
||||
label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL"
|
||||
addfieldprefix="Joomla\Component\Content\Administrator\Field"
|
||||
>
|
||||
|
||||
<field
|
||||
name="article_layout"
|
||||
type="componentlayout"
|
||||
label="JGLOBAL_FIELD_LAYOUT_LABEL"
|
||||
description="JGLOBAL_FIELD_LAYOUT_DESC"
|
||||
class="form-select"
|
||||
menuitems="true"
|
||||
extension="com_content"
|
||||
view="article"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_titles"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_TITLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_intro"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_INTRO_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_position"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
|
||||
<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
|
||||
<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_show_title"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_associations"
|
||||
type="assoc"
|
||||
label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_author"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_author"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_create_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_modify_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_publish_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_item_navigation"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_NAVIGATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_vote"
|
||||
type="votelist"
|
||||
label="JGLOBAL_SHOW_VOTE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_LABEL"
|
||||
description="JGLOBAL_SHOW_READMORE_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_hits"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_HITS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_noauth"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
|
||||
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
|
||||
<field
|
||||
name="show_feed_link"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="feed_summary"
|
||||
type="list"
|
||||
label="JGLOBAL_FEED_SUMMARY_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_INTRO_TEXT</option>
|
||||
<option value="1">JGLOBAL_FULL_TEXT</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</metadata>
|
||||
@ -1,86 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Layout\FileLayout;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
|
||||
$url = Uri::root();
|
||||
|
||||
$app = Factory::getApplication();
|
||||
|
||||
$this->category->text = $this->category->description;
|
||||
$app->triggerEvent('onContentPrepare', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$this->category->description = $this->category->text;
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterTitle', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayTitle = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentBeforeDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$beforeDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$results = $app->triggerEvent('onContentAfterDisplay', [$this->category->extension . '.categories', &$this->category, &$this->params, 0]);
|
||||
$afterDisplayContent = trim(implode("\n", $results));
|
||||
|
||||
$htag = $this->params->get('show_page_heading') ? 'h2' : 'h1';
|
||||
|
||||
//echo json_encode($this->category);
|
||||
//echo $this->category->parent_id;
|
||||
$catactive = $this->category->title;
|
||||
|
||||
$imgdesc = $this->category->getParams()->get('image');
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<section class="section bg-white py-5 position-relative d-flex align-items-center overflow-hidden section-hero">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-md-5 text-center">
|
||||
<div class="hero-title">
|
||||
<?php if ($this->params->get('show_category_title', 1)) : ?>
|
||||
<small><?php echo $this->category->title; ?></small>
|
||||
<?php endif; ?>
|
||||
<?php if ($this->params->get('show_page_heading')) : ?>
|
||||
<small><?php echo $this->escape($this->params->get('page_heading')); ?> </small>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_description', 1) || $this->params->def('show_description_image', 1)) : ?>
|
||||
<h1>
|
||||
<?php if ($this->params->get('show_description') && $this->category->description) : ?>
|
||||
<?php echo strip_tags($this->category->description); ?>
|
||||
<?php endif; ?>
|
||||
</h1>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php if ($imgdesc !=''): ?>
|
||||
<div class="title-img" <?php echo LayoutHelper::render('joomla.html.bgimage', ['src' => $this->category->getParams()->get('image'),]); ?>></div>
|
||||
<?php else: ?>
|
||||
<div class="title-img" style="background-image: url('<?= $baseImagePath ?>imgsegnaposto.jpg')"></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php echo $afterDisplayTitle; ?>
|
||||
<?php echo $beforeDisplayContent; ?>
|
||||
<?php echo $afterDisplayContent; ?>
|
||||
@ -1,698 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<metadata>
|
||||
<layout title="Pagina Scuola" option="scuola">
|
||||
<help key = "Menu_Item:_Category_Blog" />
|
||||
<message>
|
||||
<![CDATA[COM_CONTENT_CATEGORY_VIEW_BLOG_DESC]]>
|
||||
</message>
|
||||
</layout>
|
||||
|
||||
<!-- Add fields to the request variables for the layout. -->
|
||||
<fields name="request">
|
||||
<fieldset name="request"
|
||||
addfieldprefix="Joomla\Component\Categories\Administrator\Field"
|
||||
>
|
||||
<field
|
||||
name="id"
|
||||
type="modal_category"
|
||||
label="JGLOBAL_CHOOSE_CATEGORY_LABEL"
|
||||
extension="com_content"
|
||||
required="true"
|
||||
select="true"
|
||||
new="true"
|
||||
edit="true"
|
||||
clear="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="filter_tag"
|
||||
type="tag"
|
||||
label="JTAG"
|
||||
multiple="true"
|
||||
mode="nested"
|
||||
custom="deny"
|
||||
/>
|
||||
</fieldset>
|
||||
</fields>
|
||||
|
||||
<!-- Add fields to the parameters object for the layout. -->
|
||||
<fields name="params">
|
||||
<fieldset name="basic" label="JGLOBAL_CATEGORY_OPTIONS">
|
||||
<field
|
||||
name="layout_type"
|
||||
type="hidden"
|
||||
default="blog"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_category_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_TITLE"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_description_image"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="maxLevel"
|
||||
type="list"
|
||||
label="JGLOBAL_MAXLEVEL_LABEL"
|
||||
description="JGLOBAL_MAXLEVEL_DESC"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_empty_categories"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_EMPTY_CATEGORIES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_no_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NO_ARTICLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category_heading_title_text"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_HEADING"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcat_desc"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORIES_DESCRIPTION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_num_articles"
|
||||
type="list"
|
||||
label="COM_CONTENT_NUMBER_CATEGORY_ITEMS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_cat_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_CAT_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="advanced" label="JGLOBAL_BLOG_LAYOUT_OPTIONS" description="JGLOBAL_SUBSLIDER_BLOG_LAYOUT_LABEL">
|
||||
|
||||
<field
|
||||
name="num_leading_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LEADING_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class_leading"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS_LEADING"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_intro_articles"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_INTRO_ARTICLES_LABEL"
|
||||
filter="integer"
|
||||
useglobal="true"
|
||||
parentclass="stack span-1"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="blog_class"
|
||||
type="text"
|
||||
label="JGLOBAL_BLOG_CLASS"
|
||||
description="JGLOBAL_BLOG_CLASS_NOTE_DESC"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="CssIdentifier"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="num_columns"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_COLUMNS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1-inline"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="multi_column_order"
|
||||
type="list"
|
||||
label="JGLOBAL_MULTI_COLUMN_ORDER_LABEL"
|
||||
parentclass="stack span-2-inline"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_BLOG_DOWN_OPTION</option>
|
||||
<option value="1">JGLOBAL_BLOG_ACROSS_OPTION</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="num_links"
|
||||
type="number"
|
||||
label="JGLOBAL_NUM_LINKS_LABEL"
|
||||
filter="integer"
|
||||
parentclass="stack span-1"
|
||||
useglobal="true"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_featured"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEATURED_ARTICLES_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="show">JSHOW</option>
|
||||
<option value="hide">JHIDE</option>
|
||||
<option value="only">JONLY</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_intro_image"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_INTRO_IMAGE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_subcategory_content"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_SUBCATEGORY_CONTENT_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JNONE</option>
|
||||
<option value="-1">JALL</option>
|
||||
<option value="1">J1</option>
|
||||
<option value="2">J2</option>
|
||||
<option value="3">J3</option>
|
||||
<option value="4">J4</option>
|
||||
<option value="5">J5</option>
|
||||
</field>
|
||||
<field
|
||||
name="orderby_pri"
|
||||
type="list"
|
||||
label="JGLOBAL_CATEGORY_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2"
|
||||
>
|
||||
<option value="none">JGLOBAL_NO_ORDER</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="order">JGLOBAL_CATEGORY_MANAGER_ORDER</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="orderby_sec"
|
||||
type="list"
|
||||
label="JGLOBAL_ARTICLE_ORDER_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="front">COM_CONTENT_FEATURED_ORDER</option>
|
||||
<option value="rdate">JGLOBAL_MOST_RECENT_FIRST</option>
|
||||
<option value="date">JGLOBAL_OLDEST_FIRST</option>
|
||||
<option value="alpha">JGLOBAL_TITLE_ALPHABETICAL</option>
|
||||
<option value="ralpha">JGLOBAL_TITLE_REVERSE_ALPHABETICAL</option>
|
||||
<option value="author">JGLOBAL_AUTHOR_ALPHABETICAL</option>
|
||||
<option value="rauthor">JGLOBAL_AUTHOR_REVERSE_ALPHABETICAL</option>
|
||||
<option value="hits" requires="hits">JGLOBAL_MOST_HITS</option>
|
||||
<option value="rhits" requires="hits">JGLOBAL_LEAST_HITS</option>
|
||||
<option value="random">JGLOBAL_RANDOM_ORDER</option>
|
||||
<option value="order">JGLOBAL_ORDERING</option>
|
||||
<option value="rorder">JGLOBAL_REVERSE_ORDERING</option>
|
||||
<option value="vote" requires="vote">JGLOBAL_VOTES_DESC</option>
|
||||
<option value="rvote" requires="vote">JGLOBAL_VOTES_ASC</option>
|
||||
<option value="rank" requires="vote">JGLOBAL_RATINGS_DESC</option>
|
||||
<option value="rrank" requires="vote">JGLOBAL_RATINGS_ASC</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="order_date"
|
||||
type="list"
|
||||
label="JGLOBAL_ORDERING_DATE_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
parentclass="stack span-2-inline"
|
||||
>
|
||||
<option value="created">JGLOBAL_CREATED</option>
|
||||
<option value="modified">JGLOBAL_MODIFIED</option>
|
||||
<option value="published">JPUBLISHED</option>
|
||||
<option value="unpublished">JUNPUBLISHED</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
<option value="2">JGLOBAL_AUTO</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_pagination_results"
|
||||
type="list"
|
||||
label="JGLOBAL_PAGINATION_RESULTS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
parentclass="stack span-1-inline"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="article"
|
||||
label="COM_CONTENT_ATTRIBS_FIELDSET_LABEL"
|
||||
addfieldprefix="Joomla\Component\Content\Administrator\Field"
|
||||
>
|
||||
|
||||
<field
|
||||
name="article_layout"
|
||||
type="componentlayout"
|
||||
label="JGLOBAL_FIELD_LAYOUT_LABEL"
|
||||
description="JGLOBAL_FIELD_LAYOUT_DESC"
|
||||
class="form-select"
|
||||
menuitems="true"
|
||||
extension="com_content"
|
||||
view="article"
|
||||
/>
|
||||
|
||||
<field
|
||||
name="show_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_titles"
|
||||
type="list"
|
||||
label="JGLOBAL_LINKED_TITLES_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_intro"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_INTRO_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_position"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_POSITION_LABEL"
|
||||
default=""
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">COM_CONTENT_FIELD_OPTION_ABOVE</option>
|
||||
<option value="1">COM_CONTENT_FIELD_OPTION_BELOW</option>
|
||||
<option value="2">COM_CONTENT_FIELD_OPTION_SPLIT</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="info_block_show_title"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_INFOBLOCK_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_parent_category"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_PARENT_CATEGORY_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_associations"
|
||||
type="assoc"
|
||||
label="JGLOBAL_SHOW_ASSOCIATIONS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_author"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="link_author"
|
||||
type="list"
|
||||
label="JGLOBAL_LINK_AUTHOR_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_create_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_CREATE_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_modify_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_MODIFY_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_publish_date"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_PUBLISH_DATE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_item_navigation"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_NAVIGATION_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_vote"
|
||||
type="votelist"
|
||||
label="JGLOBAL_SHOW_VOTE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_LABEL"
|
||||
description="JGLOBAL_SHOW_READMORE_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_readmore_title"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_READMORE_TITLE_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_hits"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_HITS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_tags"
|
||||
type="list"
|
||||
label="COM_CONTENT_FIELD_SHOW_TAGS_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="show_noauth"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_UNAUTH_LINKS_LABEL"
|
||||
description="JGLOBAL_SHOW_UNAUTH_LINKS_DESC"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="use_article">COM_CONTENT_FIELD_VALUE_USE_ARTICLE_SETTINGS</option>
|
||||
<option value="0">JNO</option>
|
||||
<option value="1">JYES</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
|
||||
<fieldset name="integration" label="COM_MENUS_INTEGRATION_FIELDSET_LABEL">
|
||||
<field
|
||||
name="show_feed_link"
|
||||
type="list"
|
||||
label="JGLOBAL_SHOW_FEED_LINK_LABEL"
|
||||
useglobal="true"
|
||||
class="form-select-color-state"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JHIDE</option>
|
||||
<option value="1">JSHOW</option>
|
||||
</field>
|
||||
|
||||
<field
|
||||
name="feed_summary"
|
||||
type="list"
|
||||
label="JGLOBAL_FEED_SUMMARY_LABEL"
|
||||
useglobal="true"
|
||||
validate="options"
|
||||
>
|
||||
<option value="0">JGLOBAL_INTRO_TEXT</option>
|
||||
<option value="1">JGLOBAL_FULL_TEXT</option>
|
||||
</field>
|
||||
</fieldset>
|
||||
</fields>
|
||||
</metadata>
|
||||
@ -1,84 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\HTML\HTMLHelper;
|
||||
use Joomla\CMS\Language\Text;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
$lang = Factory::getLanguage();
|
||||
$user = Factory::getUser();
|
||||
$groups = $user->getAuthorisedViewLevels();
|
||||
|
||||
if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?>
|
||||
<?php foreach ($this->children[$this->category->id] as $id => $child) : ?>
|
||||
<?php // Check whether category access level allows access to subcategories. ?>
|
||||
<?php if (in_array($child->access, $groups)) : ?>
|
||||
<?php if ($this->params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : ?>
|
||||
<div class="com-content-category-blog__child">
|
||||
<?php if ($lang->isRtl()) : ?>
|
||||
<h3 class="page-header item-title">
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info tip">
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php else : ?>
|
||||
<h3 class="page-header item-title"><a href="<?php echo Route::_(RouteHelper::getCategoryRoute($child->id, $child->language)); ?>">
|
||||
<?php echo $this->escape($child->title); ?></a>
|
||||
<?php if ($this->params->get('show_cat_num_articles', 1)) : ?>
|
||||
<span class="badge bg-info">
|
||||
<?php echo Text::_('COM_CONTENT_NUM_ITEMS'); ?>
|
||||
<?php echo $child->getNumItems(true); ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<a href="#category-<?php echo $child->id; ?>" data-bs-toggle="collapse" class="btn btn-sm float-end" aria-label="<?php echo Text::_('JGLOBAL_EXPAND_CATEGORIES'); ?>"><span class="icon-plus" aria-hidden="true"></span></a>
|
||||
<?php endif; ?>
|
||||
</h3>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->params->get('show_subcat_desc') == 1) : ?>
|
||||
<?php if ($child->description) : ?>
|
||||
<div class="com-content-category-blog__description category-desc">
|
||||
<?php echo HTMLHelper::_('content.prepare', $child->description, '', 'com_content.category'); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($this->maxLevel > 1 && count($child->getChildren()) > 0) : ?>
|
||||
<div class="com-content-category-blog__children collapse fade" id="category-<?php echo $child->id; ?>">
|
||||
<?php
|
||||
$this->children[$child->id] = $child->getChildren();
|
||||
$this->category = $child;
|
||||
$this->maxLevel--;
|
||||
echo $this->loadTemplate('children');
|
||||
$this->category = $child->getParent();
|
||||
$this->maxLevel++;
|
||||
?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php endif;
|
||||
@ -1,89 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Factory;
|
||||
use Joomla\CMS\Language\Associations;
|
||||
use Joomla\CMS\Layout\LayoutHelper;
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\CMS\Uri\Uri;
|
||||
use Joomla\Component\Content\Administrator\Extension\ContentComponent;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
// Create a shortcut for params.
|
||||
$params = $this->item->params;
|
||||
$canEdit = $this->item->params->get('access-edit');
|
||||
$info = $params->get('info_block_position', 0);
|
||||
|
||||
// Check if associations are implemented. If they are, define the parameter.
|
||||
$assocParam = (Associations::isEnabled() && $params->get('show_associations'));
|
||||
|
||||
$currentDate = Factory::getDate()->format('Y-m-d H:i:s');
|
||||
$isUnpublished = ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED || $this->item->publish_up > $currentDate)
|
||||
|| ($this->item->publish_down < $currentDate && $this->item->publish_down !== null);
|
||||
|
||||
$introimg = json_decode($this->item->images);
|
||||
|
||||
$baseImagePath = Uri::root(false) . "media/templates/site/joomla-italia-theme/images/";
|
||||
|
||||
?>
|
||||
|
||||
<article class="card card-bg card-article card-article-redbrown">
|
||||
<div class="card-body">
|
||||
<div class="card-article-img d-none d-lg-block">
|
||||
<?php if($introimg->image_intro ==''){ ?>
|
||||
<figure><a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url" title="service-link"><img src="<?= $baseImagePath ?>imgsegnaposto.jpg" class="img-fluid"/></a></figure>
|
||||
<?php } else{
|
||||
echo LayoutHelper::render('joomla.content.intro_image', $this->item);
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="card-article-content">
|
||||
<?php echo LayoutHelper::render('joomla.content.blog_style_j4a_item_title_servizio', $this->item); ?>
|
||||
|
||||
<?php if ($canEdit) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.icons', ['params' => $params, 'item' => $this->item]); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($info == 0 && $params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p><?php echo JHTML::_('string.truncate', $this->item->introtext, 200, false, false) ; ?></p>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
$link = Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));
|
||||
else :
|
||||
$menu = Factory::getApplication()->getMenu();
|
||||
$active = $menu->getActive();
|
||||
$itemId = $active->id;
|
||||
$link = new Uri(Route::_('index.php?option=com_users&view=login&Itemid=' . $itemId, false));
|
||||
$link->setVar('return', base64_encode(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)));
|
||||
endif; ?>
|
||||
|
||||
<?php echo LayoutHelper::render('joomla.content.readmore', ['item' => $this->item, 'params' => $params, 'link' => $link]); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($isUnpublished) : ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @package Joomla.Site
|
||||
* @subpackage com_content
|
||||
*
|
||||
* @copyright (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
use Joomla\CMS\Router\Route;
|
||||
use Joomla\Component\Content\Site\Helper\RouteHelper;
|
||||
|
||||
?>
|
||||
|
||||
<ol class="com-content-blog__links">
|
||||
<?php foreach ($this->link_items as $item) : ?>
|
||||
<li class="com-content-blog__link">
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($item->slug, $item->catid, $item->language)); ?>">
|
||||
<?php echo $item->title; ?></a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ol>
|
||||
Reference in New Issue
Block a user