Updates?

Permalink Browser Info Environment
Hi, I really liked using you addon because it saved me from having to make one, will you be updating this to work in the 5.6.0+?

This is there error it is giving.
Fatal error: Call to a member function getThemeName() on a non-object in /home/content/17/7767817/html/demos/packages/jacks_theme_coloring_book/single_pages/dashboard/coloring_boxes/view.php on line 17

Type: Discussion
Status: New
jgiovanni
View Replies: View Best Answer
12345j replied on at Permalink Reply
12345j
maybe at some point, but i'm really busy now.
jgiovanni replied on at Permalink Best Answer Reply
jgiovanni
Understood, took a crack at it and got it working!
View.php
<?php       
defined('C5_EXECUTE') or die(_("Access Denied."));   
$ih = Loader::helper('concrete/interface');   
 echo  Loader::helper('concrete/dashboard')->getDashboardPaneHeaderWrapper(t('Coloring Boxes'), t('Choose a theme color scheme.'));
 $pt=PageTheme::getByID($_GET['theme']);
 $themes = PageTheme::getList();
 if(!isset($_GET['theme'])||!is_object($pt)){?>
<div class="ccm-ui">
   <h2><?php       echo t('Available Themes');?></h2>
   <?php  if(sizeof($themes)>0){?>
   <table border="0" cellspacing="1" class="bordered-table zebra-striped">
        <tr><td class="header"><?php echo t('Theme Name');?></td></tr>
<?php    
      foreach($themes as $box){
         ?>

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.