alias pages

Permalink Browser Info Environment
I have an English / French site with a blog that is in only in English. I made an alias of the english blog page into the french section of the sitemap and mapped them in in Internationalization. But language switching doe not work properly. Is there a way to configure Alias pages with Internationalization?

Thanks

Type: Discussion
Status: In Progress
pvernaglia
View Replies:
Korvin replied on at Permalink Reply
Korvin
I'm not sure what your issue is, what is the desired behavior and what is the current behavior?
codaone replied on at Permalink Reply
codaone
I ended up to the same issue. I have single pages which I aliased to different languages but the relate page doesn't actually work with alias pages because it saves the original page id not the alias page id in relation thus making the relation to it self and that is why it doesn't work.

Solution is to check if page is alias when relateing page.
$newPageId= $newPage->isAlias() ? $newPage->cPointerOriginalID : $newPage->getCollectionID();

This needs to be changed in files:
packages/multilingual/controllers/dashboard/multilingual/page_report.php - method assign_page
packages/multilingual/models/section.php - method relatePage

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.