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

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
moorezilla

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

Post 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.
iNSiPiD

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

Post 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.
moorezilla

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

Post by moorezilla »

Hey... thanks for trying. At least I know it's not "just" me.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

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

Post 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.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
moorezilla

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

Post 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.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

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

Post 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.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Post Reply

Return to “Modules/Add-Ons”