Text Blocks

Text Blocks can be used to update blocks of text on your template where content for those blocks could change often and it has to be done from the administration interface. The content of Text Blocks could be text or complex HTML.


How to: Create a Text Block


1. Click on the CMS tab.



2. Click on the Text Blocks menu item.



3. Click on the Add key text button.



4. Write the URL where this Text Block will be used. This is for reference only to later remember where this Text Block was used.



5. Provide a Key for this Text Block. The key is later used on your templates to reference this Text Block. The key must be unique to avoid any naming conflicts.



6. In the Value text box write the content for this Text Block



7. Select the sites where this Text Block will be shown. 



8. Save.

Screen Shot 2013-06-21 at 3.03.14 PM.png



How to: Use Text Blocks


Add the following two lines in your template. Make sure you replace your-keytext-key with the key you gave your Text Block.

{% load keytext_tags %}

{% keytext "your-keytext-key" %}



Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk