#1 2014-09-15 12:13:15

stefank
Member
Registered: 2014-06-11
Posts: 16

Unable to Edit Translations of SEO Description/Keywords

v. 1.0.7

What Itry to do:
I want to edit SEO keywords and descriptions of my pages for each language.


How it behaves:
It adds the value of the default language for each language.
The initial save of new keywords / description (when the inputs are empty) is working. Everything is there for each language, but as it adds the value of the default language after it is saved for the first time another pressing of the save button overwrites the initial value of the other languages.


I was searching the forum, if a similar bug was already reported but didn't find anything.

Offline

#2 2014-09-17 12:07:52

stefank
Member
Registered: 2014-06-11
Posts: 16

Re: Unable to Edit Translations of SEO Description/Keywords

The Problem seems to be in this file LINE 330:
https://github.com/ionize/ionize/blob/m … ptions.php

it was:

<?php echo $languages[$lang]['meta_description']; ?>

I changed it to:

<?php echo $languages[$language['lang']]['meta_description']; ?>

Same for the keywords.
I duplicated the admin theme and made my changes, but then I faced this Problem:
http://ionizecms.com/forum/viewtopic.php?id=1733

---
Should I create an issue on github or make an pull request? Or how is your workflow there?

Offline

What's Ionize ?

Ionize is an Open Source Content Management System created by webdesigners for webdesigners.

Created and maintained by Partikule and Toopixel, Ionize wants to be the easiest and most powerful CMS.

Can I help ?

Because talent is nothing without involvement, we are looking for motivated coders and webdesigners to join the project team.

Resources

Website : ionizecms.com
Documentation : doc.ionizecms.com

Development : Ionize on GitHub
Translations : Ionize Translations