We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Result:
Workaround: Do not use Page Content block and Userform block on the same page.
The text was updated successfully, but these errors were encountered:
+1 on this. You can't really do that workaround if you have a site full of content in the $content field.
I'm trying to workaround by adding to page.php
function ContentActual(){ return $this->Content; }
and using
ContentActual.RAW
in most templates/layouts and then
$Content
in SilverStripe/UserForms/Model/Layout/UserDefinedForm.ss
Which seems to work ok.
Sorry, something went wrong.
The above needs work, because it does not include changing things like silverstripe links into actual links
so based on https://docs.silverstripe.org/en/4/developer_guides/templates/casting/
im now just doing
$contentActual
in template
and then in pageController
private static $casting = [ 'ContentActual' => 'HTMLText' ]; public function ContentActual(){ return $this->Content; }
No branches or pull requests
Result:
Workaround:
Do not use Page Content block and Userform block on the same page.
The text was updated successfully, but these errors were encountered: