Already using an alternate template?

Permalink Browser Info Environment
You may already be using an alternate template for a block, but would now like to load the block with that alternate template by AJAX.

If you don't want to do any coding whatsoever, the simple answer is to create a stack containing the block with its alternate template, then load the stack using the Blocks by AJAX template for Universal Content Puller
or the Stack Randomizer block,... as described in the documentation.

A route that involves some minimal coding is to create an ajax version of the alternate template, as described in the documentation. You could call it something like 'alternate_template_name_by_ajax', just to remind you of which template to use in the Concrete Custom Templates selection.

The Universal Content Puller addon also includes pluggable wrappers, a nifty way to add additional styling and layout borrowed from other block templates.

Type: Discussion
Status: Archived
View Replies:

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.