kpatient Posted December 29, 2012 Share Posted December 29, 2012 (edited) Hello, I've been building a shop using Prestashop and so far everything has been great! However I've hit a hurdle. I can't find any way of disabling/enabling cms articles for specific languages. The reason for this is the default language is German and some of the content isn't exactly translatable so for now we would like to disable this content for other languages. I'm assuming now that this isn't possible with through the standard back-office. Does anybody know if it is or any type of hack/module that could do this? Thanks in advance, Kai Edited December 29, 2012 by kpatient (see edit history) Link to comment Share on other sites More sharing options...
kpatient Posted December 31, 2012 Author Share Posted December 31, 2012 Bump. Has no-one got any ideas regarding this issue? Link to comment Share on other sites More sharing options...
Trip Posted December 31, 2012 Share Posted December 31, 2012 (edited) Afaik know there is none. You have to hack the module/blockcms/blockcms,php on your own. Look for the id of the german language and encapsul some parts with an if condition like if ($language['id_lang']==germanlanguage_id{then....} Best regards, Trip Edited December 31, 2012 by Trip (see edit history) Link to comment Share on other sites More sharing options...
the.rampage.rado Posted December 31, 2012 Share Posted December 31, 2012 You want to disable the article content or the heading in one of the sideboxes? If it's the first option you can enter 'empty content' for this language. Link to comment Share on other sites More sharing options...
kpatient Posted December 31, 2012 Author Share Posted December 31, 2012 (edited) Afaik know there is none. You have to hack the module/blockcms/blockcms,php on your own. Look for the id of the german language and encapsul some parts with an if condition like if ($language['id_lang']==germanlanguage_id{then....} Best regards, Trip That seems like a good place to start. I will post results later for reference. Thanks! You want to disable the article content or the heading in one of the sideboxes? If it's the first option you can enter 'empty content' for this language. Preferable I need the link to disappear for this language so all traces of the page are not visible. However this would definitely be helpful, thanks. Edited December 31, 2012 by kpatient (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts