Page 3 of 3

Re: [SOLVED]CGFeedMaker and News - about to give up......

Posted: Tue Mar 03, 2009 4:46 pm
by moorezilla
Thanks, man. I appreciate it. I have a feeling I'm missing something dumb, but I can't seem to figure it out.

Re: [SOLVED]CGFeedMaker and News - about to give up......

Posted: Wed Mar 04, 2009 8:25 am
by iNSiPiD
moorezilla: I dodn't actually want to go there yet because that was a secondary issue.

But, yeah. No matter what manner of Smarty if/ifelse/else loop modifications I made, the result was always the same. The summary is ignored. Weird.

Again, I'm sure this will come down to being a very simple and obvious syntax/logic fix for those more familiar with Smarty, CMSMS and the News module.

Re: [SOLVED]CGFeedMaker and News - about to give up......

Posted: Wed Mar 04, 2009 12:00 pm
by moorezilla
Hey... thanks for trying. At least I know it's not "just" me.

Re: [SOLVED]CGFeedMaker and News - about to give up......

Posted: Wed Mar 04, 2009 3:11 pm
by tyman00
Honestly, I think my solution was to always put information in the summary box. From my experience is even if you did not put content in the summary box the isset thinks there is content there because the "..." from the smarty summarize modifier still shows up. If I recall correctly I just got tired of trying to figure it out so I just put in a summary each time :)

Sorry I am not more help.

Re: [SOLVED]CGFeedMaker and News - about to give up......

Posted: Wed Mar 04, 2009 3:18 pm
by moorezilla
yeah... i'm doing a similar thing, but instead of putting info in the summary, I just put all the content in the "content" area. This works for now for me, because the articles are short. For the longer articles, I just put them in normally and live with the blank rss entry.

Thanks again for the help. I'll put together a bug report this week.

Re: [SOLVED]CGFeedMaker and News - about to give up......

Posted: Wed Mar 04, 2009 3:21 pm
by tyman00
If you don't want to have the summary called at all and just use the content you can change this line:

Code: Select all

 <description>{if isset($entry->summary)}{$entry->summary|strip_tags|summarize:40}{else}{$entry->content|strip_tags|summarize:40}{/if}</description>
to

Code: Select all

 <description>{$entry->content|strip_tags|summarize:40}</description>

If you want more of your content to be displayed, just change the summarize:40 to a higher number.