Keyword

Creating individual user pages

  • oorzaak
  • oorzaak's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 10 months ago - 9 years 10 months ago #133870 by oorzaak
Replied by oorzaak on topic Creating individual user pages
Another question about the template overrides:

When selecting a menu item, my template overrides are used.
But someone who knows that the site is made using K2, can also forge a url like this: .../component/k2/itemlist/user/948

In this case the default template is used, not my override.

I have a problem with that because I added some user access scripting to the overrides. So these can be easily bypassed. Would removing the default template from the /components/k2 folder solve this? And/or would this create new issues that I am not aware of?

Frits

---

Edit: our latest posts crossed.
Last edit: 9 years 10 months ago by oorzaak.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 10 months ago #133873 by Krikor Boghossian
Replied by Krikor Boghossian on topic Creating individual user pages
The default template means, the default K2 template which you have overriden.

There is a small difference between K2 templates/ subtemplates and Joomla! templates.
If you only use one K2 subtemplate then you do not need to worry about this issue.

This cannot be changed without an SEO extension beacuse this is standard Joomla! functionality. The way these menus behave is how Joomla! menu items behave and not K2.

Finally this post will clarify K2 templates. It is definetely worth the read. nuevvo.com/blog/item/84-k2-inheritance-sub-templating

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum