Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 07:02 am EST

Geeklog Forums

Conditional Block or Article Display


Anonymous

Anonymous
Is there a way to display a block only if it meets a certain condition, ie a cookie setting. Can the same thing be done for content articles? I want to find a way to display high bandwidth content only to appropriate users. Thanks
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Well, if you want to make content only available to certain users or user groups, you should make use of Geeklog's permission system. PHP blocks can be written such that they are displayed dynamically (just return an empty string when the block should not be displayed). bye, Dirk
 Quote

All times are EST. The time is now 07:02 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content