Content Template not appearing

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/5/2011 11:36:30 AM
Gravatar
Total Posts 167

Content Template not appearing in CK editor

Hi, I have just created a new style template, very simple a couple of images and divs.

I have gone back to a page to enter the new template in an HTML section and none of the templates appear. Including the ones provided with mojoportal.

If I go back to the content template section I can see my new one I created is still there.

I have noticed that this issue only occurs in CKeditor, if I set to FCKeditor the content templates are visible.

7/6/2011 6:08:19 AM
Gravatar
Total Posts 18439

Re: Content Template not appearing

Hi,

These templates get serialized to json format for consumption in CKeditor and it can be problematic if your template has single quotes in it or a missing double quote. I would look closely at the source view of your template and try to solve it by getting rid of single quotes or apostrophes. Any template that does have problems breaks the entire json so other templates don't work either if there is one bad one. The older FCKeditor uses xml for the templates which is why it is more tolerant.

Hope that helps,

Joe

7/6/2011 7:31:03 AM
Gravatar
Total Posts 167

Re: Content Template not appearing

Joe,

The template had a floor plan in it and measurements for a room.

therefor the text 8'0" x 11'7" had to be changed to 8ft0ins x 11ft7ins and all works fine now.

Many thanks.

Simon

7/6/2011 1:34:09 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Content Template not appearing

Hi Joe, I was going to add this information to the Content Template documentation, but then I thought that maybe a better approach would be to encode any quotes or other special characters, if possible. Do you think this is something that could be fixed?

Jamie

7/7/2011 7:49:04 AM
Gravatar
Total Posts 18439

Re: Content Template not appearing

Hi Jamie,

It would be worth noting it as a known issue. I don't want to say it is impossible to solve it but I remember trying really hard to solve it without success. The problem as I recall is differentiating between things that need to be encoded and things that will be broken if you do encode them.

One could solve this specific example, the solution of changing to ft and ins works but one could also have solved it in source view like

8’0" x 11’7"

which would display as 8'0" x 11'7"

but I think for the CSS class names in the template it really needs the actual double quotes so we don't want to encode that.

Best,

Joe

10/13/2011 9:53:16 AM
Gravatar
Total Posts 4

Re: Content Template not appearing

Hi,

Iam new to mojoportal, I created new content template and added this template in 5 pages.

and when i updated the content template with new text and new heading, this will not effecting in all 5 pages.

why this will not effecting in all the pages same template using in all the pages.

can any one please help me? this is very urgent

Thanks

Maddy

10/13/2011 9:56:57 AM
Gravatar
Total Posts 2239

Re: Content Template not appearing

Hi Maddy,

Updates to the template will not be reflected in the content that the template was used. You will have to modify that content manually.

HTH,
Joe D.

10/13/2011 10:44:52 AM
Gravatar
Total Posts 4

Re: Content Template not appearing

Thanks for your early reply.

Is there any possible to add custom module from html content.

http://icls.clickforhelp.com/

Actually iam adding the left menu links dynamically using .ashx to the html content.

and it is working fine but some time it is not loading the left menu links.

For this issue is thr any other possible to load links dnamically from html content?

thanks

Maddy

11/9/2011 11:08:02 AM
Gravatar
Total Posts 19

Re: Content Template not appearing

I updated an existing Content Template but changes are not showing up in the "Insert Predefined Template Content" dialog box when I edit a page. Changes are displayed on ContentTemplates.aspx. Any help appreciated.

All Caching turned off in web.config

Using TinyMCE editor

Force Content Visioning Checked

Enable Content Workflow Checked

You must sign in to post in the forums. This thread is closed to new posts.