Repeater Field

10 posts by 4 authors in: Forums > CMS Builder
Last Post: Yesterday at 7:19pm   (RSS)

Hello Interactive tools, i was wondering how would it be possible to have a Repeater Field similar ACF(https://www.advancedcustomfields.com/resources/repeater/),

this is would be very useful for adding functionality such as FAQ, Tabs, Sliders etc.. at the time being you would have to create a multi record  for faq as example and assign each question to a separate section probably called faq category and then add that to 3rd section that is used for pages

By jasmar222 - January 14 - edited: January 14

+10

a life-long dream of mine as well.

Hey all, 

Great suggestion.  We'll put that on the list and look into how to implement it.

Dave Edis - Senior Developer
interactivetools.com

Are we there yet?!!??  ;-)

I realize it's a recent request. I do not expect it immediately of course...just submitting my approval for a GREAT request! 

Hi Codee, 

We're busy working on the next release, which is probably 1-2 weeks out before the beta, but can revisit repeater fields in the future.

Can you give me an example use case?  How you'd actually be using it.  e.g., What's a real-world example of some fields you'd be repeating? 

Dave Edis - Senior Developer
interactivetools.com

Hi Codee, 

We're busy working on the next release, which is probably 1-2 weeks out before the beta, but can revisit repeater fields in the future.

Can you give me an example use case?  How you'd actually be using it.  e.g., What's a real-world example of some fields you'd be repeating? 

Dave Edis - Senior Developer
interactivetools.com

By moh3 - Monday at 11:54am - edited: Monday at 11:57am

hello i will provide some use cases as follows: FAQ, Tabs, Sliders, Accordions, example i have a service page where i need to add FAQ related to that service i could add question and answer and repeat that field group as much as needed , same goes for a slider where i have image, caption , and link .

This could be done as added on my 1st post using a several sections , but with this functionality it would expand the CMS to ultra flexible.

On the side note if i created a page builder (drag and drop) integrated within the CMS, would anyone be interested to help in expanding it to be production ready and available as a plugin?

i do have it as beta but the file uploads is a challenge and having it working with boostrap without conflicts in columns 

Hi Dave, In my case the following applies.

Fields I repeat in multiple sections of every site I build (sometimes more than 3 of each such as for a classic car site, pets, etc. but you get the point...fields constantly retyping cmsb fields and php code for over and over):

* YouTube video Id fields:

[YT_ID1]…[YT_ID2]… 3, etc..   In this text field the user simply enters the youtube id such as "EZZfRJAF9W8" for the video they want to appear on the page and [yt_video_text2 ] for any custom title text for that video.

On the html page I have, as a partial example for the field YT_ID2:

                                                <div class="video-container">

                                                            <div class="youtube-player" data-id="<?php echo ($record['yt_id2']) ?>" title="RV video about <?php echo $record['yt_video_text2'] ?>" alt="RV video about <?php echo $record['yt_video_text2'] ?>"></div>

                                                </div>

* On nearly every page, in every section, of every site I build I include fields for targeted keywords and social media tags, such as:

Keyword 1, Keyword 2,Keyword 3 and SocialMedia 1, SocialMedia 2, SocialMedia 3, etc. 

these are text fields that get specific placement within the build of each page so they are caught and read by the search engines and may appear via the following html:

<?php if ($faqsRecord['keyword_1']): ?> - <?php echo htmlencode ($faqsRecord['keyword_1']) ?><?php endif ?>

<div class="socialmedia">

                        <?php if ($genfaqsRecord['social_media_1']): ?>                                                                                                                           

                                    <span class="socialmediatext">#<?php echo htmlencode ($genfaqsRecord['social_media_1']) ?>

                                    </span>

                        <?php endif ?>

                        <?php if ($genfaqsRecord['social_media_2']): ?>                                                                                                                           

                                    <span class="socialmediatext">#<?php echo htmlencode ($genfaqsRecord['social_media_2']) ?>

                                    </span>

                        <?php endif ?>

                        <?php if ($genfaqsRecord['social_media_3']): ?>                                                                                                                           

                                    <span class="socialmediatext">#<?php echo htmlencode ($genfaqsRecord['social_media_3']) ?>

                                    </span>

                        <?php endif ?>

            </div>

*In many sections, especially FAQs, I put a section for "related information" in case the user wants to display relevant related information to the topic either within or without their website.  The fields I use are related_1 with related_1_url:

<!--begin related information area-->

            <?php if ($genfaqsRecord['related_1']): ?>

                        <div class="ifinterested">Additional Information...

                        </div>

                        <div class="inversebox">

                                    <?php if ($genfaqsRecord['related_1']): ?>

                                                <a href="<?php echo htmlencode($genfaqsRecord['related_1_url']) ?>" target="_blank">

                                                            <div class="tinbox">

                                                                        <?php echo htmlencode($genfaqsRecord['related_1']) ?>

                                                            </div>

                                                </a>

                                    <?php endif ?>

                                    <?php if ($genfaqsRecord['related_2']): ?>

                                                <a href="<?php echo htmlencode($genfaqsRecord['related_2_url']) ?>" target="_blank">

                                                            <div class="tinbox">                    

                                                                        <?php echo htmlencode($genfaqsRecord['related_2']) ?>

                                                            </div>                                               

                                                </a>

                                    <?php endif ?>

                                    <?php if ($genfaqsRecord['related_3']): ?>

                                                <a href="<?php echo htmlencode($genfaqsRecord['related_3_url']) ?>" target="_blank">

                                                            <div class="tinbox">

                                                                        <?php echo htmlencode($genfaqsRecord['related_3']) ?>

                                                            </div>

                                                </a>

                                    <?php endif ?>

                                    <div class="centered"><span class="relatedinfo">[links open in a new window]</span></div>

                        </div>

            <?php endif ?>

<!--end related information area-->

Staff bios: name, title, bio, photo, linkedin profile

faqs: question, answer, tags

sliders: photo, headline, text, link

feature block: photo, icon, text, link

Drag sort order would suffice, though being able to order by a particular field would be nice  

Forcing min/max entries would also be nice to have