ProcessHannaCode icon indicating copy to clipboard operation
ProcessHannaCode copied to clipboard

Easily insert any complex HTML, Javascript or PHP output in your ProcessWire content by creating your own Hanna code tags.

Results 18 ProcessHannaCode issues
Sort by recently updated
recently updated
newest added

Hi Ryan, I recently recognized an issue with running 2 different versions of ACE at the same time – the rare case occured in using TracyDebugger (ACE 1.4.3) while editing...

See comment at https://processwire.com/talk/topic/3745-hanna-code/page/18/?tab=comments#comment-217245 In the TextformatterHannaCode::getPHP() method, the lines ` if(strpos($code, 'namespace') && preg_match('/(namespace\s+ProcessWire(?:;|\s*;))/', $code, $matches)) { $openPHP = $openPHPNS; $code = str_replace($matches[1], '', $code); }` have the effect...

This is not something big, but may help people if fixed. The error message line numbers are those in the saved php snippet. The editor line numbers are those minus...

With the new release of Hanna Code, I can't use wireIncludeFile anymore inside a Hannacode (it errors). However $files->include does work so it's not a total dealbreaker.

When a user has the permission to view but not to edit Hanna codes of the _PHP_ type and attempts to save, the code changes type to _Text_ and is...

In a php HannaCode, a trailing quote in an attribute is removed in the corresponding php variable Example: if called with`[[video_element source="some_url" options="preload='none'"]]`, `$options` has value `preload='none` But if I...

All UTF encoded strings in hanna code become ?????? after I hit save. Please help!

Hey, I am not sure if theres currently a way to do this but I didn't see anything in the readme and after reviewing the code I think it would...

I don't know what the issue here is, but after testing a lot and some other problems with template code calling the field previous to echo the field, hanna code...

Added support for Hanna Code names with a dot. Example: [[admin.email reaptcha="true"]] Previously the Hanna Code parser did not recognise dotted names when attributes where passed as well. Refer to...