CG Content Utils not working

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
musicscore
Power Poster
Power Poster
Posts: 408
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

CG Content Utils not working

Post by musicscore »

I just installed CMSMS 2.2.8 and the module CG Content Utils.
Now I want a field where the editors can select a header picture.
So I added to my template de Content Block I created in CG Content Utils.

Code: Select all

{strip}
	{process_pagedata}
{/strip}<!doctype html>
<__html lang="{cms_get_language}">

<head>
	<title>{title} - {sitename}</title>
	{metadata}
	{cms_stylesheet}
</head>

</__body>
	<header id="header">
		 {content_module module='CGContentUtils' block='omslagfoto' name='omslagfoto' label='Selecteer een omslagfoto' assign="omslagfoto"}
	</header>

	<nav id="menu">
		{Navigator}
	</nav>

	<section id="content">
		<h1>{title}</h1>
		{content}
	</section>
<__body>

</__html>
But when I create a new page, there is no field for selecting the header picture. I think I am doing something wrong here but after 2 days trying and searching I cannot figure out what.

Please can someone help/advise me ?

TIA
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7741
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands

Re: CG Content Utils not working

Post by Rolf »

Are you sure the default page template is the one you added the new CgContentUtils tag?!
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
musicscore
Power Poster
Power Poster
Posts: 408
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

Re: CG Content Utils not working

Post by musicscore »

Rolf,

Yes I do. (See screenshots)
vera-001.jpg
vera-002.jpg
vera-003.jpg
musicscore
Power Poster
Power Poster
Posts: 408
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

Re: CG Content Utils not working

Post by musicscore »

Just discovered that it works on an existing page, not on a new page ??
User avatar
Rolf
Dev Team Member
Dev Team Member
Posts: 7741
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands

Re: CG Content Utils not working

Post by Rolf »

tried:
{cms_module module='CGContentUtils' block='omslagfoto' name='omslagfoto' label='Selecteer een omslagfoto' assign='omslagfoto'}
or shorter:
{CGContentUtils block='omslagfoto' name='omslagfoto' label='Selecteer een omslagfoto' assign='omslagfoto'}
?
Image
- + - + - + - + - + -
Latest CMSMS tutorial: FormBuilder WatchGuard
- + - + - + - + - + -
Did my post help you solving a problem at your (customers) website and it saved you many hours of work?
Great!! Buy me a cup of coffee in return as a small token of appreciation!
musicscore
Power Poster
Power Poster
Posts: 408
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

Re: CG Content Utils not working

Post by musicscore »

Rolf,

I tryed it but no succes.
So when I try to create a new page, de field (omslagfoto) isn't available. When I save the page and open it again, the field is available. So it's only missing on the initiale creation of the page.

Very, very strang. I us CMSMS 2.2.8. Can that be causing the problem.
musicscore
Power Poster
Power Poster
Posts: 408
Joined: Wed Jan 25, 2006 11:53 am
Location: Netherlands

[Solved] CG Content Utils not working

Post by musicscore »

After fresh re-installing cmsms 2.2.8 and CGContentUtils it seems teo work now. Thanks for the support
Post Reply

Return to “Layout and Design (CSS & HTML)”