Joomla

How to do the share extension to show the http shares and not the https?

↘锁芯ラ 提交于 2019-12-22 13:57:29
问题 I have this situations on Facebook Object Debugger: This one is if I input the http link and this one for https link The code of my joomla extension is: <?php /*------------------------------------------------------------------------ # mod_ofblikebutton - Optimized Facebook Like Button # ------------------------------------------------------------------------ # author: Optimized Sense # copyright: Copyright (C) 2013 http://www.o-sense.com. All Rights Reserved. # @license: http://www.gnu.org

Joomla 3.0 Register user with php script

谁说胖子不能爱 提交于 2019-12-22 11:23:04
问题 I've searched and found a way to do this with JUser but when I try the script it says an include file can't be found and it doesn't exist on the server. I don't know if this is different for Joomla 3.0 so I was asking for help. Here's the script I tried: <?php define( '_JEXEC', 1 ); define('JPATH_BASE', dirname(__FILE__) ); define( 'DS', DIRECTORY_SEPARATOR ); /* Required Files */ require_once ( JPATH_BASE .DS.'includes'.DS.'defines.php' ); require_once ( JPATH_BASE .DS.'includes'.DS.

Putting AJAX in a Joomla Module

二次信任 提交于 2019-12-22 06:52:58
问题 I've made a basic Joomla module for my site as a shoutbox. But I'd like to put AJAX in it (I know a similar module with AJAX already exists on JED but this more a project for me to learn how AJAX works in a Joomla module). The usual AJAX stuff where you redirect to a new php file obviously doesn't work as the file will not be defined as defined('_JEXEC') or die('Restricted access'); will fail in a new page. And defining _JEXEC to be equal to one (as I've read in several posts on SO) as far as

Home page modules showing on articles in Joomla

这一生的挚爱 提交于 2019-12-22 05:32:43
问题 I have custom HTML & other modules on homepage which have been marked to display only on homepage. I also have articles on homepage with "read more" links. Problem is that when I click on these read more links page opens with all the homepage modules still there and article is displayed below these modules. I have checked setting all the modules are marked to display just on homepage, yet they get displayed on articles pages too. Please help. 回答1: Those articles become "children" of the page

Set frontend session time out limit in joomla

谁说我不能喝 提交于 2019-12-22 05:14:39
问题 How to set session timeout limit for frontend users in joomla 2.5? I had set the Session Lifetime option in Global configuration but it sets the limit in backend only. 回答1: you can comment the line JHtml::_('behavior.keepalive'); on top in the file modules/mod_login/tmpl/default.php After that the time from the backend will also expires the frontend as well as backend 回答2: Try this plugin. According to my knowledge. If you are to Session Control Plugin make the different session lifetime for

Get rid of ID (category and article) from URL (Joomla 3.3 / 3.4 / 3.5)

五迷三道 提交于 2019-12-22 01:35:03
问题 I have a Joomla 3.3.6 (edited: 3.5. ) site organized in only 3 levels: Four big categories (i, ii, iii, iiii) Each one divided in some intermediate categories (A, B, C, ...) And finally articles Two languages (en, pt) The URL after setting Search Engine Friendly URLs , Use URL rewriting , Adds Suffix to URL and multilanguage support , should be in the form: http://www.example.com/en/bigcatiii/intercatA/articlex.html But as many others that have Joomla installed and ask for a solution since

How to Upgrade Joomla! 1.0.15 Stable to Joomla! 3.1

大憨熊 提交于 2019-12-22 00:24:21
问题 Can any one explain me how to upgrade joomla step by step.. I want to Upgrade Joomla! 1.0.15 Stable to Joomla! 3.1 with the latest version Thank's 回答1: You will first have to upgrade to Joomla 1.5. To do this, read the tutorial provided on the Joomla Docs Joomla 1.0 to 1.5 migrator Once done, download and install JUpgrade which is a component that will upgrade your Joomla 1.5 site to 2.5 Once you have Joomla 2.5 up and running, enter the admin panel and go to the component " Joomla Update "

Joomla - Allowed memory size of 1073741824 bytes exhausted

萝らか妹 提交于 2019-12-22 00:18:08
问题 My joomla website started to show following error Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 78 bytes) I know we can increase the memory limit using ini_set , but I believe it is not the correct way to solve this. Even though, if I set the memory limit to unlimited (-1), I will get an Internal Server Error . I am completely unaware about the recent activities on this site, as I am newly assigned to this task. I tried to disable some plugins and modules

Joomla - dynamic dropdown list in admin panel

六眼飞鱼酱① 提交于 2019-12-21 20:55:45
问题 I have added a dropdown list to my user creation form in admin panel in Joomla! 1.5 (using .xml files). The problem I have is that the content of it must be dynamic (comes from an external source file). My question is where (and possibly how) I can make it. 回答1: you can create your own type. At your default.xml you will have something like: <url addpath="/administrator/components/com_componentname/elements/"> <param name="id" type="myType" default="0" label="SELECT_LABEL" description="SELECT

How to upload a file in joomla?

蓝咒 提交于 2019-12-21 16:19:22
问题 Hi i am making a simple component in joomla having name image detail and i have to upload that image how can i upload image from backend. which one is better using extension or make custom. can you please share any good article for it. i have searched many more but due to lack of idea on joomla cannot find. hope you genius guys help me. thanks i advance 回答1: Joomla Component for the exact scenario of your requirement will be very hard to find out. So you've two options: 1. Make your own