I ended up doing something like that. 

I added this to the header template which displays the login or logout link
and checks the site config to see if registration is enabled.

#if( $utils.isUserAuthenticated() != true)
$url.login Login 
#else
$url.logout Logout 
#end
#if ($config.registrationEnabled == true)
|  $url.absoluteSite/roller-ui/user.do?method=registerUser Register 
#end

While we're at it, isn't the User Guide link in footer wrong? I changed it
to this.

http://rollerweblogger.org/wiki/Wiki.jsp?page=UserGuide 

And didn't the weblog name instead of the user name used to show up in the
Hot blogs list? I changed that to this.

<li> $url.site/$blog.subjectNameShort $blog.subjectNameLong
($blog.subjectNameShort)  | $blog.count</li>



Dave Johnson-8 wrote:
> 
> On 12/10/06, mikec <[EMAIL PROTECTED]> wrote:
>> We've just upgraded from 2.3 to 3.0 and it appeared to go smoothly except
>> for
>> a couple of minor problems with the front page.
>>
>> I've created a new front page using the frontpage template. It looks fine
>> except that the Register link is missing and I'v noticed that after
>> logging
>> in the front page always displays the login link instead of logout(or
>> should
>> it?).
>>
>> I have the "Allow New Users" property set in the admin configuration
>> page.
>> And this is set to true in the roller_properties in the database.
>>
>> What would be causing this?
> 
> The frontpage theme does not provide a register link.
> If you'd like one, then customize the theme and add a link on the
> "_header" page.
> 
> For example, I did it by adding the registerUser link in the banner like
> so:
> 
>                 <td class="bannerRight">
>                     $url.absoluteSite $config.siteName  |
>                     $url.absoluteSite/roller-ui/yourWebsites.do Main Menu 
> |
> 
>                    
> $url.absoluteSite/roller-ui/user.do?method=registerUser Register 
> |
> 
>                     $url.login Login 
>                 </td>
> 
> - Dave
> 
> 

-- 
View this message in context: 
http://www.nabble.com/no-register-link-on-frontpage-tf2791741s12275.html#a7862128
Sent from the Roller - User mailing list archive at Nabble.com.

Reply via email to