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.
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 |
maybe at some point, but i'm really busy now.
Understood, took a crack at it and got it working!
View.php
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){ ?>
Viewing 15 lines of 33 lines. View entire code block.