CMS MADE SIMPLE FORGE

CGFeedMaker

 

[#6138] Wrong Pageid in feed

avatar
Created By: Jaap Grol (jagro)
Date Submitted: Sun Feb 20 07:37:45 -0500 2011

Assigned To: Robert Campbell (calguy1000)
Version: 1.0.11
CMSMS Version: None
Severity: Major
Resolution: None
State: Open
Summary:
Wrong Pageid in feed
Detailed Description:
Regardless of what is stored in the database, feeds are created with 15 as
pageid.

CMS Made Simple™     1.9.1  "Toopua"
CGFeedMaker	1.0.11
CGExtensions	1.23


History

Comments
avatar
Date: 2011-05-16 10:28
Posted By: pumpkin (pumpk1n)

Hi !

I have the same problem. See here :
http://forum.cmsmadesimple.org/viewtopic.php?f=7&t=50652

Workaround :
{$entry->moreurl|regex_replace:"'(.*/news/[0-9]*)/15/(.*)'":'$1/80/$2'}

I replace 15 to 80 which is the number working with me.

CMS Made Simple 1.9.4
CGFeedMaker 1.0.14
      
avatar
Date: 2011-09-27 08:08
Posted By: Peter Stubbs (applejack1923)

Ditto. Though this can actually be useful if you have different categories such
as News, Events, Press Releases and you want to have the link go to different
pages specific to that category. So in the Feed template you can replace the url
link as above to the page id you want based upon the category.