Search:     Advanced search
Browse by category:
Contact Us



Setting Up Block Editing in T-Edit

Views: 234
Votes: 0
Posted: 21 Aug, 2008
by: Taricco T.
Updated: 21 Aug, 2008
by: Taricco T.
Block Editing in T-Edit allows the webmaster to set up blocks of content on a page that can be self-administered by the website content administrator.
  • Editblock - An EditBlock is an area of content on the page that is directly editable. The content of the EditBlock in the browser overwrites the corresponding EditBlock in the page's file on the server. Once an EditBlock is on a page only areas inside of EditBlocks or IncludeBlocks can be edited unless the user is a Super User. An Editblock must contain a closing comment after the block's close tag.

    Sample Code

    <div editblock="maincontent">
    <p>Content Here</p>
    </div><!-- editblock="maincontent" -->

  • IncludeBlock - An IncludeBlock contains a SSI - ASP - PHP server side include. The content of the IncludeBlock in the browser overwrites the included file. An Includeblock does not require a closing comment after the block's close tag.

    Sample Code

    <div includeblock="/path/to/include.ext">
    <!--#include virtual="/path/to/include.ext" -->
    </div>
  • Excludeblock - An Excludeblock cannot be edited by any user including a Super User. JavaScripts containing document.write() functions or calculations, and SSI - ASP - PHP includes providing dynamic content can be placed inside of Excludeblocks. An Excludeblock must contain a closing comment after the block's close tag.

    Sample Code

    <div excludeblock="maincontent">
    <p>Content Here</p>
    </div><!-- excludeblock="maincontent" -->
  • Userblock - An Editblock can also contain a Userblock attribute. If the user is the username identified in the Userblock attribute that Editblock will be editable. All other Editblocks on the page will not be editable for that user. If any Userblocks are on the page, and the page does not have a Userblock attribute for that user, the page is not editable - unless the user is also a Super User.

    Sample Code

    <div editblock="maincontent" username="tom">
    <p>Content Here</p>
    </div><!-- editblock="maincontent" -->
Others in this Category
document Editing an existing, encrypted, e-mail address
document Adding a row to an existing table AND adding a new, encrypted, e-mail address
document Adding a hyperlink, inserting an image, uploading a PDF file
document Editing an existing hyperlink
document Creating a bookmark
document Uploading a PDF file and Linking It



RSS