Hi,
Yes, october cms is perfect tools :) now im have build 5 sites with it, cool :) but need some help. One think i cant figure out: can`t translate slug from my plugin.
Approximately my octobercms environment is:
- inf config edgeUpdates => true;
- all updates instaled;
- for translation i`m using rainlab-translate;
- for plugin development using rainlab-builder plugin, everythink fine with it;
- in plugin model, as translatable attributes, i set: ['slug', 'index' => true];
- and in responsible layout config are correct (as i think): url param: url = "/produktai/:slug" viewBag: localeUrl[en] = "/products/:slug"
- any other translation i.e. static page, cms page works perfect;
- any error related with translation.
Say for example, if i make slug translation, so only model, who has slug in general language is accessible. If i try access it with translated slug - it does`t work. Work on with default (general language) slug. Why is the problem? And even, i try default october rainlab-blog plugin, and it is the same situation: translatable slug not working.
As i think, all magic is usage of ['slug', 'index' => true] , not ?
Last updated