Author Topic: How to create a details page ?  (Read 204 times)

Offline telix

  • Posts: 1
How to create a details page ?
« on: October 15, 2018, 10:53:07 AM »
I want to create an addon with list of different items and a detail page for each item. I looked at the hello dolly example but there is no such functionality, so I looked at the topics module and its view.php and view_topic.php files. However, I can't find out how to display a webpage for a single item without showing other sections  from other modules attached to a page. Help appreciated.

Offline Ruud

  • Posts: 3642
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Re: How to create a details page ?
« Reply #1 on: October 15, 2018, 11:19:29 AM »
Have a look at oneforall: https://addon.WebsiteBaker.org/pages/en/browse-add-ons.php?id=04238F62
It does excatly what you want.

Offline dbs

  • Betatester
  • **
  • Posts: 7600
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: How to create a details page ?
« Reply #2 on: October 15, 2018, 11:34:58 AM »
Hi, what i do for case that only on the overview page also other modules should be visible:
- set the other sections to end date yesterday
- call the other section with droplet sectionpicker in the header part (before loop part) of the module topics or oneforall
- if droplet sectionpicker respects the start/end dates of sections, comment it out in the droplet