×
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 ...
Paul Delbar
Nouveau membre
Posts: 1
il y a 7 ans 1 semaine #1681
par Paul Delbar
How to use an alias field to use a string-type ID field ... a été créé par 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 ?
/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 ?
Connexion ou Créer un compte pour participer à la conversation.
Juan Sánchez
Nouveau membre
Posts: 9
il y a 7 ans 1 semaine #1682
par Juan Sánchez
Réponse de Juan Sánchez sur le sujet How to use an alias field to use a string-type ID field ...
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.
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.
Connexion ou Créer un compte pour participer à la conversation.
Temps de génération de la page : 0.050 secondes