joomla3.0

Article Tags shown in Article List-Layout

不问归期 提交于 2019-12-02 11:14:38
So I've been adding tags you add to articles in Joomla!, which works fine. But now I want to show the tags in the article list layout that is default in Joomla. I found and made an override for the list-layout and tried to add the tags code from a single article layout to the list-layout. Underneath is the code I tried to add in the list-layout. But none of the tags are shown in the layout.. <?php // set tags $tags = ''; if (!empty($this->item->tags->itemTags)) { JLoader::register('TagsHelperRoute', JPATH_BASE . '/components/com_tags/helpers/route.php'); foreach ($this->item->tags->itemTags as

Joomla 3 can't add <script> to article

时光总嘲笑我的痴心妄想 提交于 2019-11-30 20:22:32
Joomla version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT I want add js script to one my article. I'm using TinyMCE editor to edit article. In TinyMCE plugin field Prohibited Elements I filled with dummy text, now it contains "cms123", I removed "script,applet,iframe". I checked Global Configurations -> Text Filters for Super Users I have set it "No Filtering". But when I'm trying to save my article with js code, joomla removes my tags <script> from my article, also I checked with <iframe> , joomla replaced this tag with <i-frame> tag... I'm really confused, I can't understand

Joomla 3 - What to use instead of assignRef?

删除回忆录丶 提交于 2019-11-30 18:04:16
问题 In my project I have this method in my view: public function elegirSeleccionados(){ $this->assignRef('pagination', $this->get('pagination')); $this->assignRef('items', $this->get('recientes')); $this->assignRef('list', $this->get('list')); parent::display(); } assignRef is deprecated / removed in this Joomla 3. What should I use instead? 回答1: assignRef() and assign() are not needed anymore , since Joomla 1.6+ requires at least PHP 5.2 (PHP5 uses assign by reference). Use in view.html.php

How to change select list from another using AJAX in Joomla

柔情痞子 提交于 2019-11-30 17:56:24
问题 I have a list of countries and a list of cities for each country. I set both as drop-down list. My problem is how can I change the cities listed when the selected country changes? This is my XML code: <field name="country_id" type="sql" class="country" label="Country" description="Country" required="true" query="SELECT id, title FROM #__destination_countries WHERE state = 1" key_field="id" value_field="title" filter="raw"> </field> <field name="city_id" type="sql" query="SELECT id, title FROM

Joomla 3 can't add <script> to article

こ雲淡風輕ζ 提交于 2019-11-30 04:47:57
问题 Joomla version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT I want add js script to one my article. I'm using TinyMCE editor to edit article. In TinyMCE plugin field Prohibited Elements I filled with dummy text, now it contains "cms123", I removed "script,applet,iframe". I checked Global Configurations -> Text Filters for Super Users I have set it "No Filtering". But when I'm trying to save my article with js code, joomla removes my tags <script> from my article, also I checked

JOOMLA site too slow

笑着哭i 提交于 2019-11-29 12:13:05
my Joomla site is too slow. It approximately uses 8 to 10 s to load main page. I am using xampp. template protostar. PC core i7. OS windows. JOOMLA 3.15. Is it normal ?? OR any any one may please guide me how to debug this issue. Oppz i solved it just right now. I disable Xdebug in php.ini and time reduces form 8s to 1s [XDebug] ;zend_extension= "C:\Users\arslan\Desktop\xampp-win32-1.8.1-VC9\xampp\php\ext\php_xdebug.dll" ;xdebug.remote_enable=on ;xdebug.remote_handler=dbgp ;xdebug.remote_host="localhost" ;xdebug.remote_port=9001 ;xdebug.remote_autostart=1 my server was xampp. Joomla site slow

Joomla! 3 installation freezes at creating database table

北城以北 提交于 2019-11-28 15:39:28
I am trying to install Joomla! 3.2.1 on my system but the installation freezes half way through. I've downloaded and installed the Wamp Server 2.4 and wanted to locally install Joomla! 3.2.1, but the installation freezes and doesn't finish. It stops short of finishing the installation during the "creating database tables" task: it just stays on this bit seemingly forever. Increasing the max execution time in php.ini and restarting the wamp didn't help. My Wamp 2.4 uses: MySQL 5.6.12 php 5.4.16 Apache 2.4.4 How can I get the installer to go past this point? This problem occurring most usually

Strict Standards: Non-static method JSite::getMenu() should not be called statically

牧云@^-^@ 提交于 2019-11-28 03:12:13
问题 I'm a newbee in joomla. When I change my template to other like http://www.joomla24.com/Joomla_3x_Templates/Joomla_3x_Templates/Oliverio_Lite.html I'm getting the following error Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in ..\xampp\htdocs\joomla\templates\oliveriolite\index.php on line 91 Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from

Load Joomla 3.x Framework and Modules in external PHP file

余生长醉 提交于 2019-11-28 01:21:09
I am migrating my Joomla 2.5 site to Joomla 3.3. Now I'm struggling with loading the joomla framework and displaying a module in a phpbb-Template. Loading the Joomla framework worked fine in Joomla 2.5 with this code: define( '_JEXEC', 1 ); define('JPATH_BASE', '/var/customers/webs/tf2swiss/joomlasite'); define( 'DS', DIRECTORY_SEPARATOR ); require_once('../configuration.php'); require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); require_once ( JPATH_BASE .DS.'includes'.DS.'framework.php' ); require_once ( JPATH_BASE .DS.'libraries'.DS.'joomla'.DS.'factory.php' ); require( JPATH

Importing jQuery into Joomla

允我心安 提交于 2019-11-26 15:29:42
I have been a Joomla developer for almost an year now. I have been struggling to import jQuery into joomla everyday. Joomla comes with mootools. When I import jQuery it crashes. Also when I create modules I have to import jQuery into each module which makes to site slow. Sometimes it makes the whole site crashes. I want both mootools and jquery to work hand in hand so I can use both without any crashes. What's the best way to import jQuery into Joomla ? Is there a specific place where the import should be done to use one jquery library site-wide( both backend and frontend ) ? Thanks This is