alzander wrote: Yup Change it to the below, and hopefully, you'll be good to go:
Code:_('PHPSHOP_ACCOUNT_TITLE'); ?> What you were doing was assigning the VM_LANG translation to a variable named $text. But weren't actually echo'ing (printing it to the screen) anywhere. Above, I just echo it directly, instead of saving it to a variable.
Hello Alex,
I modified the /modules/mod_jfbclogin/tmpl/default.php file as you told above to add "account maintenance" link for virtuemart, before "logout" button but I got this error:
"Welcome Cydonian,
Fatal error: Call to a member function _() on a non-object in .../public_html/kozmetikmarketi/modules/mod_jfbclogin/tmpl/default.php on line 187"
EDIT:
okay I found the error, I added this code to line 8 in /modules/mod_jfbclogin/tmpl/default.php file:
I added this code to line 187 in /modules/mod_jfbclogin/tmpl/default.php file before 'showLogoutButton' part :
P.S: I couldn't add my code to my message using code tag of this forum because it did not display my code correctly so I converted it to an image and I uploaded it to an image hoster web site *lol*
Now it is working!
But I have another question: These are items displayed when you click "account maintenance", I want to display sub-contents of "account maintenance" before "jfbconnect logout" button as a menu, instead of only "account maintenance" link.
1) index.php?page=account.billing&option=com_virtuemart&Itemid=1
2) index.php?page=account.shipping&option=com_virtuemart&Itemid=1
and 3) order information (previous or current)
Thanks!