Have sign in and register block in home page

Hi,



I know my account block have sign-in and register link in the drop box. I just want to move that to home page. ( I dont want my account block there)



Can any one help me out to achieve this.



Thanks



I just want sign in and register link in home page top panel section.

Ok, No much help still i figured it out guys.



Hope it will be help full for others.


```php


{if $auth.user_id}
{__("profile_details")}
{__("sign_out")}
{else}
{__("sign_in")} | {__("register")}
{if $settings.General.secure_auth != "Y"}


{include file="views/auth/login_form.tpl" style="popup" id="popup`$block.snapping_id`"}


{/if}
{/if}

```

Just place this code in Html and smarty block

tested in version 4.0.2
Hope it helps some on ..

smarty code now works in html blocks?

Now we have a separate block



HTML block support smarty class



Use it.

Well, that will sure make a lot of “quickies” much easier. Then all one has to worry about is getting the template variables set for the controller(s) you want your block to appear in. Much easier than writing and implementing a custom block.

Yes thats true @tbirnseth. I am learning myself wasting heck lot of my time on cs cart now.