2024-10-29, 18:04:41
(This post was last modified: 2024-10-29, 18:08:07 by Bolkonskij.)
Scenario: A static-text website wants to add a tips & tricks section. These tips range from two-liners to 10 paragraphs including images. Each tip & trick will be displayed on a single page.
Requirements:
I could set up things by hand, but that sounds like a real chore. It'd be much nicer if I could "flag" a page in the CMS a tip and a function would randomly pick one from the array.
Any ideas on how to get the functionality implemented ?
Requirements:
- Each tip should be accessible via an individual URL.
- The tips should be stored individually in a page in the CMS.
- A user should be able to navigate the tips either in form of "back" and "forward" buttons or by clicking on a "random tip" button which leads to a random tip.
I could set up things by hand, but that sounds like a real chore. It'd be much nicer if I could "flag" a page in the CMS a tip and a function would randomly pick one from the array.
Any ideas on how to get the functionality implemented ?