• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: CG Content Utils not working
PostPosted: Wed Aug 22, 2018 8:01 am 
Offline
Power Poster
Power Poster

Joined: Wed Jan 25, 2006 11:53 am
Posts: 400
Location: Netherlands
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.

\$1:
{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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CG Content Utils not working
PostPosted: Wed Aug 22, 2018 9:42 am 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7707
Location: The Netherlands
Are you sure the default page template is the one you added the new CgContentUtils tag?!

_________________
$1

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CG Content Utils not working
PostPosted: Wed Aug 22, 2018 10:17 am 
Offline
Power Poster
Power Poster

Joined: Wed Jan 25, 2006 11:53 am
Posts: 400
Location: Netherlands
Rolf,

Yes I do. (See screenshots)

$1:
vera-001.jpg
vera-001.jpg [ 51.76 KiB | Viewed 634 times ]

$1:
vera-002.jpg
vera-002.jpg [ 56.13 KiB | Viewed 634 times ]

$1:
vera-003.jpg
vera-003.jpg [ 61.99 KiB | Viewed 634 times ]


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CG Content Utils not working
PostPosted: Wed Aug 22, 2018 11:07 am 
Offline
Power Poster
Power Poster

Joined: Wed Jan 25, 2006 11:53 am
Posts: 400
Location: Netherlands
Just discovered that it works on an existing page, not on a new page ??


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CG Content Utils not working
PostPosted: Wed Aug 22, 2018 12:57 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Apr 23, 2008 7:53 am
Posts: 7707
Location: The Netherlands
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'}
?

_________________
$1

Did my post help you solving a problem at your (customers) website and it saved you many hours of work? Great!! Consider buying me a cup of coffee in return!



Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CG Content Utils not working
PostPosted: Wed Aug 22, 2018 1:02 pm 
Offline
Power Poster
Power Poster

Joined: Wed Jan 25, 2006 11:53 am
Posts: 400
Location: Netherlands
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: [Solved] CG Content Utils not working
PostPosted: Wed Aug 22, 2018 7:59 pm 
Offline
Power Poster
Power Poster

Joined: Wed Jan 25, 2006 11:53 am
Posts: 400
Location: Netherlands
After fresh re-installing cmsms 2.2.8 and CGContentUtils it seems teo work now. Thanks for the support


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting