Welcome, Guest
Username: Password: Remember me
If you expect answers you should describe your problem and give as much information's as possible. (SQL-Structure, Template Code, Joomla Version ...) Please read this before posting: joodb.feenders.de/support.html
  • Page:
  • 1

TOPIC: Different catalog according to joomla user

Different catalog according to joomla user 1 month 6 hours ago #5323

  • elrecu2001
  • elrecu2001's Avatar Topic Author
  • Offline
  • Posts: 2
  • Thank you received: 0
Hi there.

I want to use wildcard {joodb ifis} to compare actual joomla user id with an integer field in my DB to show only the items that are available to that user, but I don't know how to get the current joomla user ID to do it.

Please, can you help me?

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

Different catalog according to joomla user 4 weeks 2 days ago #5324

  • Dirk
  • Dirk's Avatar
  • Offline
  • Posts: 1083
  • Karma: 21
  • Thank you received: 196
You can not compare with the current user id.
It's not part of the data.

You could write a plugin but that's not nessecary.

Just declare the field with the user ID in your Database as Joomla USER ID.

Then you can switch on Advanced => "Show only userdata" in the menu settings of your catalog.

This message has an attachment image.
Please log in or register to see it.

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

Different catalog according to joomla user 4 weeks 2 days ago #5325

  • elrecu2001
  • elrecu2001's Avatar Topic Author
  • Offline
  • Posts: 2
  • Thank you received: 0
Thank you very much!!!

This works perfectly

Regards

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

  • Page:
  • 1
Moderators: Dirkjoest