Page 1 of 1
Custom Content & Font End users - content not hidden
Posted: Sat Apr 15, 2006 10:14 pm
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]
Re: Custom Content & Font End users - content not hidden
Posted: Sat Apr 15, 2006 11:34 pm
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 -->
Re: Custom Content & Font End users - content not hidden
Posted: Sun Apr 16, 2006 12:06 am
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]
Re: Custom Content & Font End users - content not hidden
Posted: Sun Apr 16, 2006 12:18 am
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
Re: Custom Content & Font End users - content not hidden
Posted: Sun Apr 16, 2006 12:31 am
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.
Re: Custom Content & Font End users - content not hidden
Posted: Sun Apr 16, 2006 12:50 am
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?
Re: Custom Content & Font End users - content not hidden
Posted: Sun Apr 16, 2006 1:01 am
by calguy1000
Damned wysiwyg editors..... that's why I never use em.
Re: Custom Content & Font End users - content not hidden
Posted: Sun Apr 16, 2006 1:13 am
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
Re: Custom Content & Font End users - content not hidden
Posted: Tue Apr 18, 2006 6:46 pm
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.
Re: Custom Content & Font End users - content not hidden
Posted: Wed Apr 19, 2006 7:46 am
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.
Re: Custom Content & Font End users - content not hidden
Posted: Wed Apr 19, 2006 4:12 pm
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