Welcome, Guest
Username: Password: Remember me

TOPIC: Simple question -looking up item

Simple question -looking up item 17 Nov 2018 17:53 #15625

  • Ferm
  • Ferm's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 6
  • Karma: 2
Apologies if this is a simple question:

I want to send someone a url so that they can edit an item in a table (view) so something like /index.php/?option=com_xyz&view=abc&layout=def&id=10

However, I want to identify the record using another field instead of "id". Can I specify another key instead "id" without forking and coding it? It looks to me is if id is hard coded in orm but I may well have missed it.

Thanks for your help!
The administrator has disabled public write access.

Simple question -looking up item 26 Nov 2018 18:06 #15627

  • Nicolas
  • Nicolas's Avatar
  • Offline
  • Premium Member
  • Posts: 83
  • Thank you received: 12
  • Karma: 6
Hello.

For me, it is not possible to send a link without the id of your item. rewriting the address does only change the url into the browser. you always need the id of your element to access the page.
the better solution for me is to create a redirect page like this :
window.location.replace("index.php/?option=com_xyz&view=abc&layout=def&id=10");

the joomla SEO setting can hide the url of your item
The administrator has disabled public write access.
Time to create page: 0.066 seconds

Get Started