Hi,
First, thanks for couch ! I use it for many years... ant the evolution is great !!
I have few question...
There is projects with gallery and each projet have a categorie
- Photo
-- project photo 1
-- project photo 2
- Peinture (painting)
-- project peinture 1
-- project peinture 2
- Dessin (drawing)
-- project dessin 1
1 project = 1 gallery + 1 description global + 1 image global + 1 categorie
In admin, i need to manage categories : add/delete/sorts (Photo/Peinture/Dessin/...)
and to add project and choose categorie for this project.
I tried several things :
1. With repeatable
projets.php
categories.php
It's perfect : when i create a project i can choose my categorie
BUT... I have to upload images one by one
2. With gallery
In admin, i create empty gallerys for the categorie, then projects in each categories.
I don't find it intuitive for the client :
For add a project
- one click for the template (left menu in admin)
- one click on "manage folder"
- one click for "add new"
and for create a new categorie...
and i didn't find how use "k_up_down" in the list folder view (admin). it's possible ?
(for sort categorie and sort projet in a categorie...)
3. The ideal solution :
- simple management of categories with a clonable page.
- use gallery for massive upload AND a custom view of folder's administration for assignate a categorie (with a dropdown like in the first solution)
is it possible to use "config_form_view" and relation for gallery's folder ? (and not for each image...)
Would you have some advice ?
Thanks and sorry for my bad english
First, thanks for couch ! I use it for many years... ant the evolution is great !!
I have few question...
There is projects with gallery and each projet have a categorie
- Photo
-- project photo 1
-- project photo 2
- Peinture (painting)
-- project peinture 1
-- project peinture 2
- Dessin (drawing)
-- project dessin 1
1 project = 1 gallery + 1 description global + 1 image global + 1 categorie
In admin, i need to manage categories : add/delete/sorts (Photo/Peinture/Dessin/...)
and to add project and choose categorie for this project.
I tried several things :
1. With repeatable
projets.php
- Code: Select all
<cms:template title='Projets' clonable='1'>
<cms:editable type='relation' name='projets_categories' masterpage='categories.php' has='one'/>
<cms:editable name='projet_description' label='Description du projet' type='richtext' />
<cms:repeatable name='my_gallery' >
<cms:editable name='my_img' label='Image' type='image' show_preview='1' />
<cms:editable name='my_img_caption' label='Legende' type='text' />
<cms:editable name="my_picto" label="Pictogramme" opt_values='Oui' type='checkbox' />
</cms:repeatable>
</cms:template>
categories.php
- Code: Select all
<cms:template title='Categories' clonable='1' order='5' icon='menu'>
</cms:template>
It's perfect : when i create a project i can choose my categorie
BUT... I have to upload images one by one
2. With gallery
- Code: Select all
<cms:template title='Projets2' clonable='1' dynamic_folders='1' gallery='1'>
<cms:editable name="gg_image" ...
[...]
</cms:template>
In admin, i create empty gallerys for the categorie, then projects in each categories.
I don't find it intuitive for the client :
For add a project
- one click for the template (left menu in admin)
- one click on "manage folder"
- one click for "add new"
and for create a new categorie...
and i didn't find how use "k_up_down" in the list folder view (admin). it's possible ?
(for sort categorie and sort projet in a categorie...)
3. The ideal solution :
- simple management of categories with a clonable page.
- use gallery for massive upload AND a custom view of folder's administration for assignate a categorie (with a dropdown like in the first solution)
is it possible to use "config_form_view" and relation for gallery's folder ? (and not for each image...)
Would you have some advice ?
Thanks and sorry for my bad english
