Custom Content & Font End users - content not hidden

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Custom Content & Font End users - content not hidden

Post by timh »

I am currently evaluating CMSMS and have I'm practically sold! I am stuck on one thing at the moment: I have installed Front End Users 1.04 and Custom Content 1.4.0.

I am unable to get Custom Content to work in pages... it works fine if I put it in the template!

I have carefully looked at the syntax and have also tried it with / without the module decalaration.

Any ideas?




[attachment deleted by admin]
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Custom Content & Font End users - content not hidden

Post by calguy1000 »

I just tested it again on a new page.
This code worked for me.

Code: Select all

{cms_module module=CustomContent}
<!--customContent: startif group=Users -->
Welcome, you are an authorized user
<!--customContent: else -->
You are not logged in
<!--customContent: endif -->
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Re: Custom Content & Font End users - content not hidden

Post by timh »

Hi back, thanks for the quick response. I pasted the code into a new page and a template that I have'nt used before... still no success!

The installation I have has got a number of modules in it; I'm wondering whether there is a conflict somewhere that is triggered before the page is rendered.

[attachment deleted by admin]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Custom Content & Font End users - content not hidden

Post by Dr.CSS »

i think it was supposed to go in the template only, altho some do go in the page,,

{cms_module module=CustomContent} most of these go in the template

Welcome, you are an authorized user

You are not logged in


  mark
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Custom Content & Font End users - content not hidden

Post by calguy1000 »

check your modules page for the obvious things, like "upgrade needed", make sure the module is installed properly etc, etc. unless another module is doing a postrender callback there shouldn't be any conflicts.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Re: Custom Content & Font End users - content not hidden

Post by timh »

Thanks; I have discovered I can resolve it by viewing the page source, pasting the customcontent and then reverting to the normal view.

The sections that I have inserted to date have been pasted in and become "<!-- test -->". Although even typing "<!--" is translated into "<!-- test -->".

So rather than being a comment, they are simply page text - and obviously will not be processed correctly.

Is this an encoding setting that I need to change?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Custom Content & Font End users - content not hidden

Post by calguy1000 »

Damned wysiwyg editors..... that's why I never use em.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Re: Custom Content & Font End users - content not hidden

Post by timh »

Thanks, I guess the issue is sorted; I assume most other users work directly in the editor (as opposed to WYSIWYG).

I guess I'm not the first to strike this issue though. I was using the default FCKeditorX and note there are a number of others available in CMSMS Forge; is it a safe assumption that all the others will behave the same way?

I'm contemplating developing my pages in an external editor and then pasting the content in
scotch33
Dev Team Member
Dev Team Member
Posts: 284
Joined: Tue Feb 14, 2006 9:56 pm

Re: Custom Content & Font End users - content not hidden

Post by scotch33 »

having played with fronteu today hows about this... have two content areas labelled content and content_member (for example).  custom content would show the correct one, and it would leave your editors two nice boxes to put in the public and private versions on their page! 

This is thory at the mo - i am still adding design elements to my pages but have been thinking about this as i was doing so.  hope it helps.
timh
Forum Members
Forum Members
Posts: 15
Joined: Wed Apr 12, 2006 7:36 am

Re: Custom Content & Font End users - content not hidden

Post by timh »

mmm, how do you propose two areas for editing? At the moment there is only one area. Given the option I would like custom attributes for page content... this would make using custom content easy and allow a lot more flexibility for sites that seek greater control over presentation of content.

As it stands I propose to create a template in an external editor and paste it into a page, then create content.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Custom Content & Font End users - content not hidden

Post by Dr.CSS »

in the template you might have,,

{content}

then you can add,,

{content block='block1'}

you can add more by putting,,

{content block='block2'}  {content block='block3'}  {content block='block4'} etc...

i've done it up to 6 each in its own ,,

  mark
Post Reply

Return to “Modules/Add-Ons”