-
Posts
46 -
Joined
-
Last visited
Posts posted by Andreas Augustin
-
-
I've made some changes to your module to use actual predis with authentication support.
- 1
-
Hi!
Thanks for this module!
Is it also possible to use it with some Redis SaaS Services like Heroku? This Service uses some authentication on their Redis Server...
E.g. redis://password:user@redis-instance.eu-west-1.compute.amazonaws.com:29029
-
9 hours ago, Robin S said:
Thanks for the report. Are you running PHP 7.1? I think that's the version that started enforcing stricter numeric values and throwing errors like this.
I tested in PHP7.1 and I can't reproduce this issue. Also, I can't see how this error could be connected to HannaCodeDialog. From what I've read the "non well formed numeric value" error occurs when some arithmetic or other operation that expects an integer receives a string instead. And line 118 of Database.php is:
$timerTotalSinceStart = Debug::timer() - $timerFirstStartTime;
So probably Debug::timer() or $timerFirstStartTime is not an integer, but this is core code that relates to the debug mode tools and HannaCodeDialog has nothing to do with that.
Do you see the error as soon as you install HannaCodeDialog? Do you see it if you have no Hanna codes defined when the module is installed (I'm wondering if the problem is with one of your Hanna codes rather than the module itself)? If you uninstall HannaCodeDialog does the error go away?
I will support this in the next version. The intention was to avoid needlessly attaching the plugins to every instance of CKEditor if the textformatter wasn't applied to that field, but I guess to support $hanna->render() there's no way to know if a CKEditor field needs the plugins or not.
I'm having trouble understanding exactly what's going wrong for you here. Make sure you meet the prerequisites and have completed the installation process:
- TextformatterHannaCode must be installed.
- TextformatterHannaCode must be applied as a textformatter to your CKEditor field.
- You must have at least one Hanna code created.
- Install HannaCodeDialog module.
- Edit the settings for your CKEditor field and in "Input > CKEditor Settings > CKEditor Toolbar" add "HannaDropdown" (to be precise, with a comma space separating it from the other items there)
Yes I'm running on PHP 7.1.1 and all of the steps are done.
I switched to PHP 7.0.15 and the error is now gone. PHP 7.0.15 is okay for me - so I can ingore the error for now
-
Other Question:
Can I activate the Toolbar in CKEditor without choosing the Hanna Code Textformater and use the $hanna->render() API?
-
-
Thank you!
-
Hello!
I have a Problem with my language URLs. I created many langauges with the correct locale (E.g. "es" for Spanish) but it doesn't work in the url.
If I look in the page settings I see, that the url is wring for the most lanugages. It is "en" instead of "es", "fr" etc. It only works for "de" and "fi".
What I am doing wrong?
-
11 hours ago, Robin S said:
For manipulating images embedded in a CKEditor field I use a textformatter, following the same general principles as this module: http://modules.processwire.com/modules/textformatter-image-interceptor/
I thought this module is only for adding classes etc to <img> tags? And does this module put the tag into the field or does the module this formatting while rendering?
-
Hi!
How can I modify CkEditor in Processwire?
I want to change the output for the uploaded images. Instead of an html <img> tag, I want to insert an Shortcode/Hanna-Code.
E.g. [[image caption="Some Caption Text" src="http://url-to-image.com/image.jpg"]]
Can someone help me?
-
And where should this File be included? in _func.php?
-
Can you show me some textdomain file example (strings.php)?
-
Hi,
How can I use the __('Some Words to Translate') feature in Processwire Smarty Templates like {__('Some Words to Translate in Smarty')}?
-
On 7.2.2017 at 10:09 PM, Robin S said:
Another approach would be to do a redirect in your template file:
$session->redirect('http://www.webshop.com' . $page->url);
Good Idea - I have only have to find some logic that the redirect doesn't happen if the request comes from our Webshop System/Server
-
Thanks, that works good.
One Problem left: the URL in the Save + View Button is in the function "renderEdit". This is not hookable? :-(
-
I just found, that I have to modify the function protected function ___getViewActions in ProcessPageEdit.module.
Is it good to just override this in a module?
-
Hello!
I have a very special Processwire Setup. Short: We use Processwire for our "Blog", which is embedded in an SAP Hybris Webshop. PW provedes the Contnet via HTML and Hybris render this HTML into the Webshop (Between Default Header, Navigation and Footer)
The URLs which are created in PW are the URLs for the local HTML e.g.: http://processwire.webshop.com/en/news/some-article
If some Editor creates an article, he want to see the preview in the real webshop embedded. This URL would be: http://www.webshop.coom/en/blog/news/some-article
Where and how can I create a Module which overwrites the URL with the correct one in the Admin-Area?
Different logging providers
in Wishlist & Roadmap
Posted
Monolog would be nice. With this I could use SaaS's like papertrailapp or loggly