Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
co2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pixel Humain
co2
Commits
5641d22b
Commit
5641d22b
authored
5 years ago
by
Tibor Katelbach
Browse files
Options
Downloads
Patches
Plain Diff
doc costumBuilder
parent
9a6f9110
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/process/costumBuilder.org
+29
-0
29 additions, 0 deletions
docs/process/costumBuilder.org
with
29 additions
and
0 deletions
docs/process/costumBuilder.org
0 → 100644
+
29
−
0
View file @
5641d22b
* costumBuilder.org
** preview a costum for an element
just add test/costumId to slug
ex :
element slug : administration-opal
costum template to preview : campagne
{{http://127.0.0.1/ph/costum/co/index/slug/administration-opal/test/campagne}}
this forces the costum slug == campagne
** save choice
[ ] sets on data of the element.costum.slug.campagne
** costumize the template
[ ] template have the particularity of carrying a "dynForm" attribute
contains all the fields and their form input types
that can be edited and modified inside the template
ex : campagne [[/var/www/dev/modules/costum/data/campagne.json]]
[ ] use cms for editable element + path2value
defined inside a template page
[ ] dyFObj.openForm(costum,null,DFdata )
var DFdata = {
'tpl' : '<?php echo $tpl ?>',
"id" : "<?php echo Yii::app()->session["costum"]["contextId"] ?>"
};
costum.col = "<?php echo Yii::app()->session["costum"]["contextType"] ?>";
costum.ctrl = "<?php echo Element::getControlerByCollection(Yii::app()->session["costum"]["contextType"]) ?>";
[ ] save to to elements costum attribute element.costum.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment