Login

Professional Joomla restaurant template comes with a custom animated modules and advanced typography elements.
GK User
Tue Dec 18, 2012 10:48 am
Hi..

The login in the menu not really nice to see.

1. I want to make it similar to appsprotech template.
Please find attached image. Need little CSS advice to make it similar.

Code: Select all
Apps Pro Tech Template

appsprotech.png


Code: Select all
Restaurant Template

restaurant.png


2. After user login, the menu still shows 'Login' instead of 'My Account'.
Any workaround for this?

Thanks

Sam
User avatar
Fresh Boarder

teitbite
Thu Dec 20, 2012 1:36 am
Hi

Please show me Your site so I'll help with fist question.

Second issue is a little more complicated. I would solve it this way:

- add an css class to item menu, for example "not-for-logged"
- add a new menu item linking to My Account and set it to be visible for Registered only
- add this code to /layout/blocks/head.php

Code: Select all
<?php
$user = JFactory::getUser();
$userID = $user->get('id');
if($userID > 0) :
?><style type="text/css">.not-for-logged { display:none; }</style><?php
endif;
?>
User avatar
Moderator


cron