-
Posts
7,379 -
Joined
-
Last visited
-
Days Won
139
Everything posted by kongondo
-
Repeaters - outputting (and adding up) user created fields
kongondo replied to Galaxy's topic in Getting Started
Ye, this does confuse at times...PW has both input and output formats for date... -
Diogo, Thx for the tip. Btw, not sure why this last thumbnail is not loading? I can't see it in the modal It's now OK...some forum quirk I suppose
-
I don't think it's possible, I could be wrong. I saw a post about this but can't find it now. Such a user will be able to "view" but not edit pages. See also this module http://modules.processwire.com/modules/page-edit-per-user/ (page edit per user). This may also be of interest: http://processwire.com/talk/topic/2443-hide-pages-from-page-tree-asmselect-problem/ ("hiding" pages by putting them under Admin page)
-
Repeaters - outputting (and adding up) user created fields
kongondo replied to Galaxy's topic in Getting Started
Galaxy, These should get you started...nothing really special about accessing repeaters http://processwire.com/api/fieldtypes/repeaters/ http://processwire.com/talk/topic/958-repeatable-fields/ -
And we have you to thank for hiring him in the first place which led us to Hanna Code! Thank you!
-
Massive! Thanks for the write-up Ryan! I'm especially intrigued by the import script and the URL hook.
-
Proof of Concept: ProcessWire Admin Theme Switcher
kongondo replied to kongondo's topic in Themes and Profiles
Thx Ryan. I've said it before - with PW, we are spoilt for choice! -
Stefan, From what I understand, In modules and in functions $page is always out of scope (?). In functions, use wire ('page') or $wire->page instead since is global. In modules use $this -> //These two are equivalent, so what syntax you prefer to use is up to you: //http://processwire.com/api/include/ $mypage = $wire->pages->get("/about/contact/"); $mypage = wire('pages')->get("/about/contact/"); See also http://processwire.com/talk/topic/3638-this-scope-in-modules/?p=35554http://processwire.com/talk/topic/3056-cant-use-input-urlsegment1-in-a-function-is-this-my-php-weakling-status-showing/?p=30044
-
How to troubleshoot script redirected to 404 page (mod_security?)
kongondo replied to MarcC's topic in General Support
I'll hazard a guess. I know PW prevents u from running php scripts directly in site/templates/ and some other places. Maybe also in assets folder? http://processwire.com/talk/topic/407-processing-contact-forms/?p=3106 -
It does clarify things, thanks for posting. Once you've configured the macro, does the placeholder then get replaced or it stays in place?
-
+1 for $pages->add();
-
Sorry; I just wasted your precious time! I forgot to set it as my textformatter after I made a couple of changes! Thanks
-
Is it just me or is Hanna version 1.0.4 broken? It no longer works - it outputs the raw tag Don't know what's happening but even older versions do not work any more. I'm stumped. Ideas? Using it on 2.3 stable
-
/site/assets/cache/HannaCode/ . The PHP are stored as PHP files
-
Other uploaders/topics that may be of interest http://www.plupload.com/ (by TinyMCE guys) - this is a beast! http://www.fyneworks.com/jquery/multiple-file-upload/# http://www.phpletter.com/Demo/AjaxFileUpload-Demo/ http://pixelcone.com/jquery/ajax-file-upload-script/ http://www.jscripts.info/mfupload.php http://www.jquery4u.com/plugins/10-jquery-ajax-file-uploader-plugins/ http://www.9lessons.info/2012/09/multiple-file-drag-and-drop-upload.html http://www.nacodes.com/2013/04/14/DROPAREA-jQuery-Html5-drag-drop-file-uploader-plugin
-
You do that server side. Dropzone will deliver the file to your PHP file. With that you can do whatever you want
-
I have tested Hanna with single {, ( and [, i.e. (hello) [hello] {hello} They all work fine in both PHP and Text mode. Ryan, are these OK or they could throw up issues? Thx.
-
I have been testing it this week. It is simple and works out of the box. I settled for https://github.com/Widen/fine-uploader though due to its many features...(note: it is OS but for those not wanting GPL, they can buy a commercial license; Initially I thought it was all commercial)
-
Good point. Let me update the post...but will just leave the attachment up with a note
- 24 replies
-
- processwire book
- ebook
-
(and 1 more)
Tagged with:
-
WillyC, even the following will work with Hanna Edit: with normal text; with PHP no....see below LAST EDIT:) All work single ( or { or [ {piranha} Just change the tags you want to use in TextformatterHannaCode module. I haven't tried it with PHP yet. These single tags/square brackets will work in PHP mode. All the below work in hanna in PHP and text mode [piranha]{piranha}(piranha) Sorry for digression
-
OK, for the truly lazy like me...here's the html version attached. Clicking on Advanced twice seems to add ++ instead of just one? No biggie though...I removed the Google Analytics stuff - you don't need those. You can easily use this in your PW template file of course. All credits to Soma of course Edit: Note (see post by Soma below) - this Cheat Sheet will need to be updated with PW 2.3 additions pw2+cheatsheet1.1.zip
- 24 replies
-
- processwire book
- ebook
-
(and 1 more)
Tagged with:
-
Wrong link Soma...that links to this thread ...we get your point though . Thanks for the tip!
- 24 replies
-
- 1
-
- processwire book
- ebook
-
(and 1 more)
Tagged with:
-
PW Online Installer (download of latest PW install to server)
kongondo replied to Soma's topic in Modules/Plugins
Maybe these will help? http://stackoverflow.com/questions/5801425/enabling-ssl-with-xampp http://stackoverflow.com/questions/2643462/setting-up-ssl-on-a-local-xampp-apache-server http://www.apachefriends.org/f/viewtopic.php?t=31448 -
Was just thinking about this! It would also solve offline issues (run it locally)
- 24 replies
-
- processwire book
- ebook
-
(and 1 more)
Tagged with: