Jump to content

Boxes/content moves when logged in


Guest JasonO

Recommended Posts

Hey

I've just moved my sessions line into a box above the catagorys box. It looks fine when logged out.

However, when I login the template moves around and it looks crap.

http://www.clanshout.co.uk/store

It was fine until I moved the session.tpl into the layout of the other boxes, and then moved it to the left. I want it to be there but im not sure whats wrong.

See the atachment to see what happens when you login, but feel free to register if you want to.

If you need a file I will be happy to post it

Thanks in advance :)

Link to comment
Share on other sites

Your problem is in skins/xx/styleTemplates/boxes/session.tpl

You didn't quite code it correctly.

This code:

<div class="boxTitleLeft">Login</div>

<div class="boxContentLeft">

is intact when logged out, but missing when logged in . . . and the missing opening division tag causes the strange layout problem.

I think you placed the code above after this code:

<!-- BEGIN: session_false -->

ANY code place between <!-- BEGIN: session_false --> and <!-- END: session_false --> WILL ONLY APPLY WHEN SESSION IS FALSE, that is, when a person is not logged in.

The code I mentioned first above needs to be placed between <!-- BEGIN: session --> and <!-- BEGIN: session_false --> so that it can apply whether or not a person is logged in, instead of only when they are logged out :)

By the way, I love the gold skin coloring. You're doing a good job of personalizing the stock skin */*

Link to comment
Share on other sites

Thank you very much for your reply markscarts.

You was spot on about my mistake. I've moved the content into the correct areas and it works great.

And again thank you, i've spent quite a few days on the template and was annoyed about the login problem

Once again thank you for your help, I really appreciate people like you who help the community.

Regards,

Jason

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...