Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

getTranslation(en_US)


Reply

2 Posts   545 Views

Avatar
borriej

18 December 2012 at 4:19am Community Member, 267 Posts

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

Avatar
borriej

29 January 2013 at 3:58am Community Member, 267 Posts

up!