-
Posts
7,479 -
Joined
-
Last visited
-
Days Won
146
Everything posted by kongondo
-
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:
-
What @horst said. As a btw, if in a module, you also have the option of $this->sanitizer
-
Hi @dps123. Welcome to ProcessWire and the forums. page URLs are formatted using the $sanitizer->pageName('Title of Page') function. Have a read here. Edit: Unless you are talking about the JavaScript that shows the live formatting as you enter the page title?
-
@AndZyk I don't think that's a good idea, at least not the first solution I would go for. There's a very good reason PW blocks execution of 'foreign' .php files in that folder. I don't know about the lcmini.php script but I would first consider the following: Convert it to a template file Use an include from within a template file
- 4 replies
-
- 4
-
- login
- third party plugin
-
(and 1 more)
Tagged with:
-
@pwired, I didn't hear you apologising to pocket-grid . Glad you sorted it out .
-
Using child pages as part of parent page
kongondo replied to Peter Troeger's topic in General Support
Aah, I see. If you need to use the template file of the child pages, have a look at this long thread. @jonathan's post may be of special interest in your case. You do not need to use the redirect module for such a simple redirect. For such you use $session->redirect('url') like I indicated . Have a read here about the session variable. -
Module Module: RuntimeMarkup Fieldtype & Inputfield
kongondo replied to kongondo's topic in Modules/Plugins
@Gazley, we can probably get around that. The main issue for me is how to reference the current repeater matrix item, basically the 'neighbouring' page field. In normal repeaters, fields are grouped (using their modified field-names) like so in one repeater item: email_repeater3157 page_field_name_repeater3157 runtime_markup_field_name3157 eq(0) email_repeater3179 page_field_name_repeater3179 runtime_markup_field_name3179 eq(1) What is needed is a way to get the eq(n) of the repeater or the 3157 (the ID of the page where the fields actually live - hidden repeater page in admin) Btw, $page->getForPage() won't cut it because this is the current page that has all those repeater items, in other words the $page in your RuntimeMarkup field. It seems the $page variable will do it? I don't even have a PW 3.x install ( ) which RepeaterMatrix requires to test this. Time, oh time... -
Using child pages as part of parent page
kongondo replied to Peter Troeger's topic in General Support
Hi Peter, There's various techniques to solve this: Don't give the template of team-member-1 (the child pages) a template file. And decide what to do when that URL is accessed Don't give 'guest' view access (in template file of the child pages) and tell PW what to do when those child pages are accessed - e.g. redirect to some URL In the template file of child pages, use $session-redirect('/some-url/') to redirect users to the parent page Etc...(aka - please search - this has been covered a lot in the forums)