How to call a certain section in a array_merge?

4 posts by 2 authors in: Forums > CMS Builder
Last Post: February 28, 2011   (RSS)

By videopixel - February 25, 2011 - edited: February 25, 2011

Hi,

i want to style my sections that are now showed together in a array_merge, but how do I call witch section is what?

Re: [videopixel] How to call a certain section in a array_merge?

By Jason - February 25, 2011

Hi,

You can have a field in each section that would be used to identify it as coming from a certain section. If you have a large number of records though, it could be time consuming to set a value in each one.

You may want to rethink using array_merge. Since you need to treat each of these sections separately, why do you want to combine them into one array?

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] How to call a certain section in a array_merge?

I'm using the http://desandro.com/resources/jquery-masonry/ Jquery plugin to arrange my div's that are filled in from different sections, every section needs a certain style (size and colors) that's why...