Menu

#2350 Error on code for using blocks within the advanced block

v4.1.6
open
nobody
None
3
2008-11-17
2008-11-16
No

I use the advaqnced html block on my Welcome Page, and include a couple of other blocks, like the charts block, within it. I have recently found that on some systems a ">" is displayed after the block. Following is some help from Greg on the issue, and a suggestion for a possible fix when someone has the time. (low priority):
<<The wrapper function calls the normal block code to generate the html for the block, then tries to extract the contents of a particular <div> element, namely something like this

<div class="blockcontent">
.....stuff to extract.....
</div>

This may have worked once, when PGV was in direct control of the HTML for the blocks. Unfortunately, these are now all part of theme templates, so we now need to extract HTML from a template, over which we have no control.

A "proper" fix would be to update the interface to the blocks, so that there is an option for them to generate "raw" data, without the theme wrapper. >>

Discussion

  • Anonymous

    Anonymous - 2008-11-16
    • priority: 5 --> 3
     
  • Anonymous

    Anonymous - 2008-11-17
    • summary: Error on code for using blocks withing the advanced block --> Error on code for using blocks within the advanced block
     
  • Greg Roach

    Greg Roach - 2008-11-17
    • milestone: --> v4.1.6
     
  • Anonymous

    Anonymous - 2009-11-27

    Still valid at Nov 2009, but low priority

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.