1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » getTranslation(en_US)
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 271 Views |
-
getTranslation(en_US)

18 December 2012 at 4:19am
Hi,
Using SS 2.4.9 with blog module.
Site has multiple languages (6) , blog module exists on all languages but is written only in English. Using the batch action to duplicate and publish English pages to the other languages. This results in a larger database then needed, because the blogentry's are only in English, but exist 6 times per blogEntry..in the BlogHolder.ss i would like to target only the English blogentry's so i can shrink the database a bit. This has not been succesfull, any idea's?
In the template using:
<% control getTranslation(en_US) %> results in a page load, with the template, text: sorry no blogenrty's found...when i create a function that collects the blogentry's i get an error: nginx 502 bad gateway, also see: http://paste2.org/p/2606235
| 271 Views | ||
|
Page:
1
|
Go to Top |
