Reoccurring items

Permalink Browser Info Environment
I would love to see a Reoccurring item feature added. So if I want to make a block that has 3 field types per item. Then in the Block edit settings you can add additional items all with the same setup. The view.php would then display the list of all the items you added. Much like how the Image Slider works.

Type: Pre-Sale
Status: Resolved
DanHolley
View Replies:
ramonleenders replied on at Permalink Reply
ramonleenders
You're not the first haha. Uhm.. the current setup for the fields is just not possible to be repeated. The validation is for a single field, the HTML and all the rest as well. I've thought about it, and I think I can do make this - AS A FIELD TYPE. But not as a feature itself for the existing field types. So you can add a field "repeatable" (or whatever) and have the option to add some field types within this field type.

An other approach would be to create a new add-on, which sole purpose is to create reoccuring (repeatable) items!

Don't know if you're a developer in some way or have a different opinion, so far I hadn't got any input, so I'm open to each and every idea :)
DanHolley replied on at Permalink Reply
DanHolley
I am not a PHP developer. I just do front end design. However its not just one field type that I want to be repeated. Its a collection of field types in that block (as one item) would be repeatable.

You could treat it like the Static HTML field type:
Add it to the block, have a radio button select if is an opening or a closing tag, then add another one for the closing at the end. Every field type inside the opening and closing will now be a one repeatable element.

Not sure if this is possible with Block Designer, but it would be great if it was.
ramonleenders replied on at Permalink Reply
ramonleenders
Yeah I catch your drift. The opening/closing is something I came up with, with somebody yesterday. But still, generated output for the forms should be different for repeatable and non-repeatable (different names, as one is an arrayvalue and the other isn't for example).

I will see what I can do about this! Thanks for thinking along so far, appreciate it :)
mobius2000 replied on at Permalink Reply
mobius2000
Hi ramonleenders,

Just wondering if there is any movement on this feature? I love this package but I'd happily pay for a new package if you needed to build this functionality from scratch.

The repeatable content option in Concrete5 5.6's package titled 'Designer Content Pro' is perfect. Would be amazing if Block Designer or even a new package type could achieve the same outcomes.
tduncandesign replied on at Permalink Reply
tduncandesign
+ 1 for paying for a new package. Heck, we could probably get a pool going to at least partially support the dev, speaking for myself, but wondering if others would agree.
ramonleenders replied on at Permalink Reply
ramonleenders
But "Designer Content Pro" requires you to code stuff yourself? So it's not "click and play"? Also, you do not wish to combine non-repeating fields with repeating fields? Because this add-on does not include non-repeating fields at all.
tduncandesign replied on at Permalink Reply
tduncandesign
I've used Designer Content Pro on a couple of sites, and as far as I can recall it was click-n-play. The only coding I had to do was in my view files to arrange the output like I wanted.

Yes, it would be awesome to have the ability to mix repeating and non-repeating fields, but just the repeating would be insanely great. But repeatable fields alone are fantastic for giving a client a way to easily populate galleries, etc.

This dealer maphttp://www.northernlightpaddles.com/find-dealer/... at the bottom of the page there was made with DCP, the client can edit this block, click to add another dealer, and all he has to do is supply straight text, logo image, and lat/long coordinates that he can read off Google maps.

Thinking of it, I have not had a case yet where I would have actually needed single and repeatable fields, but if it were possible, who knows?
ramonleenders replied on at Permalink Reply
ramonleenders
Currently flooded with other work, so it's not that I will be starting on this anytime soon. I'm still open for it though, but just haven't been able to do this "on the side".

What would be best is to know if people would want to combine with non-repeatable or not. Because if all say no, probably best to make it a separate package. But then again, isn't the author of designer content pro already converting this?

I think combining would be the bomb, but not sure if anyone would use it at all.
DanHolley replied on at Permalink Reply
DanHolley
I would love to see this mixed into the current package. Also I would use this addition more than the current setup. I feel the current setup with single items is great, but would be 100 times better with the multiple items functionality. Designer Content Pro is not currently compatible with Concete5.7
tduncandesign replied on at Permalink Reply
tduncandesign
Completely understand not having time to work on the side, I would be hard pressed to work on spec also. It's a powerful package though, I couldn't imagine not having good sales.

This may or may not be the place to discuss such things, but what does it cost in time to develop such a package? Maybe we do a gofundme thing or something. Be a way to gauge demand perhaps. Or maybe we throw up an Elemental site and take that survey block and find out how many people would commit to a purchase, or let them sign a petition! Just a thought. : )

The last I asked Jordan about DCP, he had no immediate plans to work on 5.7 stuff. That's my recollection of his comment, not to put words in his mouth. Perhaps he will weigh in.

At any rate, thanks for Block Designer, that will get a lot of love on my foreseeable future sites anyway.
wildapple replied on at Permalink Reply
wildapple
We too need this functionality and it doesn't appear like Jordan is going to do anything soon. We would be willing to help finance along w/ some of the other people who are requesting this service.
ramonleenders replied on at Permalink Reply
ramonleenders
To ALL those interested, does it make sense that only 1 (one!) repeatable block is available? So for example, we add in a checkbox at items (field types) that could be repeated, and name it "repeatable" (just an example), and all checked repeatable items can be repeated?

Or are you willing to have multiple repeatable blocks within a block type (will make the whole thing a bit more complicated of course)? I do think Designer Content Pro only has it repeatable once as well, right?

If you have suggestions to do stuff otherwise, do let me know. It's important that this functionality fits your requirements (and not just one mans requirements). As for funding, please let me know what you have in mind.

I will decide based on your comments. I need feedback before I can start and will start a thing like this. Hours have to be spent into the product and it has to be in a way you guys want it and will be using it. So input is important! :)
StefSmeers replied on at Permalink Reply 3 Attachments
StefSmeers
I've made a few pictures to illustrate what you mean. So it is clear to other people as well.
DanHolley replied on at Permalink Reply
DanHolley
I think it is important to be able to make multiple repeatable fields while also having non-repeatable fields in the same block. This way I can create blocks that have a settings panel (non-repeatable fields), and also have multiple content items (repeatable fields). This will allow for future expansion and growth of content without rebuilding the block.
ramonleenders replied on at Permalink Reply
ramonleenders
The fields will be repeatable, that's for sure. But will you need more than 1 section of repeatable blocks?

Let's say you want repeatable items (section 1). Those have:

Title
URL
Page
Description

You can click "Add entry" to add another of these. So you can enter title, URL ... again. Do you need, next to the above repeatble items, another section (section 2)? Let's say:

Image
Facebook page

And you can click "Add this alternative entry". Does one really need multiple sections like this? So you can click "Add entry" for a new entry in section 1 and "Add this alternative entry" for a new entry in section 2?
tduncandesign replied on at Permalink Reply
tduncandesign
I don't think it would need "nested" repeatability. Is that what you are saying? Then again, could just be I've never had a need for that, others may have.
DanHolley replied on at Permalink Reply
DanHolley
So adding a different set or relatable items within the basic set. I don't think I would personally have any use for having multiple repeatable item types within the same block. Maybe someone has a good use case example where this would be useful.

The only application I can think of that would involve 2 types of repeatable items within the same block, is if the (section 2) items were embedded into a (section 1) item. So the (section 2) items are displayed as sub-repeatable times under a (section 1) repeatable item.
tduncandesign replied on at Permalink Reply
tduncandesign
Agree, and I don't see a need to sub-set repeating items like that.
tduncandesign replied on at Permalink Reply
tduncandesign
I would be happy just to have the same functionality as Designer Content Pro.

However, it would be nice to be able to have non-repeating fields above or below the repeating fields. Or else, if it is all mixable, you would need a way to group fields to repeat.

If we are making a gallery for instance, we might need title, image, caption and link as a group that repeats, but we might want to add non-repeating Title and Text fields to that gallery to appear above or below it.

As far as funding, I think you need to let us know what development would cost, and we setup a gofundme account or something, and contribute. Everyone who contributes a certain amount or more gets a license or five, and you sell it in the marketplace to others who come along later?
StefSmeers replied on at Permalink Reply
StefSmeers
@tduncandesign: Yes, the mentioning you made is what we tried to explain.
So in your terms: There should only be one group of repeatable fields. Before and after this group of repeatable fields there can just be non-repeatable fields.
In my opinion there is no need to be multiple groups of repeatable fields in a single block.

@DanHolley: With this solution mentioned in the reply to duncan, you are able to have the so called "settings panel" you described. ;)
ramonleenders replied on at Permalink Reply
ramonleenders
Yeah, you can have non-repeatable above or below, no problem. It's just that if you only need 1 set of repeatable items, it will make life a little easier. But @DanHolley, you actually need more sets of repeatable items with subsets or where you trying to make a use case? :D

As for development costs, first I have to know what needs to be developed. After that, I can make a raw estimate. So, first settle what's there to build before we actually start anything here hehe :)
tduncandesign replied on at Permalink Reply
tduncandesign
Let's just assume it is one set of repeating fields, with non-repeating fields possible in the surrounds, what kind of dev cost are we talking? As a ballpark estimate, just to know what planet we are on.
DanHolley replied on at Permalink Reply
DanHolley
I was only thinking up examples of why someone would need more than one set or repeatable items. I have no direct use for nested repeatable items, and would say to leave them out, as the benefits would not outweigh the time and expense.
StefSmeers replied on at Permalink Reply
StefSmeers
Neither could I. Well, I think we're all on one line now and want te same functionality, so let's kick it off! :) Or am I wrong?
ramonleenders replied on at Permalink Reply
ramonleenders
I think development costs will be around €1000,00 in total (perhaps more). I have yet to discuss the (crowd)funding with my accountant, as this will financially be different of course compared with just sending out invoices. Also, I'm not sure if I can give "free" licenses to people using the marketplace, they have to be bought if I'm not mistaken. Of course a client wants to assign licenses to projects instead of separate downloading and such.

Currently I'm doing some projects, so it's not that I can start this thing right away. What I would be interested in as well, would be what pricing you think is fair to pay in the end (per site/usage). I mean, it's not sure the funding will make it's total and if I won't do the funding, I need to have sales to get my development costs out of this.
StefSmeers replied on at Permalink Reply
StefSmeers
Ramon, I am convinced you'll get at least €1.000 in sales. This is a killer add-on which everyone is looking for and which is the only missing link for people to start using Concrete 5.7 instead of sticking with 5.6.
tduncandesign replied on at Permalink Reply
tduncandesign
At at $30 price point, like Block Designer you only need to sell 33 copies. How many Block Designer licenses have sold, if you don't mind sharing that.

Well, 33 not considering a cut to C5, I don't know how the marketplace works for sellers... So maybe u need to sell 50 copies or something.

As I said earlier it would be a default purchase for most if not all new sites. Bundle them.

Sent from my iPhone

> On Jun 26, 2015, at 7:12 AM, concrete5 Community <discussions@concretecms.com> wrote:
mobius2000 replied on at Permalink Reply
mobius2000
I'll happily pay half of your e1000 quote amount for a fair amount of licenses to see this block come to action. Please PM me if your interested.

These repeating features is quite a desperately needed feature to take this package from an occasional use item to a must have for every installation.

Hope to hear from you soon.
tduncandesign replied on at Permalink Reply
tduncandesign
+1 for this functionality, it would be a default purchase for nearly every site I build.
DanHolley replied on at Permalink Reply
DanHolley
Agreed. Almost every site I work with would benefit from this added functionality.
mobius2000 replied on at Permalink Reply
mobius2000
+1 for this functionality
StefSmeers replied on at Permalink Reply
StefSmeers
+1 for this functionality as well! :)
tduncandesign replied on at Permalink Reply
tduncandesign
Just now have another place I could really use this...
tduncandesign replied on at Permalink Reply
tduncandesign
Just now have another place I could really use this...
tduncandesign replied on at Permalink Reply
tduncandesign
Have two new site builds slated that both need this block... : ))
ramonleenders replied on at Permalink Reply
ramonleenders
Which field types would you need for most sites? I can't do all 27 field types at once of course (and some will be excluded anyways), so I'm trying to do a basic version first. For example textbox, numeric, textarea, image & link.

Depending on how development goes, I can do more. If you guys say "I'm satisfied with only a couple basic ones for starters", I will do a release with these. I'm sure you understand I can't do EVERYTHING at once, and I want to have some input too.
cd13sr replied on at Permalink Reply
cd13sr
I think those basic field types are good for starters and would be satisfied for a release now. I know it would be helpful for me to also have a Select (dropdown) and WYSIWYG field.

Thanks for the update, looking forward to the release!
StefSmeers replied on at Permalink Reply
StefSmeers
Yes, I think those will come in handy as well. With a little bit of logic you already can do almost everything with those 7 fields.
tduncandesign replied on at Permalink Reply
tduncandesign
I agree, textbox, numeric, textarea, image, link, wysiwyg, select + URL for external links.
ramonleenders replied on at Permalink Reply
ramonleenders
OK, will do my best. I will let you guys know when I have an update. I'm currently building that you can have multiple repeats next to eachother. Each repeatable field will have it's own "tabbed content". So if you want 5 repeatable groups, fine. You'll have 5 tabs + a basic tab (if non-repeatable fields are entered). You can think of children, grand children, parents for example. Don't know if it will ever be used by someone, but it's possible. This makes it quite advanced too. Repeating within a repeatable group is not possible, that's not gonna work at all. So you can't nest them (that wasn't asked of you, I know, but I just looked into it, and it's just too complicated).

Perhaps I will make a video before the release, so everything is clear for you guys.
ramonleenders replied on at Permalink Reply
ramonleenders
I've put up an introduction to the repeatable fields/reoccurring items on YouTube. Don't mind my English please, been working my ass off so can't be bothered correcting my own mistakes haha.

View the video here:http://youtu.be/A2sY1NUA3-E

Do let me know if you have comments/questions! I will be needing some feedback before releasing this.
tduncandesign replied on at Permalink Reply
tduncandesign
Sweet! Nice work.

Should File also be repeatable so we can create lists of downloads?

So this won't really be a separate package, we'll just choose whether to build a static block or a repeatable one?

Having the "Basics" plus the "Repeatables" in one block will be really nice.
ramonleenders replied on at Permalink Reply
ramonleenders
Yup, correct. You can have them side by side. The "Title" and "Intro" in this video are the only single/static ones. The rest was all repeatable (also the static HTML). You have them all in Block Designer (repeatable is only in Block Designer Pro, so one without this Add-On can not use repeatable items).

Also, you can have multiple repeatables next to eachother. So you have "Circuits" (as in the video), but you can add another like "Social media" and add a "URL" field and "Textbox" (title) field. This then will be in another tab.

Only thing missing is repeatable items WITHIN repeatable items. That's just technically not going to work, so that won't be available. But as you guys stated, you didn't need it anyways so.. I'm just hoping you won't miss it either :)
tduncandesign replied on at Permalink Reply
tduncandesign
When would you anticipate a release? This block will be crucial for the next build I have lined up.
ramonleenders replied on at Permalink Reply
ramonleenders
Depends on the feedback I get. Hoping to get some feedback of people if this works as expected (as shown in the video). I don't tend to change it around much every release, so having a version that won't change much will be good. At release, there may be issues here or there, so feedback after release (meaning, just post tickets/issues when you have) will be crucial too. Could be the day after tomorrow or next week. But the release is near if you ask me.

I've worked my ass off for these 21 field types to be repeatable (instead of the 5/6/7 that we first discussed), so I assume everybody can work with this setup. So the 5 remaining ones will take some more days/weeks (although I guess I won't be converting the "Stacks" field type to be repeatable at all).
ramonleenders replied on at Permalink Reply
ramonleenders
BTW your question "we'll just choose whether to build a static block or a repeatable one" wasn't answered correctly I think. You can combine static fields with repeatable groups. You don't choose ONLY repeatable groups or ONLY static/non-repeatable fields. You can just combine them on the go, no choosing before building with Block Designer. So you're free to have only non-repeatable, free to have non-repeatable with repeatable groups or just repeatable groups/items only.
ramonleenders replied on at Permalink Reply
ramonleenders
As for your question:

"Should File also be repeatable so we can create lists of downloads?"

The answer is yes, it should be - and will be. Currently in the process of converting this one too. The base version just couldn't have it all at once, it was way too much work (and as you guys didn't mention it for the base release, I didn't convert it to be repeatable yet).

If you want it earlier than the official release, you can always PM me.
cd13sr replied on at Permalink Reply
cd13sr
Good work! From the looks of it I think it will work nicely, I don't foresee any deal breakers.

The only comment I have is that it may be nice if the repeatable items were grouped together when creating a new block, instead of selecting from the "Repeatable for" dropdown. A few ideas would be to group the items into one big accordion that visually has a different background / border. Or, group them in tabs, similar to the front end block.

Thanks.
ramonleenders replied on at Permalink Reply
ramonleenders
I chose for one uniform way of adding new fields, and that is clicking the icons on the very bottom. If you want to instantly group, there have to be all the same field types and icons within a repeatable block. And you have to drag/drop inside each repeatable block. That means there is no uniform way anymore. Also codewise this was the best way to do it. I still had to maintain the current options block designer has and that means also loading configurations of already created blocks. There would have been too much extra code (javascript) that would ruin quite much if I had grouped them and added extra buttons etc. Also, if grouped you couldn't have ungrouped them. Now you can always repeat it for a group or undo it by just changing the dropdown. We could work with (background) coloring though perhaps? Any ideas on that?
cd13sr replied on at Permalink Reply
cd13sr
I see, thanks.

As far as coloring, I think I would have to play around with it first as there seems to be a few different variables that may make it weird. For example, since you can move the different fields around someone could theoretically have a repeatable field below another repeatable item, so they wouldn't be grouped together. Not sure how to handle that with colors...
ramonleenders replied on at Permalink Reply
ramonleenders
If you have 1 repeatable field (#1) at the top, and have a non-repeatable field (#2) after this one and THEN a repeatable for #1, and again a non-repeatable field (#4), your non-repeatable ones will be processed after the repeatable group. The #1 field gets all fields for its group and doesn't do anything that doesn't belong to it. If you have a non-repeatable above and below #1, they will be in the view file as added. So one will actually be above the group and one below. It doesn't mess up anything in between. You can mix multiple groups too this way. Each repeatable group will go through its own fields anyway in the correct order, without mixing non-repeatable fields it should have.

Hope it's clear to you :)
ramonleenders replied on at Permalink Reply
ramonleenders
To those already purchased the Pro version, go ahead and check it out (it's live). Do let me know if things are not clear or not working (how you thought they would work). It's the first release, there may be issues, so please report them ASAP so I can get it fixed.

To those who haven't bought it yet and are curious/willing to play with it, it's available for you guys too (after purchase of Block Designer Pro - https://www.concrete5.org/marketplace/addons/block-designer-pro)....
mobius2000 replied on at Permalink Reply
mobius2000
Hi all,

I've given this a try and it all works amazingly, except for the image block. I've found that adding a repeatable image option seems to break the resulting block.

I have this installed on XAMPP for testing, I added some non-repeatable options, then created a repeatable entry followed by a repeatable image, repeatable textbox and when I create the the block, try to add it to the page, it first does nothing (doesn't load the form), when I try again it loads the form but there are no inputs available.

If I do the same process but not add the repeatable image, it works perfectly.

Can anybody else confirm if they have experienced this? It may just be me doing something wrong.

Besides this little issue, this is the single best block available for Concrete5 and will be automatic purchase for every single project I undertake. As soon as I can get the image working properly, it will be a 5 star rating!

Great job Ramonleenders.

PS: This may not be a bug, it may be something I am doing wrong. I have added this here so as many people as possible can confirm if they are experiencing the same issue. This SHOULD NOT stop people from purchasing this block!
mobius2000 replied on at Permalink Reply
mobius2000
I take it back, it's not related to the image component. I am trying to accurately recreate the situation.

I will report back if I can narrow it down.
mobius2000 replied on at Permalink Reply
mobius2000
Error was all mine... The only thing I can thing of was I was using the same slug for different test blocks as I am unable to recreate the issue I was having.

Apologies to author, this really is an AMAZING PACKAGE!!!
ramonleenders replied on at Permalink Reply
ramonleenders
So it's back to a 5-star rating again? :D

If you DO have an issue, you can always send me the config.json included within your created block type folder. This way I can create the block too by using the exact same values as you used. I should be having the same issues then (at least, that would make sense). I can then investigate and fix for this particular situation - if there's something to fix.

But I'm glad you're not having any issues anymore!
cd13sr replied on at Permalink Reply
cd13sr
Just to clarify, we have to purchase Block Designer and Block Designer Pro, correct?
ramonleenders replied on at Permalink Reply
ramonleenders
Correct, you need both to have Pro working. You can not use Pro without the base version!
cd13sr replied on at Permalink Reply
cd13sr
Nice, the double charge :( ...

Thanks again, I'll provide some feedback once I get a chance to use this.
tduncandesign replied on at Permalink Reply
tduncandesign
Small price to pay for Ramon's hard work to bring this functionality to C5 5.7.
ramonleenders replied on at Permalink Reply
ramonleenders
You can also stick with 5.6 and use Designer Content and Designer Content Pro (https://www.concrete5.org/marketplace/addons/designer-content-pro/). The last one will cost you $50 and doesn't have as much configurations, field types and is not 5.7 compatible. The developer of this Add-On also put hundreds of hours development in it and just can't afford it to put it up for free. I quote:

".. we have invested a great deal of time into this addon (I worked on it for over a year) for the purposes of selling it to other designers, developers, and agencies, so making it free is not an option we can afford.

We have found that when we build sites for clients, using Designer Content Pro saves us probably 4-8 hours per project, so our thinking was that $50 to save anywhere from $200- $1200 of billable hours (depending on what your rates are) is still a good deal."
cd13sr replied on at Permalink Reply
cd13sr
Thanks Ramon, you're right, it will save me time and money. I appreciate your hard work and look forward to using this add-on soon!

concrete5 Environment Information

blah, blah blah

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25

Hide Post Content

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

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.