wmk

anyone has experience with silvershop/SS4 and fluent?

Lorrain Fontaine

Well yes, I’m currently developing a website using Fluent and SS4.5.1 so the latest version of both tools, I don’t know if I can help you but I can try 🙂

wmk

should I do the whole calculation inside fluent state? Maybe it returns an object, but doesn't lazy load the stuff when I leave the state?

wmk

i already wrap it in FluentState and set locale to '' to get something back. It's OrderItem->Buyable() in silvershop, which grabs the page in a specific version

wmk

nope. $this->owner, as I'm in an extension. Funnily, the de_DE version loads, the en_US version doesn't load additional stuff (which is untranslated)

wmk

well, in PHP I cannot access a $db value

wmk

how can I tell a DO to load all lazy fields?

wmk

See interface "CMSPreviewable", which is implemented by SiteTree

wmk

There is also something like "PreviewLink" available. Mabe it's possible to disable the preview pane for this page or pagetype?