-
AuthorPosts
-
March 25, 2009 at 11:51 pm #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 Friendscotty
- Join date:
- March 2008
- Posts:
- 2339
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 76
- Thanked:
- 827 times in 595 posts
March 26, 2009 at 1:23 am #298090When 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:)
March 26, 2009 at 2:11 am #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
March 26, 2009 at 3:42 pm #298263I 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.
-
AuthorPosts
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