Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • Ferm
  • Ferm's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 39
  • Thank you received: 6
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!

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

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

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

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

  • Page:
  • 1
Time to create page: 0.104 seconds

First let me congratulate you on an excellent/outstanding product. Just tried for one hour but was very impressed.
Marret (Forum)

Get Started