|
Post by petebud on Jun 22, 2007 10:14:37 GMT -5
I changed the Popup template and now it takes a very very long time to load the Edit Misc. Templates page.
I can click on any other Edit template button and the templates load normally.
The code now has DIV, tags as well a TABLE tags, Object classid, Object type, param names, and FORM tags.
The popup works great, just takes forever to load the edit page to make changes.
Any ideas?
Thanks Pete
|
|
|
Post by Carlos Phelps on Jun 22, 2007 14:30:17 GMT -5
Do you have any code in the template that could be put in a file and just linked, like css and js?
The other thing you could do is put some of the code like your flash object in a Custom Template and replace that code with the tag for the Custom template. Let's say that you use Custom Template One then in the Pop-up Template put {{customone}} in place of the code.
Enjoy, Carlos
|
|
|
Post by petebud on Jun 26, 2007 14:17:12 GMT -5
Is there any other way to edit the Misc. Templates?
I can not get to them.
When i click on the "Edit Misc. Templates" button it takes forever to load. If it does load, i can not highlight all text. The cursor blinks about once every 10 secs. My CPU usage shows at 100% after i click the button.
Thanks Pete
|
|
|
Post by coldstone on Jun 26, 2007 15:16:29 GMT -5
Is it actually embedding your stuff in the page? I have never encountered that before.
If you are comfortable, you could edit the gm-templates file by hand. Make a backup of your templates first. Then be sure to have it be text only and don't add any line breaks.
This might even be browser related. What OS/Browser are you using?
|
|
|
Post by petebud on Jun 27, 2007 9:24:45 GMT -5
OS/Browser
Windows XP Pro Service Pack 2 IE 6 SP2
I opened up the gm-templates file and it has blank lines between Line 6 (gmlinktargettemplate) and line 61 (gmpopupcodetemplate) And look like 1 blank line at the end, line 121
Looks like that might be the problem.
Do you think deleting those blank lines would help?
Thanks Pete
|
|
|
Post by petebud on Jun 27, 2007 10:09:47 GMT -5
I deleted them. And now i can edit the Misc. Templates. Edit page loads normally.
Im not sure how those blanks lines got there.
Any ideas?
Thanks Pete
|
|
|
Post by petebud on Jun 27, 2007 11:45:29 GMT -5
STILL A PROBLEM.
Blank lines are still being placed in the file. I can load the edits page fine a few times, then it starts to slow down. I just looked after about the 3rd time and there are a lot of blank lines again. Between same 2 entires.
Any Ideas?
Thanks Pete
|
|
|
Post by coldstone on Jun 27, 2007 15:38:35 GMT -5
Hmm, no ideas off hand, but seems like Greymatter is saving blank lines for some reason, then trying to process them.
Can you post what you are entering for the template that is just before the blank lines (gmlinktargettemplate?), the line number isn't always the same.
|
|