Joomla

How to create a hierarchical Joomla! menu structure

心已入冬 提交于 2019-12-25 01:37:15
问题 I need an advice ... I'm using joomla 1.7.2. I want to plan a site, the site should be very hierarchical. Actually it will contain categories and sub categories and sub categories and ... And finally all relevant articles that will be under the sub-sub ... Category that was selected. My ambition from Joomla is to create a main categories menu that looks something like that (never mind the graphics at the moment): menu example here Clicking a category will lead to the same look a like menu

jQuery Ajax using PHP function returns HTML code

随声附和 提交于 2019-12-25 00:27:27
问题 I'm using Joomla, and I intend to be checked in a database of Joomla user table is right there through a code in order to perform the registration. Well, 3 days ago I'm trying to use an ajax function that invokes a php function. What happens is that when I try to read the response from the server (php function) can only get HTML page. Not sure what is happening. I saw several articles and questions and still not know what's going on. What I'm doing is when the writing is detected in a given

Component View displaying with 500 Internal Server Error

天涯浪子 提交于 2019-12-24 22:25:15
问题 I have having issues following the tutorial of component development of Joomla. The tutorials I followed related to the issue are this and this. I can view the default view properly, but when I click the new or edit and delete button, or when I browse too ../administrator/index.php?option=com_testimonials&view=testimonial&layout=edit I get that error. I have rechecked the code so many times but I just can't find where I went wrong. File: controllers\testimonial.php class

Joomla and XMLRPC: 'Incorrect parameters passed to method…'

时光总嘲笑我的痴心妄想 提交于 2019-12-24 21:42:15
问题 I've been trying to write a simple echo service for Joomla 1.5, but with no success. My code is this: echo.php: <?php defined( '_JEXEC' ) or die( 'Restricted access' ); jimport('joomla.plugin.plugin'); class plgXMLRPCEcho extends JPlugin{ function plgXMLRPCEcho(&$subject, $config){ parent::__construct($subject, $config); } function onGetWebServices(){ global $xmlrpcString; $services = array(); // Site search service $services['echo.echoService'] = array( 'function' => 'plgXMLRPCEchoServices:

TinyMCE plugin under Joomla to restrict and cut by chars limit number

寵の児 提交于 2019-12-24 19:28:50
问题 I try to adopt and create custom "maxstop" plugin for TinyMCE to restrict/cut by chars limit number based on solution from https://stackoverflow.com/a/53599500/2637838 Environment - Joomla 3.9.1, TinyMCE 4.5.9 - my basic code idea is tinymce.PluginManager.add('maxstop', function (editor) { max_chars: 10, // max. allowed chars setup: function (ed) { var allowedKeys = [8, 13, 16, 17, 18, 20, 33, 34, 35, 36, 37, 38, 39, 40, 46]; ed.on('keydown', function (e) { if (allowedKeys.indexOf(e.keyCode)

Setting Google Map v3 size on map options

北战南征 提交于 2019-12-24 17:31:20
问题 I am trying to set up Google map (v3) inside Joomla tabs but there is display problems on map. If i move away from tab where the map is and change back map canvas is grey and map is displayed only partially on left corner of map canvas. Image with screen capture: I get this worked on other site by setting map size on map parameters but there was used Google map version 2 and i could not find correct syntax for setting map size on version 3 map. Map options are set in global variable. var

Setting Google Map v3 size on map options

会有一股神秘感。 提交于 2019-12-24 17:31:05
问题 I am trying to set up Google map (v3) inside Joomla tabs but there is display problems on map. If i move away from tab where the map is and change back map canvas is grey and map is displayed only partially on left corner of map canvas. Image with screen capture: I get this worked on other site by setting map size on map parameters but there was used Google map version 2 and i could not find correct syntax for setting map size on version 3 map. Map options are set in global variable. var

Implementing SSO into Joomla 3 to gain access to the website

人走茶凉 提交于 2019-12-24 16:13:06
问题 I have been asked to create an internal intranet. One of their criteria is to allow employees to access the site using Google SSO. This isn't to log into the backend, it is purely to gain access to the site. I am creating it in Joomla 3. Can anyone advise how I would go about this? Thanks 回答1: I think the best approach is adding Joomla SAML capabilities. There is a Joomla3.3 SAML plugin [1] that you can use to connect with Google (Google will act as Identity Provider) [2] Then you may add

Joomla TinyMCE deletes empty span

穿精又带淫゛_ 提交于 2019-12-24 15:16:18
问题 I want to use following tag <h4><span class="icon-phone"></span></h4> but TinyMCE from Joomla always deletes it, when i save it. I find the solution that i have to add span[*] to "Extended Valid Elements" in Options from TinyMCE in PluginManager. but it doesn't work. It always delete it again and again. I searched here for a while and found some articles which was similar to my problem but doesn't solve it. I use Joomla Version 3.3.6 and the plugin is 4.1.2. Hope somebody can help. Best

Joomla 2.5 form redirection error

放肆的年华 提交于 2019-12-24 15:11:15
问题 Here is my form <form name="form1" action="<?php echo JRoute::_('index.php?option=com_mycomponent&task=search')?>" method="get"> <input id="search_key" name="searchword" type="text" class="inputbox" placeholder="Enter Keyword/Part Number..." autocomplete="off"> <input type="submit" class="inputbutton" value="Search"> </form> After entering any keyword say 'test', it redirects to index.php?searchword=test But i need to redirect it to index.php?option=com_mycomponent&task=search&searchword=test