× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

How to use an alias field to use a string-type ID field ...

7 Jahre 3 Tage her #1681 von Paul Delbar
I would like to use a table which has a string field as its main identifier. The ID could be generated in the background, but the principle way to form a route for this component would be something like

/mycomponentmenuitem/myStringValue

I can change the type of the ID field to string, but I cannot edit it in a form. Also, the router does not understand it. I've tried using alias fields as well, with limited success.

Has anyone done this before, and if so, could you point to a place here I can find some doc or a sample ?

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

7 Jahre 2 Tage her #1682 von Juan Sánchez
Hello,

This is not something related to our Component Creator, but to Joomla!

In Joomla, the IDs should be integer and autoincremented, otherwise the router will experience some troubles. If you need to customise your router or anything else, our premium users receive custom support via our ticket system.

Regards.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Ladezeit der Seite: 0.058 Sekunden
Powered by Kunena Forum

Wir verwenden eigene Cookies und Cookies von Drittanbietern, um Ihr Nutzererlebnis zu verbessern und Ihnen einen optimalen Service zu bieten. Wenn Sie die Website weiter nutzen, gehen wir davon aus, dass Sie mit unserer Cookie-Politik einverstanden sind.