Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin "Newsfeed"
#2
My first question is if I can somehow check for creation of a page with a hook?

I saw a page-delete and a changedata-save hook in the wiki docs, but none for when a page is created. Have I overlooked it?

Can I maybe use changedata-save with some additional check if the page already had a respective xml file in /data/pages? I'm thinking of reading in the existing pages into an array and then check for existence.
Reply


Messages In This Thread
Plugin "Newsfeed" - by polyfragmented - 2011-03-29, 06:52:52
Plugin "Newsfeed" - by polyfragmented - 2011-03-29, 07:14:23
Plugin "Newsfeed" - by mvlcek - 2011-03-29, 16:05:36
Plugin "Newsfeed" - by polyfragmented - 2011-03-29, 17:37:44
Plugin "Newsfeed" - by polyfragmented - 2011-03-30, 06:22:33
Plugin "Newsfeed" - by mvlcek - 2011-03-30, 06:37:00
Plugin "Newsfeed" - by polyfragmented - 2011-03-30, 06:43:34
Plugin "Newsfeed" - by polyfragmented - 2011-04-05, 03:56:48
Plugin "Newsfeed" - by ccagle8 - 2011-04-05, 04:13:08
Plugin "Newsfeed" - by polyfragmented - 2011-04-05, 06:03:25
Plugin "Newsfeed" - by polyfragmented - 2011-04-06, 04:24:33
Plugin "Newsfeed" - by polyfragmented - 2011-04-06, 04:45:48
Plugin "Newsfeed" - by polyfragmented - 2011-04-06, 04:59:27
Plugin "Newsfeed" - by mvlcek - 2011-04-06, 05:53:24
Plugin "Newsfeed" - by polyfragmented - 2011-04-07, 21:15:06
Plugin "Newsfeed" - by RobA - 2011-04-08, 00:10:55
Plugin "Newsfeed" - by mvlcek - 2011-04-08, 00:23:20
Plugin "Newsfeed" - by polyfragmented - 2011-04-08, 04:54:46
Plugin "Newsfeed" - by polyfragmented - 2011-04-09, 08:31:23
Plugin "Newsfeed" - by polyfragmented - 2011-04-09, 21:54:55
Plugin "Newsfeed" - by RobA - 2011-04-10, 03:00:54
Plugin "Newsfeed" - by polyfragmented - 2011-04-10, 20:55:52
Plugin "Newsfeed" - by polyfragmented - 2011-04-21, 22:57:44



Users browsing this thread: 1 Guest(s)