Double Log In showing in Tab

Permalink Browser Info Environment
PROBLEM SOLVED: steps i took: 1) from system & settings to "Log In Destination" and set the it to "custom page" with no page listed. 2) "Public Registration" set to "off". Then created a new page for the Reg Pro block. I think it needed to have the cache cleared... now it is working perfect :(

W2f wrote......."Hi again :) because we have 3 different group sections on our website, i installed the Reg Pro add-on so that we can provide signup/log on from different group pages. It seems that i am having a problem using this add-on with this theme because the Venture Registration/Log On stays in the navigation bar at the same time the Reg Pro is displaying Log-On info. I tried turning off the "registration" option completely in the system settings, but then i just see the "log on" or "out". can i turn off the Reg/Log-In somehow in Venture? (I'd like to leave the matching "page not found" option active. (I'd like to keep the Venture theme matching Registration/Log-On as well). Is this possible without too much coding? thanks for your recommendation in this situation".

Type: Discussion
Status: In Progress
w2f
View Replies:
formigo replied on at Permalink Reply
formigo
If you are asking can you hide the log-in/sign-up links in the navigation - then yes you could by changing some code in the venture.php auto nav custom template file here packages/venture/blocks/autonav/templates.

Just remove all this:

==================================================================================================

//Log in & Sign Up

echo '<section class="top-bar-section">';

echo '<ul class="right">';

$u = new User();

if ($u->isRegistered()) {

if (Config::get("ENABLE_USER_PROFILES")) {
echo '<li><a class="profile-link" href="' . $this->url('/profile') . '"><i class="icon-user"></i> ' . $u->getUserName() . '</a></li><li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out').'</a></li>';
}
else {
echo '<li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out: ').'<span class="username">'.$u->getUserName().'</span></a></li>';
}

}

else {
echo '<li><a class="sign-in-link" href="'.$this->url('/login').'"><i class="icon-lock"></i> '.t('Log In').'</a></li>';
//Enable Registration
if (Config::get("ENABLE_REGISTRATION")) {
echo '<li><a class="sign-up-link" href="'.$this->url('/register').'"><i class="icon-user"></i> '.t('Sign-up').'</a></li>';
} else {
}
}

echo '</ul>';

echo '</section>';

==================================================================================================
w2f replied on at Permalink Reply
w2f
hi formigo,
I am back to working on this part of the site and l looked at the directory that you showed in your answer here, but when I get to that file I only find 2 folders:

1. venture.php
2) venture_sub_nav_.php

I looked in both folders and did not find the code that you posted here in either... could it be somewhere else?

ps- while have both the Reg Pro block AND the log in navigation, the Reg Pro is not displaying the log out option like it is set to do.... so I will ask over there about it, but wondering if there might be an over-writing issues using both at the same time?

thanks for your continued support!
formigo replied on at Permalink Reply
formigo
You need to look in the venture.php file:
//Log in & Sign Up
echo '<section class="top-bar-section">';
echo '<ul class="right">';
   $u = new User();
   if ($u->isRegistered()) {
      if (Config::get("ENABLE_USER_PROFILES")) {
         echo '<li><a class="profile-link" href="' . $this->url('/profile') . '"><i class="icon-user"></i> ' . $u->getUserName() . '</a></li><li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out').'</a></li>';
      }
      else {
         echo '<li><a class="sign-out-link" href="'.$this->url('/login', 'logout').'"><i class="icon-unlock"></i> '.t('Sign Out: ').'<span class="username">'.$u->getUserName().'</span></a></li>';      
      }
   }
   else {
   echo '<li><a class="sign-in-link" href="'.$this->url('/login').'"><i class="icon-lock"></i> '.t('Log In').'</a></li>';
      //Enable Registration


As for the third party block - you would need to contact the relevant developer here.

Thanks

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.