Not in the default template. At least I don't see it.velden wrote: I think the sample template of CGFeedBack show how it should be done nowadays.
Search found 27 matches
- Wed Jul 05, 2017 12:20 pm
- Forum: Modules/Add-Ons
- Topic: CGFeedmaker and News module
- Replies: 6
- Views: 2372
Re: CGFeedmaker and News module
- Wed Jul 05, 2017 12:16 pm
- Forum: Modules/Add-Ons
- Topic: CGFeedmaker and News module
- Replies: 6
- Views: 2372
Re: CGFeedmaker and News module
That's basically what I ended up doing. News_RSS template contains this foreach part of template.Rolf wrote:Create a News module summary template like describer here
https://www.cmscanbesimple.org/blog/cre ... t-a-module
Call the News module in CGFeedmaker template pointing to this template.
- Wed Jul 05, 2017 11:42 am
- Forum: Modules/Add-Ons
- Topic: CGFeedmaker and News module
- Replies: 6
- Views: 2372
Re: CGFeedmaker and News module
I guess scopes 'issue'. Read this carefully: https://www.cmscanbesimple.org/blog/smarty-scope-examples I checked them, but none of the examples seemed to be about variables of module. Anyway, I created another News summary template, that generates RSS items and {News summarytemplate='News_RSS'} res...
- Fri Jun 30, 2017 1:25 pm
- Forum: Modules/Add-Ons
- Topic: CGFeedmaker and News module
- Replies: 6
- Views: 2372
CGFeedmaker and News module
I can no longer create feeds from news module with CGFeedMaker. I even reset template to default and changed
{News assign='junk' detailpage=$feed.pageid}
to
{News assign='junk'}
but $items is unassigned after this.
But junk does contain news content.
{News assign='junk' detailpage=$feed.pageid}
to
{News assign='junk'}
but $items is unassigned after this.
But junk does contain news content.
- Thu Jun 29, 2017 6:04 am
- Forum: The Lounge
- Topic: Module manager fails upgrading modules
- Replies: 2
- Views: 1851
Re: Module manager fails upgrading modules
Pretty much. It's telling you that it cannot download those versions of those modules from the forge. Because they are not there. You now must resolve dependencies manually. Ok. I expected this error only to happen (with this configuration), if dependencies are not installed at all or are too old. ...
- Wed Jun 28, 2017 1:24 pm
- Forum: The Lounge
- Topic: Module manager fails upgrading modules
- Replies: 2
- Views: 1851
Module manager fails upgrading modules
For me Module Manager failed on updating two modules, when "Always install the newest dependency module" was no. With FormBuilder the error was: The module CMSMailer (1.73) could not be found in the repository, but it is a dependency. And with JQueryTools the error was: The module CGExtens...
- Sat Jul 23, 2016 4:46 am
- Forum: The Lounge
- Topic: Visibility of global smarty variables
- Replies: 6
- Views: 3937
Re: Visibility of global smarty variables
Probably. But since I was able to work around the issue, that's no longer major issue for me. But I should probably publish somewhere the changes I made to MleCMS to get it working.Jeff wrote:It might be an issue with smarty caching of the variable. I am not sure how to fix it.
- Sat Jul 23, 2016 4:43 am
- Forum: The Lounge
- Topic: Visibility of global smarty variables
- Replies: 6
- Views: 3937
Re: Visibility of global smarty variables
{MleCMS action="init"} {$lang_dir=$lang_dir scope=global} {$lang_locale=$lang_locale scope=global} {$lang_parent=$lang_parent scope=global} http://www.cmscanbesimple.org/blog/smarty-scope-examples Yeah, that's basically what my solution does. But strange thing is, that I modified MleCMS t...
- Thu Jul 21, 2016 7:29 am
- Forum: The Lounge
- Topic: Visibility of global smarty variables
- Replies: 6
- Views: 3937
Re: Visibility of global smarty variables
And I solved problem currently with UDT containing:
$smarty->assign('lang_dir', $smarty->get_template_vars('lang_dir'));
$smarty->assign('lang_locale', $smarty->get_template_vars('lang_locale'));
$smarty->assign('lang_parent', $smarty->get_template_vars('lang_parent'));
$smarty->assign('lang_dir', $smarty->get_template_vars('lang_dir'));
$smarty->assign('lang_locale', $smarty->get_template_vars('lang_locale'));
$smarty->assign('lang_parent', $smarty->get_template_vars('lang_parent'));
- Wed Jul 20, 2016 11:24 am
- Forum: The Lounge
- Topic: Visibility of global smarty variables
- Replies: 6
- Views: 3937
Visibility of global smarty variables
I'm trying to get our website using MleCMS to work with CMSMS 2.0. Now I got it basically working, but there is on problem. At the beginning of site template I have {MleCMS action="init"}, which sets global variables lang_parent, lang_locale, lang_dir with $smarty->assignGlobal But {$lang_...
- Wed May 28, 2014 6:23 am
- Forum: Closed Issues
- Topic: Required php versioon
- Replies: 4
- Views: 2803
Re: Required php versioon
- Errors in UDT's would cause 500 errors rather than generating a return code and a printable error. If it is https://bugs.php.net/bug.php?id=43177 then that bug seems to be fixed in Debians php. - Fixes related to json_decode But https://bugs.php.net/bug.php?id=63737 is still there - so there is t...
- Tue May 27, 2014 1:41 pm
- Forum: Closed Issues
- Topic: Required php versioon
- Replies: 4
- Views: 2803
Re: Required php versioon
I looked at the announcement and didn't see anything stating that CMSMS 2.0 would require PHP 5.4... In the part about installation there was: "If your web environment supports a fairly standard version of PHP 5.4 (subject to change) then you should have few problems running the installer.&quo...
- Tue May 27, 2014 12:56 pm
- Forum: Closed Issues
- Topic: Required php versioon
- Replies: 4
- Views: 2803
Required php versioon
In announcement it was said, that CMSMS 2.0 Beta requires php 5.4. But in reality it requires php 5.4.11. Any particular reason for requiring specific minor version? Debian Wheezy has version 5.4.4.
- Fri May 03, 2013 9:55 am
- Forum: Modules/Add-Ons
- Topic: FrontendUsers and expired users/Front End File Management
- Replies: 3
- Views: 1233
Re: FrontendUsers and expired users/Front End File Managemen
I've used FEU a lot and have an idea you think of expire as something different than it is... Where is it and what do you think it should/does do..? Under FEU every user has "Expires" date. It seems to me, that currently it doesn't do anything. If the expires in in the past users can stil...
- Tue Apr 16, 2013 6:55 am
- Forum: Modules/Add-Ons
- Topic: FrontendUsers and expired users/Front End File Management
- Replies: 3
- Views: 1233
FrontendUsers and expired users/Front End File Management
I'm trying to understand, if Frontend users module actually does something with users "expires" property. Currently expired users can still log in. That by itself would not be an issue, because I can use Custom Content module to show them different content. But our webpage would also provi...