Board Thread:Support Requests - Getting Technical/@comment-4189499-20150607233806/@comment-24473195-20150908142325

I've made the fixes to the original module. It should now work either directly or in a page or a mix of both.

It should be a minor change to get it working in your modded module:

function p.main(frame) local oArgTable,oChildArgs = u.getArgs(frame,"both") local function getParams(argName) if oArgTable and oArgTable[argName] then return oArgTable[argName] else if (oChildArgs and oChildArgs[argName]) then return oChildArgs[argName] end end end if (oArgTable or oChildArgs) then local iDays = getParams("days") local endDate = getParams("date") local sArg1 = getParams(1) or getParams("category1") or getParams("template1") local sArg2 = getParams(2) or getParams("category2") or getParams("template2") local bTemplate = getParams("template") return p.changeCategory(iDays,sArg1,sArg2,bTemplate,endDate) end end

As far as the cache is concerned. One trick is to use a fake parameter that changes every day. It worked for me in the past, but I'm not sure if it will still work, but something like: