Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

vm logout and registration links
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: vm logout and registration links

vm logout and registration links 14 years, 3 months ago #13416

Hi,

I have created direct links in my template that lead to logout and registration page.
With sef enabled the links are not working

//Virtuemart Registration link
//No error but the registration page is not displayed, just an empty page
echo JRoute::_('index.php?option=com_virtuemart&page=shop.registration');

//Logout link
//Errror is "invalid token"
echo JRoute::_('index.php?option=com_user&task=logout&return=aW5kZXgucGhw');


How am i supposed to generate these links for Joom sef?
Many thanks for your help

My configuration:
Joomla 1.5
Virtuemart 1.1.4
Joom SEF 3.5.3
Joomsef VM extension 2.0.16
The topic has been locked.

Re:vm logout and registration links 14 years, 3 months ago #13420

  • dajo
  • OFFLINE
  • Posts: 5069
With the VM registration link, is there a blank page shown (the whole page white) or the Joomla template just without the VM registration page?

As regards the logout link - it cannot be used directly, it must be sent by a form with the correct token - take a look in the Login form how it's done.

Best regards,
ARTIO Support Team
ARTIO Support Team
The topic has been locked.

Re:vm logout and registration links 14 years, 3 months ago #13421

HI thanks for this useful answer.
With vm registration link, it's not the whole page white.
The Joomla template is displayed, just without the vm registration page
The topic has been locked.
  • Page:
  • 1
User Login Empty