Hello all. foa Couch is amazing!!
I can't believe I'm the only one asking about this, but I've read and read searched all the terms I can think of and there's nothing I can see that tells me what I need.
The easiest example to give here would be a portfolio or blog using the dynamic_folders='1' and gallery='1'.
Obviously that cannot be in the blog or portfolio template themselves, they would have to be their own template/folders (right?). Since gallery='1' is the only way to do the bulk upload of images, this is what I need.
But how do I match the blog (or portfolio) cloned page with the single photo gallery that would come from a dynamic gallery folder? I can connect them by editables (see code below)
I can't tell if I'm over-thinking or under-thinking...
On my portfolio.php template I have this editable:
gallery-listing.php is just this:
Portfolio-gallery.php shows this:
and this works great!
for every gallery I make, the name shows up in a dropdown list in my portfolio clonable page.
Every portfolio-gallery folder has a main folder image and a description.
using <cms:pages... > I can enumerate everything I need including the value for the gallery_folder editable.
Where I'm stuck is that I'm unsure how to isolate the individual gallery folder to list out the single gallery folder image, text and of course the images that are ONLY in that folder. I can't find a way to have <cms:folders> only give me info on one single folder.
If this question has been answered, please my deepest apologies and just point me to that/those conversations. Or point me to the posts I've missed. I can't figure it out. Can this even be done? A specific photo gallery (dynamic..., gallery='1') enumerated from being tied to a clonable page? Also, as much as I believe this can probably be done with Page Builder, I'm working on a site that's already been configured before PB was available in Couch. I have to believe what I'm asking can be accomplished programmatically.
I can't believe I'm the only one asking about this, but I've read and read searched all the terms I can think of and there's nothing I can see that tells me what I need.
The easiest example to give here would be a portfolio or blog using the dynamic_folders='1' and gallery='1'.
Obviously that cannot be in the blog or portfolio template themselves, they would have to be their own template/folders (right?). Since gallery='1' is the only way to do the bulk upload of images, this is what I need.
But how do I match the blog (or portfolio) cloned page with the single photo gallery that would come from a dynamic gallery folder? I can connect them by editables (see code below)
I can't tell if I'm over-thinking or under-thinking...
On my portfolio.php template I have this editable:
- Code: Select all
<cms:editable name="gallery_folder" label="Choose Photo Gallery Page " opt_values="gallery-listing.php" dynamic="opt_values" type="dropdown" order='10' />
gallery-listing.php is just this:
- Code: Select all
Please Select=-
<cms:folders masterpage='portfolio-gallery.php' >
| <cms:show k_folder_title /> = <cms:show k_folder_name />
</cms:folders>
Portfolio-gallery.php shows this:
- Code: Select all
<cms:template parent='_portfolio_' title="Portfolio Gallery" clonable="1" hidden='0' dynamic_folders='1' gallery='1' >
and this works great!
for every gallery I make, the name shows up in a dropdown list in my portfolio clonable page.
Every portfolio-gallery folder has a main folder image and a description.
using <cms:pages... > I can enumerate everything I need including the value for the gallery_folder editable.
Where I'm stuck is that I'm unsure how to isolate the individual gallery folder to list out the single gallery folder image, text and of course the images that are ONLY in that folder. I can't find a way to have <cms:folders> only give me info on one single folder.
If this question has been answered, please my deepest apologies and just point me to that/those conversations. Or point me to the posts I've missed. I can't figure it out. Can this even be done? A specific photo gallery (dynamic..., gallery='1') enumerated from being tied to a clonable page? Also, as much as I believe this can probably be done with Page Builder, I'm working on a site that's already been configured before PB was available in Couch. I have to believe what I'm asking can be accomplished programmatically.