- Posts: 137
- Thank you received: 2
Access registered content
- emergentec
-
Topic Author
- Offline
When trying to access the customer account not logged-in and SEF has been displayed a login form is displayed and after successful login he get's redirected to the customer account site. When we have SEF enabled, the user gets the 404 error message from Joomla. Is it possible to display the login form also when SEF is enabled?
Best regards
Please Log in or Create an account to join the conversation.
Please give the SEF and non SEF URLs of the pages you're talking about so that we can understand the problem.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please give the SEF and non SEF URLs of the pages you're talking about so that we can understand the problem.
SEF: example.com/mybio/accountadmin
Non-SEF: example.com/index.php?option=com_hikasho...ut=cpanel&Itemid=112
Please Log in or Create an account to join the conversation.
Did you use the joomla menu manager to create a new menu of the type hikashop user control panel ?
What SEF system are you using ? Joomla's ? sh404sef ? Another one ?
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
How did you create that link ?
Did you use the joomla menu manager to create a new menu of the type hikashop user control panel ? yes
What SEF system are you using ? Joomla's ? sh404sef ? Another one ?
Please Log in or Create an account to join the conversation.
Because the SEF process for menu URLs are completely handled by joomla. So I'm not really sure of what could be the cause...
Could you try do download the latest version on our website and install it again on your website ? Just in case you don't have the latest build of the 1.5.3 version.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
I do have the latest version of HikaShop.
Please Log in or Create an account to join the conversation.
You should just fix the SEF settings of joomla and make sure that the htaccess file has been renamed correctly at the root of your website.
Here is a tutorial on SEF setup for joomla0 that you might want to follow:
docs.joomla.org/Enabling_Search_Engine_F...(SEF)_URLs_on_Apache
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
We are linking from a Silverlight application to the shop, when a user tries to access a module in Silverlight, which hasn't been purchased in HikaShop. If the Joomla session of a user has expired we would like to display the login form and afterwards redirect him to the product details page. How would this be possible?First, the product should not appear on products listings if they don't have access to it, so the users should not even be able to access the product page. But if they try to access it via a direct URL, HikaShop will give that error message: "Product not found"
Best regards
Please Log in or Create an account to join the conversation.
$app->enqueueMessage(JText::_('PRODUCT_NOT_FOUND'));
redirects can be done like that:
$app->redirect(' mywebsite.com/mypage ');
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Best regards
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
Please Log in or Create an account to join the conversation.
I don't know if joomla is smart enough to redirect to the login though. If not, you would have to edit the file listing of the view product and do your redirect there for non logged in users with some php code.
Please Log in or Create an account to join the conversation.
- emergentec
-
Topic Author
- Offline
- Posts: 137
- Thank you received: 2
How can I execute the redirect for non logged in users?You can change the permissions of that menu in the joomla menu manager so that public users cannot see it.
I don't know if joomla is smart enough to redirect to the login though. If not, you would have to edit the file listing of the view product and do your redirect there for non logged in users with some php code.
Please Log in or Create an account to join the conversation.