-
Posts
7,529 -
Joined
-
Last visited
-
Days Won
160
Everything posted by kongondo
-
Dumbfounded by this one. Are you able to start over (i.e. a fresh install)? Otherwise this really is a FieldtypeComments question (a core module) since that's what Blog uses.
-
Get database query for $pages->find() operation
kongondo replied to gebeer's topic in General Support
Try getQueryLog(); (with $config->debug to true) https://processwire.com/talk/topic/11483-duplication-in-query-results/?p=106994 -
Answering field for site owner for the comments
kongondo replied to Juergen's topic in Wishlist & Roadmap
I would remove the comments module altogether from the core -
Answering field for site owner for the comments
kongondo replied to Juergen's topic in Wishlist & Roadmap
Of course... (Monday morning blues... ). So, an extra column in the database of type varchar. -
Answering field for site owner for the comments
kongondo replied to Juergen's topic in Wishlist & Roadmap
From what I can tell, this is not going to be easy programmatically. That data has to be stored somewhere, yet with some flag indicating it is not a 'new comment' plus inserting those in between other comments....Then again, we have some crazy talent here -
Answering field for site owner for the comments
kongondo replied to Juergen's topic in Wishlist & Roadmap
This sounds like it could be accomplished by the threaded (nested) comments feature https://processwire.com/blog/posts/core-comments-upgrades/ Older posts: https://processwire.com/talk/topic/2623-comments-core-reply-feature/ https://processwire.com/talk/topic/9273-nested-comments-in-stable-version/ -
Convert fieldtype text to integer - Sort issues
kongondo replied to blacksrv's topic in General Support
Good call Tony. Forgot about that. Amended my code. -
Works just fine for me. Have you confirmed email is working properly on your server? Tested with other applications? No idea, sorry . Let's hear what others say
-
Media Manager Version 002 is ready Changes Specify allowed media types for a media manager field (i.e. the field you add to a template). Default is to allow all four types, i.e. audio, document, image and video. Setting is in 'Details Tab' of your media manager field Set the maximum number of media allowed for a media manager field (i.e. maximum per page). Set in 'Details Tab' Media Manager Field setting Example Media Manager Inputfield displays More media can still be added Media Manager field (for this page) full
-
Can do, and was gonna do it but thought it is easier for guys to watch the demo videos (as I finish the documentation...)...to understand what's going on
-
Visual Page Selector Released 31 March 2016 https://processwireshop.pw/plugins/visual-page-selector/
-
Media Manager Released 31 March 2016 https://processwireshop.pw/plugins/media-manager/
-
Just guessing...probably has been spat out similar to what happens in ProcessWire admin...Look at the admin source...You'll see something like this: <script type="text/javascript"> var config = { "modals": { "large": "15,15,30,30,draggable=false,resizable=true,hide=250,show=100", "medium": "50,49,100,100", "small": "100,100,200,200", "full": "0,0,0,0" }, "ProcessPageList": { "containerID": "PageListContainer", "ajaxURL": "/processwire/page/list/", "ajaxMoveURL": "/processwire/page/sort/", "rootPageID": 0, "openPageIDs": [ ], // etc. } } </script> @soma talks about the technique here (@see Communicating with PHP).
-
4. What tool are you using for the export/import?... (btw)
-
Either will work
-
Are these names for real? Saying that the 'settings are OK ' isn't very helpful I am afraid . OK in what sense? OK for your ProcessWire install? Something else? There is nothing like WP or ProcessWire FTP . What I think the hosting provider was telling you is to activate your FTP account and, because many FTP programmes have features that allow you to change file permissions (maybe even ownership? not sure), to use such an FTP programme to change your file/folder permissions. Like @horst intimated, your problem is most likely one of ownership. Have a read here about file permissions and ownership. How did you install ProcessWire on that server? Are you able to install modules just fine?
-
A link to a documentation would suffice. Google throws up this one. Don't know if it is the same thing...
- 12 replies
-
- encrypt
- hide files
-
(and 1 more)
Tagged with:
-
Hmm, I might have misread what you are after.....I thought you want some text to appear in your pages...but it seems you want the templates themselves to be altered in some way...
-
@teppo already has a module that will achieve what you want - InputfieldTextareaMarkup (forum) and @soma too - TemplateNotes (forum). Other than those, there's also RuntimeMarkup by, err, me.
-
Get module settings in module function
kongondo replied to kreativmonkey's topic in Module/Plugin Development
In this block of code... private static function _verify_comment_request($comment){ /* Kommentarwerte */ $ip = $comment->ip; $url = $comment->website; $body = $comment->text; $email = $comment->email; $author = $comment->cite; /* Optionen */ /* Bereits kommentiert? @kongondo: Where is this $data coming from?*/ if ( $data['already_commented'] && ! empty($email) && self::_is_approved_email($email) ) { return; } ...where is $data coming from? It needs to come from somewhere...e.g. private static function _verify_comment_request($comment, $data){ } -
Get module settings in module function
kongondo replied to kreativmonkey's topic in Module/Plugin Development
Did you even read our responses? What do you mean by 'But nothing will work for me....' ?? -
Get module settings in module function
kongondo replied to kreativmonkey's topic in Module/Plugin Development
I am not sure what you are after, so a quick answer: In PHP, you cannot refer to a static method using $this. you need self::staticMethodName() Example of accessing module values (including getModuleConfigInputfields()) that are in a static method (ProcessBlog) Edit: Also, I don't see where $data is coming from in your code, line #73 -
No worries. I have also edited my post RE the second part of your question
-
In the video 0.00 - 4.25 Frontend (check the URL); 4.25 to end Backend (MediaManager) As for your question about image replacement: I think it would be easiest to either extend FieldtypeFile or modify FieldtypeImage as a new module (and/or their related Inputfields - am not sure). What exactly are you after? I ask because I know there are some cool changes coming to the 'standard image field' and those might just meet your needs.
-
Many ProcessWire 2 modules will work in ProcessWire 3, thanks to the compiler. So, you code as 'normal' If you want a PW3-only module, just add namespace ProcessWire at the top of the module class There's some stuff that will only be supported in ProcessWire 3. If you want to leverage those and don't care about PW2, then go for 3 directly. Otherwise, if you have the resources and can support both, then go for two separate PW2 and PW3 modules. PW2 will still be around for a while .....but to PW3 we'll 'all'(?) go..eventually...so.. https://processwire.com/blog/posts/processwire-3.0-alpha-2-and-2.6.22-rc1/
- 1 reply
-
- 6
-
-
- pw3
- differences
-
(and 1 more)
Tagged with: