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.

Screen_Shot_2013-07-03_at_3.08.54_PM.png

 

2. Click on the Text Blocks menu item.

Screen_Shot_2013-07-03_at_3.09.14_PM.png

 

3. Click on the Add key text button.

Screen_Shot_2013-07-03_at_3.09.23_PM.png

 

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.

Screen_Shot_2013-07-03_at_3.11.13_PM.png

 

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.

Screen_Shot_2013-07-03_at_3.11.18_PM.png

 

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

Screen_Shot_2013-07-03_at_3.11.26_PM.png

 

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

Screen_Shot_2013-07-03_at_3.11.33_PM.png

 

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

0 Comments

Please sign in to leave a comment.
Powered by Zendesk