10/16/2013 at 2:33 pm
#271615
Guest
Finally getting back to this:
Copy of cmap folder called “cmap-snc”
Changed $atts = array(
‘class’ => ‘CNT_SNCfull’,
‘name’ => ‘SNC Full’,
…and
class CNT_SNCfull {…
When I activate the new plugin the template is available in Connections > Templates, but CMAP IS NOT AVAILABLE (can’t be found)
I tried changing
if ( ! class_exists( ‘CN_cMap’ ) ) {
class CN_cMap {
to
if ( ! class_exists( ‘CN_SNCfull’ ) ) {
class CN_SNCfull {
but then the plugin won’t activate – I click the button but it doesn’t work.
How do I do this so the original cMap stays available as well? Or do I need to start with a template I don’t want to use? I would like to be able to make several custom templates off the same base.
