Ticket #1520 (new enhancement)

Opened 6 years ago

Last modified 6 years ago

blocks should be able to create block title

Reported by: werner Assigned to: demian
Priority: normal Milestone:
Component: SGL - BlockLoader Severity: open
Keywords: Cc:

Description

blocks should also have the ability to generate the displayed block title, not only the content

this would be useful e.g. for subnavigation block to display the parent as title, or for html-article-block to display items title, or for hardcoded blocks to display translated titles etc...

could be solved by returning an array('title'=> '...', 'content'=> '...'). Blockloader can determine if it receives an array or just a string (like now) which would be content only.

Attachments

1520.diff (2.6 kB) - added by werner on 08/22/07 09:16:58.
blockLoader changes and demo with navigation block

Change History

08/22/07 08:04:53 changed by werner

  • owner changed from somebody to demian.
  • type changed from defect to enhancement.

08/22/07 09:16:58 changed by werner

  • attachment 1520.diff added.

blockLoader changes and demo with navigation block