Timeline for Access global field content
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 11, 2018 at 20:34 | vote | accept | Malte | ||
Jan 11, 2018 at 20:34 | answer | added | Malte | timeline score: 1 | |
Jan 8, 2018 at 16:11 | comment | added | Robin Schambach | Could you show us how you fetch your global set? Because of your error message I get the feeling you didn't fetch the set | |
Jan 8, 2018 at 15:56 | history | edited | Malte | CC BY-SA 3.0 |
deleted 7 characters in body
|
Jan 8, 2018 at 0:40 | answer | added | Roi Agneta | timeline score: 2 | |
Jan 7, 2018 at 18:07 | comment | added | Robin Schambach |
Your code is actually correct. I created the set footer with the matrix field footer and the block column with the fields headline and columnContent and copied your code as it is with {% set footer = craft.globals.getSetByHandle('footer')%} and it works. You error must be related to your fields/your field handles or the field types. Since we don't know your layout we can't really help you
|
|
Jan 7, 2018 at 17:54 | comment | added | Malte | @RobinSchambach Thanks for the advice, I added some lines. Do that help? | |
Jan 7, 2018 at 17:53 | history | edited | Malte | CC BY-SA 3.0 |
added 203 characters in body
|
Jan 7, 2018 at 17:26 | comment | added | Robin Schambach | We need more of your code in order to help you. How do you fetch the global set, what are you doing with it after your loop | |
Jan 7, 2018 at 17:16 | history | asked | Malte | CC BY-SA 3.0 |