Randomizer Issue
Permalink
So I payed for randomizer hoping that 45 dollars would solve all my problems for my current project. As with most coding, that was not the case.
I need to get a set of 16 pictures to randomly change places every 2 seconds only using the stuff concrete5 provides. Its a 4x4 grid but randomizer can only handle putting things down horizantaly. Furthermore, the program only can randomize if there are items that it is not showing (if I tell it to show 4 items out of 4 and randomize it, it simply does not work and the picture never jump around).
Now what I have managed so far is to simply have 16 boxes with a randomizer in them each that each refer to a stack, creating constantly changing picture.I can edit out alot of info and make it look like its working fine but it still puts doubles of some images. I've hit a wall now where the program will not know to use unique images and look correct without alot of major changes to the coding.
So, anyone got any ideas where to go from here or am I getting a refund on this overly expensive program that honestly needs more work? I don't mind doing some tweaks to the coding if it'll work but I'm not being payed enough to rewrite the whole thing.
I need to get a set of 16 pictures to randomly change places every 2 seconds only using the stuff concrete5 provides. Its a 4x4 grid but randomizer can only handle putting things down horizantaly. Furthermore, the program only can randomize if there are items that it is not showing (if I tell it to show 4 items out of 4 and randomize it, it simply does not work and the picture never jump around).
Now what I have managed so far is to simply have 16 boxes with a randomizer in them each that each refer to a stack, creating constantly changing picture.I can edit out alot of info and make it look like its working fine but it still puts doubles of some images. I've hit a wall now where the program will not know to use unique images and look correct without alot of major changes to the coding.
So, anyone got any ideas where to go from here or am I getting a refund on this overly expensive program that honestly needs more work? I don't mind doing some tweaks to the coding if it'll work but I'm not being payed enough to rewrite the whole thing.
Having a 17th picture would make this easier but client only has 16 right now. My problem is that I am building a 16 box grid that randomly shows pictures that must all be unique, change every 2 seconds, no doubles, and able to slideshow through them all even if there are more than 16 available. Some of the items are video to add, plus I need to have this all user friendly.
Quite frankly I would have this done weeks ago if it were just custom programing but constraining myself to concrete5 programs only has left this alot harder than it should be. I'm going to experiment with building the grid through some css and pray it all syncs together, but that still doesn't solve everything.
Quite frankly I would have this done weeks ago if it were just custom programing but constraining myself to concrete5 programs only has left this alot harder than it should be. I'm going to experiment with building the grid through some css and pray it all syncs together, but that still doesn't solve everything.
well good luck with that.
If you need to get some of the work off your hands, feel free to pm me anytime. I have time available at the moment and my prices are (usually :) reasonable.
Good luck
If you need to get some of the work off your hands, feel free to pm me anytime. I have time available at the moment and my prices are (usually :) reasonable.
Good luck
OK so I took some advice from
http://www.concrete5.org/marketplace/addons/randomizer/questions-an...
and set up a template that edits the style's found in view.php. Take the div's and make them work as "inline-blocks" and add some margins to make them look stylish and you have a 4x4 grid.
Now my other problem is is that the program at its heart doesn't actually randomize but takes your set of pictures or objects and records a given number of patterns in advance to go through them as if they were randomized. For example, if I have 6 options and only 2 show up at a time, it will make 3 sets of 2 images and cycle through those 3 paterns.
What about an odd number? If it were 5 options instead then it will do 3 paterns again but one image will repeat. I'm going to have to play with the guts of this and basically figure out which piece is doing this pattern type formula and then I have two options. One is to teach it actual randomization (using something like factorials) and the other is to simply tell it to plan x number of patterns in advance instead of the minimum. I'm thinking option two will be a quicker fix but less practical if you have randomizer doing alot for your site.
Any thoughts?
http://www.concrete5.org/marketplace/addons/randomizer/questions-an...
and set up a template that edits the style's found in view.php. Take the div's and make them work as "inline-blocks" and add some margins to make them look stylish and you have a 4x4 grid.
Now my other problem is is that the program at its heart doesn't actually randomize but takes your set of pictures or objects and records a given number of patterns in advance to go through them as if they were randomized. For example, if I have 6 options and only 2 show up at a time, it will make 3 sets of 2 images and cycle through those 3 paterns.
What about an odd number? If it were 5 options instead then it will do 3 paterns again but one image will repeat. I'm going to have to play with the guts of this and basically figure out which piece is doing this pattern type formula and then I have two options. One is to teach it actual randomization (using something like factorials) and the other is to simply tell it to plan x number of patterns in advance instead of the minimum. I'm thinking option two will be a quicker fix but less practical if you have randomizer doing alot for your site.
Any thoughts?
Frankly it seems like a lot of trouble for something that should be pretty simple.
Here's an alternate way if you can code some simple jquery.
Jordanlev (one of the most active and respected members of this community) has a personal blog (look on google for jordanlev). He offers a very cool template for image managing add-ons. Basically if you want to create a gallery add-on or anything like that his template makes it really easy and he also provides a full tutorial.
What's more, his template offers a simple and effective randomizing option. All you would have to do is code the jquery to move the pictures around. Shouldn't be too complicated and totally free.
Here's an alternate way if you can code some simple jquery.
Jordanlev (one of the most active and respected members of this community) has a personal blog (look on google for jordanlev). He offers a very cool template for image managing add-ons. Basically if you want to create a gallery add-on or anything like that his template makes it really easy and he also provides a full tutorial.
What's more, his template offers a simple and effective randomizing option. All you would have to do is code the jquery to move the pictures around. Shouldn't be too complicated and totally free.
I have never used randomizer so everything I'm going to say is just educated guess.
For most add-ons, you can modify the way the output looks using templates, I suppose you can do it with randomizer as well. This woud allow you to have a 4x4 grid.
For your other problem, how about you use duplicates of the pictures in order to have more than 16 so the add-on will be able to do its job? Of course it means sometimes the same picture might appear twice.
You could also have more than 16 unique pictures, depending on what you are trying to do.
Good luck