Home » Forum
NoNumber!

Joomla!® Websites & Extensions
development  -  support  -  consultancy

I try to respond within 48 hours (excluding weekends).
If I haven't responded by then, feel free to post a reminder or bug me via email.

My last reply was: 3 Hours, 11 Minutes ago.

Welcome, Guest
Please Login or Register.    Lost Password?

Bug selecting template in editor
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Bug selecting template in editor
#8525
Bug selecting template in editor 1 Year, 9 Months ago  
Hi,

I've just installed the content templater again on a fresh Joomla build. I'm still having the same issue. Every time I select a template all I get is the 'loading template' screen and it stops there.

I've tried this on firefox, chrome and IE7, all with the same result.

In firebug I get the following error:

vals[3] is undefined
localhost/joomlaexample/plugins/editors-.../contenttemplater.js
Line 43

I've used a previous release with no issues and I think it's a great extension, so I really hope it can be fixed.

Thanks,

Dylan
Dylan
Posts: 7
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8527
Re: Bug selecting template in editor 1 Year, 9 Months ago  
what editor are you using?
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8528
Re: Bug selecting template in editor 1 Year, 9 Months ago  
Could you give me admin access?
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8531
Re:Bug selecting template in editor 1 Year, 9 Months ago  
Hi,

I'm using the standard TinyMCE editor with the latest Joomla release.

I've also tried using Tiny MCE, JCE, CKEditor and no editor - none of which work.

I'm afraid I can't give you admin access as I'm working from localhost, could this have any affect?
Dylan
Posts: 7
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8547
Re:Bug selecting template in editor 1 Year, 9 Months ago  
Shouldn't have
I don't know why you get the errors. I have done extensive testing and haven't run into this.

Have you tried opening the templates and saving them again?
Do you have the possibility to test this on an online environment?
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8555
Re:Bug selecting template in editor 1 Year, 9 Months ago  
I've tried it on an online site built the same way and it works...strange.

Anyway, to I updated this file:

contenttemplater.js

changing line 44:

params[ key ]['value'] = vals[3].trim();


to:

if(vals[3] != undefined)
{
    params[ key ]['value'] = vals[3].trim();
}

This prevents the error and it seems to work.

I can't see from briefly looking at it what implications this might have.
Dylan
Posts: 7
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8556
Re:Bug selecting template in editor 1 Year, 9 Months ago  
Spoke too soon, the change I made works on one site, but then not on the other. I get another error...

Index or size is negative or greater than the allowed amount" code: "1
[Break on this error] element = document.adminForm.elements[ key ];
Dylan
Posts: 7
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8557
Re:Bug selecting template in editor 1 Year, 9 Months ago  
Could you give me access to the online site?
Then I can look at the root of the problem...
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8558
Re:Bug selecting template in editor 1 Year, 9 Months ago  
The sites that are online are working with content templater.

It's only the ones running on localhost that are having problems, and I can't currently upload any of them I'm afraid.
Dylan
Posts: 7
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8561
Re:Bug selecting template in editor 1 Year, 9 Months ago  
So you only have this problem on your local setup.

If you get this problem on a live setup and can give me admin access I can look into it and help you further.
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8562
Re:Bug selecting template in editor 1 Year, 9 Months ago  
I seem to have worked something out anyway.

I think I've worked it out. It's nothing to do with localhost.

If you save a template without a title, then it doesn't work.

Also I noticed that if you save a template with the category and section selected, when you open it again to edit, the category is not selected, and the drop-down has no options.
Dylan
Posts: 7
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
#8565
Re:Bug selecting template in editor 1 Year, 9 Months ago  
With Title you mean Name or content title?
Peter van Westen
Admin
Posts: 9091
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
Need to contact me directly? Go to my contact page.
If you use any NoNumber! extensions, please post a rating and a review at the Joomla! Extensions Directory.
Are you happy with the support? Please consider buying a License Code to help me to continue development and support.
 
#8573
Re:Bug selecting template in editor 1 Year, 9 Months ago  
Content title.
Dylan
Posts: 7
User OfflineClick here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Peter van Westen
hosting joomla
Open Source Training | Online Joomla! Training and Support
MaxCDN | Content Delivery Network | Accelerate your site to the max