Created
August 18, 2015 16:42
-
-
Save stevewithington/4d7a00034e8ea02e910c to your computer and use it in GitHub Desktop.
Mura CMS: Add an Arabic Body/Content field and output properly on the layout templates.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--- | |
First, create an extended attribute for Base/Default called 'arabicBody' | |
---> | |
<cfset arabicBody = $.setDynamicContent($.content('arabicBody')) /> | |
<cfif Len(arabicBody)> | |
<div dir="rtl" lang="ar"> | |
#arabicBody# | |
</div> | |
</cfif> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment