Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • prhammer Friend
    #139585

    I am trying to figure out how to make a template I am working with behave similar to the ja_purity template. Specifically this relates to the mod_login. if users go to a registered page without logging in (using a bookmark), the get a page that tells them to login. In the default joomla 1.5 configuration the login form is not on this page. In ja_purity the login form shows up on this page.

    I assume that this change is done via the template override, but I cannot determine where in the default.php file this change is actually made.

    I would appreciate any help with this that can be offered.

    scotty Friend
    #298090

    When a person (un-logged in) tries to access a private page in purity, purity uses joomla’s default response. Which is to show /components/com_user/views/login/tmpl/default_login.php and which does indeed have the login form.

    Maybe the template you are using is the one with the override? Go to your template folder and see it there is a folder called html and see if there is a folder in this called com_user. It there is then this contains your override. If not then I’m not sure what the problem is. Even if you set Registration to OFF and allow New User Registration to OFF – clicking on a private page still returns the login page (bizzarly:confused:)

    prhammer Friend
    #298097

    <em>@scotty 120373 wrote:</em><blockquote>When a person (un-logged in) tries to access a private page in purity, purity uses joomla’s default response. Which is to show /components/com_user/views/login/tmpl/default_login.php and which does indeed have the login form.

    Maybe the template you are using is the one with the override? Go to your template folder and see it there is a folder called html and see if there is a folder in this called com_user. It there is then this contains your override. If not then I’m not sure what the problem is. Even if you set Registration to OFF and allow New User Registration to OFF – clicking on a private page still returns the login page (bizzarly:confused:)</blockquote>

    I checked my template and it does not have a com_user in the the html folder. ja_purity does have a mod_login folder in the template’s html folder – which is what made me think that it was using a modification. I will have to do some more poking around in the default_login.php file and see if I can figure out what is happening.

    -Ron

    prhammer Friend
    #298263

    I have discovered that my problem is not that the form is not being called – it is a problem with my template displaying it in the overflow area of the content. I changed the css for the content area to auto (from hidden) and voila, there is the login form off the edge of the content area.

    Now I need to unravel how to get the css/html to properly display it in the content area.

    scotty Friend
    #298265

    prhammer;120569Now I need to unravel how to get the css/html to properly display it in the content area.

    http://getfirebug.com/

    prhammer Friend
    #298322

    I added this to the css and it fixed the problem:

    .input { clear: both; }

    That brought the form back into the normal content area.

    Thanks for pointing me in the right direction.

    -Ron

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  prhammer 15 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum