joomla3.0

Getting modules working in Joomla 3.1.4

若如初见. 提交于 2019-12-12 04:55:29
问题 I am experimenting with Joomla 3.1.4. Whenever I add a new module the template does not show at all in the front-end. The site is blank. On disabling the new module it starts showing properly again. Even a basic hello world type of module does not seem to work and nor does a third party extension I have tried. I can see them in the extension manager and in the module manager and they have installed successfully. Frustrated with all this I decided to install a new 3.1 template which too

PHP Returning Multiple Rows

牧云@^-^@ 提交于 2019-12-12 04:53:41
问题 When I echo my query on screen and run directly in SSMS I get ONE row returned, which is exactly what I am after. When I run this query in my php I get multiple rows returned (seems to be one for each Dealer). What should I change in this syntax so that I only have 1 row with totals displayed on screen in php like what happens in my SSMS? --> And if I copy/paste the results of the table into Excel to try and sort, all I have are 0's being displayed in the table, not actual data like what I

How to roll back Joomla 3.6.2 to 3.6.0

懵懂的女人 提交于 2019-12-12 03:37:21
问题 How to roll back Joomla 3.6.2 to 3.6.0 for Overriding Language Core Files. I newly add a language key in language core file. When I select danish language to login and access language key is not translated into Danish language. 回答1: You can add different language keys and values using the built in language override function. Look in the backend under languages 来源: https://stackoverflow.com/questions/39093858/how-to-roll-back-joomla-3-6-2-to-3-6-0

Editing the body tags on specific Joomla articles

南楼画角 提交于 2019-12-12 03:34:08
问题 I need to add Call tracking for a Marketing campaign on my site that is currently housed in Joomla. It requires a certain script to be added inside the <body> tag only on designated pages. I know I can add the script tag to the template but that would make it apply to every page. I am still new to Joomla, so can you tell me if there's a way to apply the script below to only the pages we want to track calls from? It needs to go before the </body> tag. <script type="text/javascript" src="//cdn

Fatal error when updating joomla from 3.1.1 to 3.2.2

最后都变了- 提交于 2019-12-12 01:09:33
问题 I updated my joomla site from 3.1.1 to 3.2.2 but now when I view my site I get Fatal error: Call to a member function get() on a non-object in /home/studentw/public_html/plugins/system/remember/remember.php on line 96 I tried restoring my directory from a back up but I am still getting the error above. Line 96 of the remember.php file is: $this->cookie_domain = $this->app->get('cookie_domain', ''); How can I fix this? 回答1: Google is your friend: Rename your file remember.php to rememberBAK

PHP code for variable numbers of modules in a single module position

*爱你&永不变心* 提交于 2019-12-11 16:39:14
问题 I am creating a Joomla 3.8 template from scratch using Bootstrap 4.0. At the same time I am teaching myself both Bootstrap 4.0 and PHP as I go along, so please bear with me. Under the main component area I have a full-width position which I have called 'feature_bottom'. At the moment, I have two modules assigned to that position. On a wide desktop screen they are stacked vertically, each full width, but I want them to be side-by-side until the smaller device break points. On another menu item

PHP - Exploding / Moving / Filename

橙三吉。 提交于 2019-12-11 16:08:38
问题 Wonder if you can help, i'm new to php and am stuck. I have loads of files that look like this: 2014-04-01 NS122345 - The date, the initials of the person and there employee code. I want to be able to move the files that have NS or JB Or GA into there relevant folder/directories. So for NS it would go into the Nathan Saunders Folder, for JB into the Joe Bailey folder. A few have said to me to use the explode and substr to split the filename up and then i guess search through the array.

How to add a bootstrap class to JHtml in Joomla

独自空忆成欢 提交于 2019-12-11 13:49:30
问题 I am using following piece of code to display an image which I am fetching from gravatar.com, so I want to use a bootstrap CSS class to make it more attractive. As soon as I add the style rather than showing the image it shows me the link to the image, when I redirect to the link I am able to see the image. Why I am getting this? $html[] = JHtml::_('image', $grav_url,'class="img-circle"', JText::_('PLG_CONTENT_AVATAR'), null, true) Here $grav_url is the url I am getting for the image and img

HOW TO change component name Joomla

人走茶凉 提交于 2019-12-11 10:24:53
问题 I'm interested to rename a joomla component from: index.php?option=com_test&view= to index.php?option=com_testest&view= . How can I do it? 回答1: I don't know (yet) of an automated solution to do this. Maybe somebody else does. The name of the component occurs in various places (class, file and folder names, the database and so on). Thus, you'd have to rename (this might not be a complete list) the base folder com_yourname all filenames which include the component name (yourname.php etc.) all

uninstalling joomla package not uninstalling all child extensions

时光总嘲笑我的痴心妄想 提交于 2019-12-11 09:57:52
问题 I created a joomla package including all component and module zips inside packages folder of the package. all required settings in package xml file as follows - <extension type="package" version="2.5" method="upgrade"> ........ <packagename>mypackage</packagename> ........ <files folder="packages"> <filename type="module" id="mypackage">Ajax-Session-Module-master.zip</filename> <filename type="component" id="mypackage">component-develop.zip</filename> </files> ....... When i install package,