Skip to main content
Aug 2, 2015 3:24 PM UTC
New

Guided Landing Page Enhancement: Repeating Region

It would be fantastic to allow a section of a landing page (including contained elements) to be duplicated. An example of this would be an event landing page that has a variable number of speakers; event a might need 2, event b might need 5. Hypothetical example below:

<div class="speaker mktoRepeatable">

     <div class="speaker__name mktoText" id="speakerName" mktoName="Name">Speaker Name</div>

     <div class="speaker__title mktoText" id="speakerText" mktoName="Title">Speaker Title</div>

</div>

vs

<div class="speaker">

     <div class="speaker__name mktoText" id="speakerName1" mktoName="Name">Speaker Name</div>

     <div class="speaker__title mktoText" id="speakerText1" mktoName="Title">Speaker Title</div>

</div>

<div class="speaker">

     <div class="speaker__name mktoText" id="speakerName2" mktoName="Name">Speaker Name</div>

     <div class="speaker__title mktoText" id="speakerText2" mktoName="Title">Speaker Title</div>

</div>

7 replies

Aug 26, 2015 10:59 AM UTC

Templates are one of my major gripes with Marketo after switching from Pardot. Guided templates are definitely a step forward, but without repeatable  regions are not flexible enough. 

Translate
Sep 17, 2015 4:26 PM UTC

This would be such a great idea - especially for speaker bios.

Translate
Grégoire_Miche2
Level 10
Sep 17, 2015 5:22 PM UTC

Hi Jonathan,

That's a great idea. You may want to contribute to this stream :

You will probably need a variable or a mechanism to set the number of repeat, with a min and max. Ideally, this would take the form of a variable, similar to other guided LP variables.

Best regards,

Greg

Translate
Casey_Grimes2
Level 10
Oct 2, 2015 3:16 PM UTC

Just a technical note here: this is actually possible in a couple of different ways: I've used AngularJS to solve this on free-form landing pages, and toggling display of divs if there's an upper limit for guided landing pages. Granted, this is all more advanced ways of addressing the issue and it would be a better solution if this was easier for endusers.

Translate
Oct 2, 2015 5:14 PM UTC

The locations where we do this right now don't have an explicit upper limit so we are including more than enough duplicate entries and including variables to toggle the visibility of the items. This ends up making guided templates that have  a lot of toggles and other variables, over 150 for one template.

I isn't a particularly elegant solution especially compared to something like Mail Chimp:

<div class="article" mc:repeatable>

<h3 mc:edit="article_title">Title</h3>

<p mc:edit="article_content">Content</p>

</div>

Translate
Feb 7, 2020 2:38 AM UTC
No text available
Translate