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.049 seconds

This is what you call a component builder. I was able to master using this in a very short time and the resulting component works like a charm. Not just a basic component builder but a fully working component builder with forms fields tables all ready to go. You can make the list and item views to display in the front and back end. Also there is a great forum just starting to evolve and I'm sure this will grow very rapidly when you all realise how good this tool is.
Kevin (JED)

         

Get Started