joomla3.0

How to redirect the user according to their user groups in Joomla

末鹿安然 提交于 2020-01-04 03:27:08
问题 I have created my website in Joomla. In my site I have created 3 user groups ('guest', 'unregistered', 'registered'), and I have created one blog kind of thing called abstract corner in article. The 'guest' and 'unregistered' user can just view the guidelines but they can't submit the abstracts. The 'registered' user can submit abstracts. I am using two images to display "abstract guidelines" and an "abstract submission" link. How can I redirect this user to particular article? Please help me

How to redirect the user according to their user groups in Joomla

孤者浪人 提交于 2020-01-04 03:26:08
问题 I have created my website in Joomla. In my site I have created 3 user groups ('guest', 'unregistered', 'registered'), and I have created one blog kind of thing called abstract corner in article. The 'guest' and 'unregistered' user can just view the guidelines but they can't submit the abstracts. The 'registered' user can submit abstracts. I am using two images to display "abstract guidelines" and an "abstract submission" link. How can I redirect this user to particular article? Please help me

JFolder::create: Could not create directory - Joomla

北战南征 提交于 2019-12-30 08:32:18
问题 I end up with below error when I try to install a component,module or plugin. JFolder::create: Could not create directory What could be the issue? 回答1: Change the below variable to in your configuration file( configuration.php ) as shown. public $log_path = '/logs'; public $tmp_path = '/tmp'; Also make sure that these folder has the folder permission 755. Read more 回答2: Now I found two solutions for resolving this issue,and both of them has been worked very well: Solution One: First find the

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

…衆ロ難τιáo~ 提交于 2019-12-29 07:53:06
问题 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

Joomla 3: How do I use the raw format without adding format=raw to the URL?

笑着哭i 提交于 2019-12-25 12:43:02
问题 I would like to load view.raw.php as a raw view just like if I has appended view=raw to the URL. But I would like to do it without adding view=raw to the URL. I have tried the following inside my main controller and none work: First I tried this: JFactory::$document = null; JFactory::getDocument(); Then I tried this: $input = JFactory::getApplication()->input; $input->set('format', 'raw'); And this: $_REQUEST['format'] = 'raw'; And this: $urlparams['format']='raw'; $urlparams[]=array('format'

Joomla 3 Article Options - How to get article view different from category blog view

筅森魡賤 提交于 2019-12-25 06:34:26
问题 I have a clean install of Joomla 3.2.3 using the default template and testing with it. Here is how I have it set up at the moment: Main Menu with Article >> Category Blog Main Article category 4 Test articles linked to the Main Article category I would like to hide the article author (article options) in the category blog view, but when I click to read the full article I would like to have the article author displayed. When I hide the author in the category blog settings, it also hides the

How to remove a single product from mod_virtuemart_cart

一世执手 提交于 2019-12-25 04:23:00
问题 I've found the solution by the link http://forum.virtuemart.net/index.php?topic=127483.0 from Virtuemart Projectleader: if (!class_exists('VirtueMartCart')) require(VMPATH_SITE . DS . 'helpers' . DS . 'cart.php'); $cart = VirtueMartCart::getCart(); $cart->removeProductCart($yourId); but it doesn't work. I tried to replace DS with DIRECTORY_SEPARATOR because I use Joomla 3.x but nothing changed At the same time $cart->emptyCart() works Joomla 3.3.6, VM 3.0.3 回答1: This is my solutions function

Access/Permissions error when user confirms e-mail

强颜欢笑 提交于 2019-12-25 02:23:00
问题 I have a "Join Now" menu option on the unregistered user front end. When a new user selects that menu option, they're presented the registration form. On completion they get a notice that a confirmation e-mail has been sent to them. All standard stuff. So... the user goes to their e-mail inbox, finds the confirmation e-mail and clicks the link. They're brought back to the site and they are still under the "Join Now" menu option... https://www.example.com/index.php/join-now?view=login So...

Add a quick icon in Joomla 3

落爺英雄遲暮 提交于 2019-12-23 20:12:40
问题 Anyone know how to add a quick icon or maybe even edit the current list of quick icons in Joomla 3.1? To be more specific, that would be the series of links that appear on the right side of the screen immediately after logging in to Joomla admin. I searched and couldn't find this question on stackoverflow. 回答1: If you go to the following file: administrator/modules/mod_quickicon/helper.php You will see on the start of line 51 , arrays such as the following: array( 'link' => JRoute::_('index

Set page title in Joomla! 3 from a module

最后都变了- 提交于 2019-12-23 17:12:39
问题 I have an existing module, which I display from an article by using {loadposition custom_position}. The article is linked to a menu item. I want to be able to set a customized page title from this module, overwriting the page title set by the menu item. I tried using $document = JFactory::getDocument(); $document->setTitle('Set your title here'); But it does not set the page title. Is it possible to set the page title from within a module, or can it only be done within a component. 回答1: The