Index > User tutorials > Making Headers and Footers easier
If you want your clients to edit the footer, and not learn HTML, its sometimes difficult to get things working using a module solution. I've done it with a hidden page and article, which allows you to edit the content (and your client too).
Tutorial is now in the Wiki:
http://dev.typolight.org/wiki/TutorialsEasyHeader (works for headers AND footers)
Tutorial is now in the Wiki:
http://dev.typolight.org/wiki/TutorialsEasyHeader (works for headers AND footers)
Last edited by thyon, 2008-08-04 13:46
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-06-23 15:08
«Two Fools, Same Idea,...»
Hi Thyon,
I tried this technique with news, to offer i.e. audio player. But this failed in a few tests, because the content is not transferred (did not analyze it anyway). Using it your way is very interesting. Thanks for this hint!
Greetings,
NoSi
Hi Thyon,
I tried this technique with news, to offer i.e. audio player. But this failed in a few tests, because the content is not transferred (did not analyze it anyway). Using it your way is very interesting. Thanks for this hint!
Greetings,
NoSi
2008-06-24 11:36
In a similar way you could also create hidden pages for News, Events, etc. Which store image galleries and other editable content. You can then use this inside your News or Event using the same technique:
{{insert_content::ID}}
in this case you can insert just a piece of content within the article.
News Example:
Setup a hidden article called Screenshots, then add image galleries for the screenshots (thumbnails with clickable fullscreen). Then in your Games News, you can add a News Story and then add the screenshots half-way through the news story.
Event Example:
Even though the Event now supports multiple download, you might want to create a nicely styled heading for presentation download and wrap it all in a nice accordion. This you easily do via the article inclusion in your event description.
{{insert_content::ID}}
in this case you can insert just a piece of content within the article.
News Example:
Setup a hidden article called Screenshots, then add image galleries for the screenshots (thumbnails with clickable fullscreen). Then in your Games News, you can add a News Story and then add the screenshots half-way through the news story.
Event Example:
Even though the Event now supports multiple download, you might want to create a nicely styled heading for presentation download and wrap it all in a nice accordion. This you easily do via the article inclusion in your event description.
Last edited by thyon, 2008-06-24 12:17
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-06-24 12:14
Great ideas, Thyon!
I surely will use this in a coming project. E.g. for contact-information editable by the customer and to be displayed in more than 1 part of the site.
Greetings,
Christian
I surely will use this in a coming project. E.g. for contact-information editable by the customer and to be displayed in more than 1 part of the site.
Greetings,
Christian
"Read the source, Luke!"
2008-06-24 13:10
Hi Thyon,
I tried "{{insert_content:ID}}" within a photoalbum. This did not work. After reading your additional comment I tried "{{insert_content:ID}}". And - what can I say: I works!
Thanks for insisting,... .
Regards,
NoSi
I tried "{{insert_content:ID}}" within a photoalbum. This did not work. After reading your additional comment I tried "{{insert_content:ID}}". And - what can I say: I works!
Thanks for insisting,... .
Regards,
NoSi
2008-06-26 15:33
you HAVE to remember to use DOUBLE-BRACKETS {{ and DOUBLE-COLONS :: otherwise it won't work. Often I make the mistake of typing a single colon : which does not work of course.
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-06-26 15:38
Thanks for the hint. The URL doesn't work (anymore), it should read:
http://dev.typolight.org/wiki/TutorialsEasyHeader
http://dev.typolight.org/wiki/TutorialsEasyHeader
2008-09-23 22:05
Thanks for pointing this out, Franky. I have edited Thyon's original post.
2008-09-24 08:09
hey thyon,
did it in 10 minutes, it works GREAT!!!
That was i was looking for
thanks a lot
best regards, arto
did it in 10 minutes, it works GREAT!!!
That was i was looking for
thanks a lot
best regards, arto
2008-09-24 10:02
Thanks Ben. With the switchover to Trac/Wiki and the Repository, I've worked more than 15 hours to convert and update everything. Every time a new release of TL, we have to update all our code to have the new release. As I have about 13 entries in the repository, its really taking a lot of time to get everything right...
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2008-09-24 12:10
Thanks for the tutorial. It's awesome. It opens up so many things.
I know you did it back in '08 but it is great that it is there for us newbies to TL.
I know you did it back in '08 but it is great that it is there for us newbies to TL.
2009-04-20 17:47
You're welcome. I'm actually using it right now, on my latest website. LOL.
thyon | iMac 24" 3.06GHz, OSX Leopard, Safari, Camino, Coda
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
Manuals: QuickPoll, FormAuto, EventsAttend, Galleries, Invitations, Catalog, Catalog Ext, Catalog Tutorials, Catalog Multi-language Tutorial
2009-04-20 17:55
