1
badb0iie
no register in the log-in block
  • 2009/8/9 23:02

  • badb0iie

  • Just popping in

  • Posts: 41

  • Since: 2009/8/1 2


i found a problem...
im useing theme xt-tri-2
there is no register button in the log in block...
can you help?
is there a setting or code i can use in the Login block
to have this feature?

this would be what i have done with this theme so far
http://myplayersclub.net/

take note to the log-in block
there is no register feature

2
ghia
Re: no register in the log-in block
  • 2009/8/9 23:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The link for it is defined in /modules/system/templates/blocks/system_block_login.html (see second line in the snippet).
<a href="<{$xoops_url}>/user.php#lost"><{$block.lang_lostpass}></a>
<
br /><br />
<
a href="<{$xoops_url}>/register.php"><{$block.lang_registernow}></a>

Maybe your theme provides a template for this block without the link.

3
AHLIS
Re: no register in the log-in block
  • 2009/10/8 15:03

  • AHLIS

  • Not too shy to talk

  • Posts: 189

  • Since: 2004/12/12


The theme has it own system_block_login.html

Path:
.../themes/xoops_thm_xt-tri-2/modules/system/blocks

Remove This two lines:
<{if $block.registration }>

<{/if}>

Is it the right way? Don't know, but it did the work.

4
AHLIS
Re: no register in the log-in block
  • 2009/11/5 18:46

  • AHLIS

  • Not too shy to talk

  • Posts: 189

  • Since: 2004/12/12


Also the "Remember Me" checkbox is gone when using this theme.

Edit system_block_login.html

Path:
.../themes/xoops_thm_xt-tri-2/modules/system/blocks

This is the orginal code:
<{if $block.rememberme }>
    <
input type="checkbox" name="rememberme" value="On" /><{$block.lang_rememberme}><br />
    <{/if}>


Change:
<{if $block.rememberme }>


To:
<{if isset($block.lang_rememberme) }>


Login

Who's Online

61 user(s) are online (34 user(s) are browsing Support Forums)


Members: 0


Guests: 61


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits