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

Create alias same working like menu page alias

10 年 4 个月 前 #130 kol89322
Hello,

I want to create alias in my table same link menu alias, It should be unique in my table.

Help me please...

Please 登录注册一个帐号 to join the conversation.

10 年 4 个月 前 #131 Jan van de Laar
Replied by Jan van de Laar on topic Create alias same working like menu page alias
I have the same question.

Please 登录注册一个帐号 to join the conversation.

10 年 2 个月 前 #360 Noxidsoft - Noel Dixon
Replied by Noxidsoft - Noel Dixon on topic Create alias same working like menu page alias
Create a text field 'alias' and then modify it on the fly just like the core Joomla does. Make it unique by concatenating a couple of fields together, or do validation to make sure it remains unique. It can be a complex process, but looking at how Joomla does it at the core helps.

Kindest regards,
Noel Dixon | www.noxidsoft.com | www.hazalerts.com.au
The following user(s) said Thank You: Andres Maeso

Please 登录注册一个帐号 to join the conversation.

9 年 1 个月 前 - 9 年 1 个月 前 #1026 Eduardo Mena
Replied by Eduardo Mena on topic Create alias same working like menu page alias
Noel's answer covers creating the field. But does anybody know what needs to be done in order to actually use that field?
I guess you need to edit the router.php, but does anyone have examples on how this should be done?
Thanks!

- EDIT - 

I just found out about the new Alias field. So I'll check how it's done!
Last edit: 9 年 1 个月 前 by Eduardo Mena.

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.054秒
核心: Kunena 论坛

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.