Creating website sections
5 February 2018 | 31 views | Tags: Documentation
Every content object in Tuskfish can be accessed simply by passing in its ID as a parameter. For example, https://yoursite.com/?id=10 will open the content with ID 10. You can therefore use any item as a 'section' within your website simply by adding a link to it in your site navigation to raise its profile. Typically you would use a tag, collection or static page for this purpose.
Both tags and collections can be used to create dynamic (automatically updating) sections within your website. When the full description of a tag or category is viewed the most recent related content is displayed below as a list in teaser format. You can elevate important tags or categories to ‘sections’ of your website simply by creating direct links to them in your site navigation. Use a collection if you want the possibility of subsections.
For example, if you want to create a "Publications" section in your website, consisting of downloadable documents, you would first create a "Publications" collection and designate it as the parent of all your download objects. You could also subdivide your Publications page by adding child collections to it, such as "Newsletter", “Magazine” and so on. Add a link to the Publications collection in your site navigation and you're done.
If you would like to use a nice URL for your section such as 'publications.php', you can configure a static page to display the content of your section.
Copyright, all rights reserved.
The user manual provides a comprehensive guide to Tuskfish CMS operations. It covers all all aspects from installation to adding and curating content, managing site security and customisation of themes. For additional information on how to customise Tuskfish please see the developer guide.