Thumbnail
Enlil Page Tease

Developed by

Intermediate
Intermediate

Enlil Page Tease

Transform Your Page Lists With Content And More!

 

Package Includes

• Standalone "Enlil Page Tease" Block

• 1 "Page Tease" Page Type

• 3 "Page Tease" Page Templates

• 3 Page List Templates for Core Page List Block

• 3 Page List Templates for Page List+ (Page List+ available on GitHub)

• 6 Custom Templates for Pages Carousel

• Dashboard Page allows Teasing to be disabled Globally, by Page Type, by Page, & by Block Type, for debugging and recursion correction purposes

 


 

Enlil Page Tease Block

Use anywhere to Tease any area from any page (except the page the block is on).

Simply place the block in a Page, Stack, Global Area, or Page Type Defaults.  Select the area you want to display and the page you want to pull that area from.  Set the display options and save the block.

The Enlil Page Tease Block appears exactly as each entry would in any one of the Page List Templates, including the options to display Title, Date & Description.  Use it to display one-off Tease links to pages or build custom tease page lists, one block at a time!

 


 

Page Types

  • Page Tease

This Page Type allows for the use of any of the three following Page Templates.  By default it uses Page Tease Full.

 


 

Page Templates

  • Page Tease Full
  • Page Tease Left
  • Page Tease Right

These three Page Templates are "Elemental Ready" and will work seamlessly with the core Elemental theme.  They are clones of the Full, Left Sidebar, & Right Sidebar Page Templates with the inclusion of 2 new areas called "Page Tease" and "Page Tease List".

Include content in these areas with a page in edit mode, like you do any other area on a page.  You wont see any output on the page when you publish though.  That content is now tucked away, only visible in edit mode otherwise, to be displayed through a Page List Template or the Enlil Page Tease Block.

Use the Page Tease area for content you want to tease here or there across your site.  Use the Page Tease List area to display your content differently when the same page displays through a page list template.  Multiple areas, multiple options.  The choice is yours!

 


 

Page List Templates

  • Page Tease
  • Page Tease List
  • Page Tease Main 

Each Page List Template displays it's implied page area.  "Page Tease Main" Teases the "Main" area of any page.

NOTE:  Page List display settings these templates adhere to are:

  • Page Name
  • Page Description
  • Page Publish Date
  • No Results Message

 

The 3 Page List Templates are also included for Page List+ (Page List+ available on GitHub)

NOTE: v5.7 Page List+ from concrete5.org marketplace is NOT supported.  These templates were written specifically for the version available from GitHub.

 


 

Rules Of The Tease

Enlil Page Tease outputs ccm-edit-mode-disabled-item style notices when:

  • Teasing has been Disabled
  • A kown recursion occurs
  • It attempts to render a Clipboard Block

Notices are visible to administrators and the "owners" of any block being disabled ONLY.

All blocks copied into a teased area or stack through the clipboard MUST be edited and saved to create a new instance of the block before it will display properly.

Teasing Core Area Layouts is currently "not supported" and it is suggested you shy away from use, as some Page Tease features will break inside them.  Core Area Layouts can be disabled in the dashboard Block Type options if you choose to use them.

 

:: WARNING ::

It IS possible to create infinite recursions with this block and its associated templates.  Use caution when using the Page Tease Block, or when creating page lists with the included templates.   

Recursions DO happen.  Options to disable teasing at multiple levels, including Globally, By Page, By Page Type, & By Block Type can be found at:

/dashboard/blocks/enlil_page_tease/

 


 

Version History

  • 0.9.0.1 - Submission to PRB for review
  • 0.9.0.2 - Fix CSS issue
  • 0.9.0.3 - New "Page Tease List" area and associated templates
  • 0.9.1.0 - Deprecation fixes.  BlockTypeSet "Enlil Pages".
  • 0.9.2.0 - Doctrine db.xml. cleanBlockTypeSets(). View Elements. Edit inputs use $form.
  • 0.9.2.4 - $truncate & $class are element parameters.  Tease Element filtering blocks.
  • 0.9.2.5 - Block id specific filtering.  Templates send $controller to tease element.
  • 0.9.3.0 - Cleanup views. Removing empty divs where no content is displayed etc.
  • 0.9.4.0 - Add dashboard Global Disable option to battle recursion case by case.
  • 0.9.5.0 - Package::getByHandle() deprecation fix.  Properly get $app in controllers.
  • Marketplace Approval
  • 0.9.6.0 - Fix broken pages when teasing an area from a page where the area does not exist.  Modifies views and tease element.
  • 0.9.7.0 - Introduces options to Disable Teasing by Page Type & Page, in Dashboard Settings.  Dashboard Page visual enhancement.
  • 0.9.9.0 - Allow disabling by Block Type.  Page & Block Types now Multiple Select
  • 1.0.0.0 - Clipboard Recursion fix.  Added core_area_layout & core_stack_display to disableable block type list. Fix text "Area" to "Stack" in a disabled notice within stacks.

 


 

Current Version: 1.0.0.0
Fully Translatable: Yes
Needs External Libraries: No
Compatible 8.5.2+
License: Standard
Support Response: Replies to tickets every few days.
Support Hosted: On concrete5.org
Needs extra server permissions: No
Needs Internet: No
Marketplace Tests:
Passed Automated Tests
Passed PRB Review