0
Welcome Guest! Login
0 items Join Now

SOLVED Prepopulating custom layouts with specific modules/custom HTML

    • TechTeam's Avatar
    • TechTeam
    • Rocketeer
    • Posts: 74
    • Thanks: 0

    SOLVED Prepopulating custom layouts with specific modules/custom HTML

    Posted 7 years 1 day ago
    • Joomla 3.64
      Gantry 5

      I've created my own .yaml files in \custom\layouts which work perfectly fine but I can't figure out how to add a module specific code or label the particles I add.

      module 40 adds a module and I would like to add a custom label and add the specfic module number to display. Is this possible?

      Would it also be possible to add - custom 50 with specific custom html, I am currently adding my custom HTML in the backend.

      I've also tried to follow the docs but I am unable to figure this out.

      Creating Layout Presets

        /main/:
          -
            - position-breadcrumbs
          -
            - system-messages 60
      
            - module 40
          -
            - system-content
          -
            - custom 50
            - joomla-articles 50

      Is there an index available of the names to use to add specific particles? - joomla-articles 50 below returns 404.

      Amazing job on RT and Gantry 5, it has made our lives so much easier. :)
    • Last Edit: 6 years 11 months ago by TechTeam.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21506
    • Thanks: 3082
    • messin' with stuff

    Re: SOLVED Prepopulating custom layouts with specific modules/custom HTML

    Posted 6 years 11 months ago
    • Just get it mocked up how you want it in the layout manager and then inspect the YAML that is generated in theme/custom/config/[outlineID]
    • The following users have thanked you: TechTeam

    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
    • TechTeam's Avatar
    • TechTeam
    • Rocketeer
    • Posts: 74
    • Thanks: 0

    Re: SOLVED Prepopulating custom layouts with specific modules/custom HTML

    Posted 6 years 11 months ago
    • Thank you, I figured my layout was generated somewhere but I wasn't sure. :)

Time to create page: 0.039 seconds