Help (php amateur hour)

From: Matt14 Apr 2012 17:11
To: CHYRON (DSMITHHFX) 6 of 7
I don't know PyroCMS nor codeignitor so I'm not going to be able to help you beyond the basic PHP syntax.

I can tell you that the error means the Module_Blog class nor it's parent Module class have a property named current_user, which is referenced in the if statement you had in your first post and which I simply copied and pasted wholesale into my example.

If you can find some other code in PyroCMS to get the current user then you can possibly copy that to use that and modify the if statement to use that code.

Honestly, you'll be better off asking the PyroCMS team / community I reckon.
From: CHYRON (DSMITHHFX)14 Apr 2012 17:26
To: Matt 7 of 7
OK thanks. I thought it might be a (relatively) simple syntax issue, as is often the case with my hacking efforts.