This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Tagged: Layouts plugin
I have a header and footer layout
Now I would like to have a few different layouts where the header part is different but the footer is the same on all these layouts
I would like to be able to create a layout which I can insert in other layouts, so in my situation above I could create a footer layout and then insert this in both layouts above, so if I need to change something in my footer, I only have to change one layout, instead of two layouts.
The only layout you can insert is a child layout, (the body section) but I would like to be able to insert a new type.
You can define content templates in views, which you can use in many places, I would like to create a single row layout in other layouts.
The new type could be called a layout row.
Hello and thank you for contacting Toolset support.
I think you should try to create two level hierarchical layout.
=> a grand parent with the footer only
=> and a child layout cell
=> the child layout cell will host different layouts with different headers and child layout
Please refer to the following link:
could you please send me debug information that will help us in order to investigate your issue.
I do not think you understand what I am suggesting.
I would like to be able to define a layout which you can then insert in a row in other layouts.
You can insert content templates, but you can't insert other layouts.
YES you can create a header, child, footer layout, which you can use on your other layouts, but you can't create a single layout row in layouts and then use this in other layouts
I wan't to be able to have multiple header-footer layouts where the header is different, but the footer should always remain the same on these layouts. Because of that, It would be nice if I only had a single footer row layout, which I could then use in other layouts.
Any given layout can only include one child layout, so I cant use a child layout.
Basically what I would like is the option to create a layout and reuse that in a row on a different layout which also includes a child layout.
That way I can have multiple header-footer layouts where the header is different, but the footer remains the same, and if I have to change the footer, I only have to change a single layout.
I have tried to describe my request in this screencast: hidden link
You cant insert layouts that way. Actually the way you want to use exactly is not possible but you should try to create custom footer as row/cell and use it at any place.
Please refer to the following documentation:
If this does not helps I will escalate this to our next level support. Please share debug information with us that will help us to investigate your issue.
Well can you escalate it as a feature request?
Because It would be really nice if you could design a row in layout and reuse it in other layouts, like you can reuse content templates in views.
The purpose is that you only have to maintain a single layout if you reuse this in other layouts. Just like content-templates.
Ok. I have reported your concern to our next level support as a feature request. Please be patient, I will get in touch with you as soon as I know more.
I've been talking with our Layouts developer and we ended adding it as a nice feature request which is allowing conditionals for rows.
But as workaround you can use nested Layouts, I mean child of child. A grand parent can has a child, and this child can has another child.
Please let me know if you are satisfied with my reply and any other questions you may have.
It is not possible this way
It is the footer that I would like to have defined one place,
Since I can only define the parent of a layout, and only one single parent, I would essential have to create x amounts of identical footers for each layout I create.
Since the footer is a static content on all pages, but the header may change. I need to maintain multiple copies.
It is not the biggest issue I know, but content template takes care of this in views and layouts. I basically would like a content layout template 🙂
So even though it may not bee on your radar for the moment, I would really love to see this option implemented.
I understand. Ok, this has been added as a feature request. Unfortunately it's not up to me to give a date.