CMS MADE SIMPLE FORGE

CGExtensions

 

[#11296] Admin Templates not displayed

avatar
Created By: adrien jaures (adrienj)
Date Submitted: Fri Feb 17 11:58:13 -0500 2017

Assigned To: Robert Campbell (calguy1000)
Version: 1.53.18
CMSMS Version: 2.1.6
Severity: Minor
Resolution: None
State: Open
Summary:
Admin Templates not displayed
Detailed Description:
Hello, I opened the bug #11291 for the Orders module but the module Cart2 is
also affected and this seems to come from CGExtensions.
http://dev.cmsmadesimple.org/bug/view/11291

In Orders module :
On the User Email Template tab, User Email Template is empty and disappears
definitively if we click on the link "+ User Email Template"
On the Admin Email Template tab, Administrator Email Template not displayed
On the Prototype Template tab, all Prototype Template not displayed

In Cart2 module :
On the Prototype Template tab, all Prototype Template not displayed


History

Comments
avatar
Date: 2017-02-23 12:32
Posted By: Robert Campbell (calguy1000)

fixed in svn.  thanks
      
avatar
Date: 2017-02-24 06:01
Posted By: adrien jaures (adrienj)

Thanks.
It's better but not completely solved.

In Orders module :
On the User Email Template tab, User Email Template is now filled.
But, there is always a problem with the links :
+ User Email Template
+ Administrator Email Template
+ Prototype Billing Form Template
+ Prototype Shipping Form Template
+ Prototype Confirm Order Form Template
+ Prototype Invoice Template
+ Prototype "Gateway Transaction Complete" Template

Same for Cart2 links :
+ Prototype AddToCart Template
+ Prototype MyCart form Template
+ Prototype Viewcart form Template
These links don't display their textarea field.
      
avatar
Date: 2017-03-01 05:05
Posted By: Ruud van der Velden (ruudvdvelden)

Facing the same problem

Seems two problems:

\templates\editdefaulttemplate.tpl
------------------------------------------------------

<script type="text/javascript">
$(document).ready(function(){
  $('h4.cge_dflt_template_hdr').click(function(){
    $('.cge_dflt_template').hide();
    $(this).next('.cge_dflt_template').show(); //<-- selecter seems not right
    // consider: $(this).next().find('.cge_dflt_template').show();

a little further down this file:
---------------------------------------------

<h4 id="{$prefname}" class="cge_dflt_template_hdr"><a
href="javascript:void()"><span
class="cge_toggle">+</span>&nbsp;{$defaulttemplateform_title}</a></h4>

--> void() is not valid consider:  void(0)
      
avatar
Date: 2017-03-09 10:51
Posted By: adrien jaures (adrienj)

Thank you Ruud. I modified the template as you suggest and it works fine now.
      
Updates

Updated: 2017-02-24 06:01
version_id: 31083 => 31095
resolution_id: 7 => 5

Updated: 2017-02-23 12:32
resolution_id: => 7