1. 30 Sep, 2018 1 commit
  2. 24 Nov, 2015 1 commit
    • Aaron Wells's avatar
      Display icons for 3rd-party blocktypes plugins · 4f849ed2
      Aaron Wells authored
      Bug 1510421
      
      Defines a new static PluginBlocktype method, get_css_icon(), which
      fetches the name of the CSS icon to use for this blocktype. It returns
      false by default, which tells the theme to "fall back" to the old
      thumbnail.png instead. 3rd-party plugins can override this to
      specify a particular icon to use.
      
      All the core blocktypes have been refactored to extend
      MaharaCoreBlocktype, which uses the blocktype name as the name
      of the CSS icon to use. I also deprecated the "SystemBlocktype"
      class while I was at it.
      
      PluginBlocktype::get_blocktypes_for_category() now returns both
      the results of get_css_icon() and the thumbnail.png path, so that
      themes can decide which they want to use. (And of course
      thumbnail.png is served via thumbnail.php, so 3rd party themes
      can provide their own custom image files if they wish.)
      
      behatnotneeded: Requires installing third-party plugins to test
      
      Change-Id: Idb1ecfc7b21175913708e695788906c11133b0c0
      4f849ed2
  3. 19 Oct, 2015 1 commit
  4. 22 Sep, 2015 1 commit
  5. 15 Jun, 2015 2 commits
  6. 04 Feb, 2015 1 commit
  7. 28 Jan, 2015 1 commit
    • Robert Lyon's avatar
      Don't expand the comment lists on page edit screen (Bug #1317343) · 1b663910
      Robert Lyon authored
      
      
      This was causing some problems with tagged posts
      - also hiding the 'add comment' link on page edit screen.
      
      And making the comments info show when no comments were on item and
      allow comments for artefact was enabled. This is an issue with newer
      versions of php.
      
      Also placing some of the template files in the new correct location
      
      Change-Id: I599e16b0899559a3ebcdf68cff53220b1d83f2d6
      Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
      1b663910
  8. 03 Dec, 2014 1 commit
  9. 16 Nov, 2014 1 commit
  10. 14 Oct, 2013 1 commit
  11. 13 May, 2011 1 commit
  12. 26 May, 2010 1 commit
  13. 28 Oct, 2009 1 commit
  14. 22 Sep, 2009 1 commit
  15. 15 Sep, 2009 1 commit
  16. 23 Jun, 2009 1 commit
  17. 09 Jun, 2009 1 commit
  18. 05 Jun, 2009 1 commit
  19. 04 Jun, 2009 2 commits
  20. 02 Jun, 2009 1 commit
  21. 29 Jan, 2009 1 commit
    • Nigel McNie's avatar
      (#3063) Make blocktype configuration forms change if they are in a template. · d9f2144b
      Nigel McNie authored
      Now they do things like not making it compulsory to choose an artefact
      if it's a template (as the creator might just want to put the block
      there), and removing some options that only make sense in Views.
      
      There's a parameter for instance_config_form and artefactchooser_element
      to allow the Blocktype to detemine whether it's in a template easily.
      d9f2144b
  22. 18 Nov, 2008 1 commit
  23. 11 Nov, 2008 1 commit
  24. 11 Oct, 2008 1 commit
  25. 15 Sep, 2008 3 commits
  26. 01 Sep, 2008 3 commits
  27. 13 Jul, 2008 1 commit
  28. 26 Feb, 2008 1 commit
  29. 16 Feb, 2008 2 commits
  30. 24 Jan, 2008 1 commit
  31. 04 Dec, 2007 1 commit
  32. 22 Nov, 2007 1 commit
  33. 20 Nov, 2007 1 commit
    • Nigel McNie's avatar
      First run at a folder blocktype, required for the template migration. · 53ca3b54
      Nigel McNie authored
      Displays a folder and its contents. Sadly, the artefact chooser doesn't make it very easy to sort the results in a 'folder and its children' type way. Also sadly, files added to folders will not be available in the view for up to a minute, until the artefact parent cache is rebuilt. This problem is fixable later in the same way that it was for the resume field stuff, but the work isn't worth it right now.
      53ca3b54