Menu items not getting unpublished

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Jun 10, 2013 11:54 am
Reply with quote
Report this post
Hello! I am experiencing a very peculiar problem on my Bike Store template. The "register" and "login" menu items in the top of the website will not go away when unpublished. I have checked and they are definitely unpublished, yet they keep appearing there. Also, I have created a menu item in Top Nav menu and that too remains visible on website even when I click "unpublish".

If some screenshots or direct links to the website are needed, I will gladly provide them.

Thank you in advance!
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 12:24 pm
Reply with quote
Report this post
They are not menu items, they are hard coded in php files and displays if there are modules published in following module positions.

Lang
Cart
Login

And if register option is enabled in joomla settings.

If you don't have any modules in above positions and they are still displaying please clear your website cache and browser cache.

Let me know how you get on.

See you around...
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 12:35 pm
Reply with quote
Report this post
Hello, normanUK. I thank you for your assistance, the problem is partly gone now - there is now only "register" option still lingering stubbornly on the top. I have disabled the register options in in Use Manager options and in Global Configurations -> Permissions -> Registered -> Site login. Am I still missing something?
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 1:55 pm
Reply with quote
Report this post
I guess code check is not working fine for user registration.

You can hide it with css. You can add css code to css/override.css in template folder and enable css override option in template settings > advanced settings> css override "on".

Code: Select all
#btnRegister {
    display: none;
}


or you can delete following lines.
File: /templates/gk_bikestore/layouts/default.php
Lines: 70 to 72 which is below
Code: Select all
             <?php if($this->API->get('register_link', 1) && $userID == 0) : ?>
             <a href="<?php echo $this->API->URLbase(); ?>index.php?option=com_users&amp;view=registration" id="btnRegister"><?php echo JText::_('TPL_GK_LANG_REGISTER'); ?></a>
             <?php endif; ?>


See you around...
User avatar
Platinum Boarder

GK User
Mon Jun 10, 2013 2:11 pm
Reply with quote
Report this post
I went with deleting the lines and that did the job. Thank you once again for being so helpful!
User avatar
Fresh Boarder

GK User
Mon Jun 10, 2013 9:55 pm
Reply with quote
Report this post
No problem at all, see you around...
User avatar
Platinum Boarder


cron