-
Posts
469 -
Joined
-
Last visited
-
Days Won
1
Posts posted by Gideon So
-
-
Hi,
I am building a module which lists some pages in a table with edit add new and delete button. I would like to have a modal window when the edit or add new button is clicked. Do I need to implement a third party js plugins or there is some built-in function in ProcessWire??
Gideon
-
Hi,
Thanks for reminding me. Just closed it.
Gideon
-
Thanks for Ryan's quick work. This bugs has been fixed.
Gideon
- 2
-
I think this is a bug that not ready for long whitelist. I make a bug report here: https://github.com/ryancramerdesign/ProcessWire/issues/1968
Gideon So
-
21 hours ago, LostKobrakai said:
Just change the xdebug max_nesting config to something higher. Also in production xdebug shouldn't be installed anyways.
Hi,
Still get the same error nomatter how high the max_nestibg_level set. I have 5000 Chinese characters whitelisted in the config.php file. Is it possible the problem?
If I disable xdebug, the connection just get reset and show a blank page when save.
Any more ideas to fix it??
Attached last two lines of the error message from xdebug.
Gideon
-
Hi,
I tried the UTF8 page name function. It is indeed very good but it seems limit the number of Chinese Character to 16. If the page name is more than 16 Chinese Characters, the whole backend become a blank page. I enabled the debug mode and found this error:
( ! ) Fatal error: Maximum function nesting level of '256' reached, aborting! in /home2/web/testserver/WireCore-3.0/core/Sanitizer.php on line 551
Any hints to fix it??
Gideon So
-
Hi,
Can you show us the family tab of your template??
Gideon
- 1
-
24 minutes ago, horst said:
It is AMAZING!!!!
Gdeon
- 1
-
It's surely possible. Recently I've done a very similar newsletter solution, see screens here.
Basically you need to send an email with contents of the newsletter page body (or other) field. Things get complex when you need things like preview email (which is a must imho), subscriber lists, etc. I've done this addons mainly with JS/Ajax.
Hi tpr,
Would you share how to get it done?? A tutorial would be good and helpful to many.
Gideon
-
Not sire what you mean by "to compose an newsletter in the backend as a page". Write the email in textarea field? Or send a rendered output of a page via email. Anyway, both ways are possible using WireMail.
And check out this awesome module by Martijn that just might be useful in this case.
Hi Ivan,
Thanks for the input. I will surely take a look. What I want to do is send a rendered output of a page via mailgun.
Gideon
-
Hi,
Is it possible to compose an newsletter in the backend as a page then send it out through mailgun to many recipients??
Gideon
-
Hi,
This is nice.
Gideon
-
Hi,
All Chinese characters in the output pdf file become . How to config to use CJK fonts??
Thanks.
Gideon
Work it out myself. Maybe someone need the answer. Here it is.
1. Download mpdf 6.0 from http://www.mpdf1.com/mpdf/index.php
2. copy the Sun-ExtA.ttf file to /path/to/your/web/site/modules/Pages2Pdf/mpdf/ttfonts
3. add the following lines to /path/to/your/web/site/modules/Pages2Pdf/mpdf/config_fonts.php
"sun-exta" => array (
'R' => "Sun-ExtA.ttf",
'sip-ext' => 'sun-extb',
),
4. change the mode to R in WirePdf module config page
5. Chang fonts to sun-exta in WirePdf module config page
Done.
Gideon
- 2
-
Hi,
All Chinese characters in the output pdf file become . How to config to use CJK fonts??
Thanks.
Gideon
-
This is great news. Thanks Ryan for your amazing job to make PW better and better and better and better.........(deleted 1000 words)
Gideon
- 2
-
Hi Antti,
Sent you another email address.
Thanks for your great help.
Gideon
-
Hi Antti,
Look like padloper doesn't compatible with PW3.0. I sent you an email with the error I have.
Gideon
-
can you try moving the page up to the top, in the admin page branch?
sure, i can try, and the plan is to eventually make a module...
but in the meantime i'll try and make a tutorial, because until the module is made, it's just a lot of fields, templates and pages in the admin; then 1 dashboard.php, and 3 css files
Good. Waiting for your great tutorial.
Gideon
-
Update:
So I've been using Pete's dashboard module instead of the technique described above;
it's quicker to setup, and easier to clone to other installs, and no need to have code in various places like the themes folder and in ready.php
The hope/plan is to turn it into a full widget enabled dashboard module that i can install on various installations
a) without having to do any hardcoding
b) enable control over which widgets are shown on the dashboard (by user/role/permission)
c) allow for easy configuration of colors, icons, columns, etc.
To achieve this I setup some templates for different widget types, one is a shortcuts widget, another is a page lister widget;
these each have pages and fields to configure them; i can set them to appear by user/role.
in the future i can add different types of widgets as needed and then include them in the needed user's dashboard.
This is using a combination of a free (MIT licensed) admin theme for bootstrap, but instead of using bootstrap as the css layout, it uses a tiny grid called rwdgrid which i s 2KB; it uses the box, and other widget classes from the admin theme.
Hi Macrura,
This is very impressive. Any tutorial or resources to show us how to do it?? Thanks.
Gideon
-
Hey all,
I'm on this. I actually never noticed it worked that way because my installs had the page set to published, so it showed in the list of children.
For now, the temp fix is to un-hide the tree page.
Hi Tom,
Good fix. But any plan to fix this??
Gideon
-
This is very nice.
Gideon
- 1
-
Hi Teppo,
I read the thread serveral times and always thinking about writing here. I know this is a big issue but worth the effort to implement it.
Gideon
- 1
-
Hi Gretsky,
I read it. But I think it is different. The issue mention is about the url input field. What I need is non alpha numberic page name and url.
Gideon
-
Hi Ivan,
Like Asian characters in the page name field and display it in the url.
Gideon
Modal windows in the backend
in General Support
Posted
Hi,
Tried. Doesn't work. How to get jQuery modal??
Gideon