Replies: 3 comments 3 replies
-
Maybe what I'm looking for is "display types", as explained in the documentation about zones differentiators. There's a For what I've learned, it seems that the positioning described by a "Theme", takes precedence over templates and other definitions, as described here. Questions are more or less the same:
Thank you |
Beta Was this translation helpful? Give feedback.
-
Hi @aaronamm, as mentioned in the chat during the YouTube theme development live session, here is my discussion about the Thank you 😊 |
Beta Was this translation helpful? Give feedback.
-
Why not use zones? |
Beta Was this translation helpful? Give feedback.
-
Hello everyone,
I'm diving into the world of "Placement" but I need some clarification. This topic is addressed in the documentation, as well as in the "Training Demo" module, specifically in the "Display Management" section. Additionally, I've watched this video from the Dojo Course 3 for further insights.
To give you a brief overview, I've implemented my
MyTextFieldDisplayDriver : ContentFieldDisplayDriver<MyTextField>
within myCustomTheme
module. I used theocfielddriverfull
code snippet, I've managed to utilize theLocation()
method (as demonstrated here) in theDisplay
andEdit
override methods, to specify the placement of my field shape. However, the process for defining these positions remains unclear to me 😶🌫️This is why I have several questions:
Placement.json
, but I'm wondering howPlacement
can be defined within a custom theme. Specifically, how can I tag specific parts for use, such as"Admin", "Content:10"
(as showed here), I need first to define it in myLayout.cshtml
?MyTextFieldDisplayDriver
also uses aLocation()
method in theEdit
override?Here an example of Joomla "Module Map" feature:
Thank you so much for any reply
Beta Was this translation helpful? Give feedback.
All reactions