-
Posts
531 -
Joined
-
Last visited
-
Days Won
11
Everything posted by Sergio
-
There are some offline options: https://docs.jasonette.com/offline/
-
I read about Jasonette (https://docs.jasonette.com/examples/), a way of creating an app via json files. It seems very interesting, maybe you can give it a try.
-
I'll be there! Probably all days. See you there.
- 1 reply
-
- 1
-
-
Nice site, Helder! Beautiful place indeed. I'm going to Lisbon to attend the Websummit. If you be there, maybe you can grab a beer and talk about PW. PS: the button "sobre nos" on the hero has the wrong link.
-
Just WOW!!! My jaw is on the floor! Great work indeed!! Congratulations @bernhard ! Stupendous accomplishment!
-
Is German your default language? What do you call "pages overview" is the page tree?
-
It's easy to import an XML and populate the fields via PW's great API. You can create a module, or a simple script that can run in a template or via command line. Take a look on the source code of the MarkupLoadRSS module: https://github.com/ryancramerdesign/MarkupLoadRSS/blob/master/MarkupLoadRSS.module I think you can adapt it to your needs very quickly.
-
Users to have access to specific pages (not templates)
Sergio replied to a-ok's topic in General Support
An approach you can use is to create a Page field referencing pages with that template. Add this field to the User template. Thus, if you add property X to the user "Mary", you can check that in your code when Mary requests page X. -
Hi @szabesz! Yes, it works! I'm running it on PW 3.0.57 right now, in production. I have two actions: 1 - "Generate Short URL on adding a page" - On page save, it calls an API on another server (mine too) that runs an installation of https://yourls.org 2 - "Set end date on events, if empty" - the name is self explanatory.
-
Thanks for the module, @Sipho! It also can be done using the approach described in this blog post: https://processwire.com/blog/posts/introducing-iftrunner-and-the-story-behind-it/#iftrunner-release This module has a broad, generic usage, so that's why you didn't find it when searched for you needs, I guess.
-
Name field getting auto-populated with odd values
Sergio replied to Manaus's topic in General Support
See if the template's "Name format for children" field is setup to output a date (Family tab)- 1 reply
-
- 2
-
-
Very nice! It will be extremely useful in some scenarios. Thank you, @Robin S!
-
Hello, zaib! Welcome to the forums. To add a language to PW's admin, you need to: Install language modules ->https://modules.processwire.com/modules/language-support/ Add a language pack, that is nothing but a bunch of json files contaning already translated strings. But I'm afraid there is no Arabic language pack available. Which means that no one created one yet. As there's no language pack, you need to translate the strings yourself. Check the language forum: https://processwire.com/talk/forum/14-multi-language-support/
-
Did you set autoload to true? I was getting the same problem with a module and I read somewhere that it will only invoke the ready method if autoload's true.
- 1 reply
-
- 1
-
-
Hi, @skovar! In the end, I decided to not use the module on the project I was working on because some requirements changed, but I think it's working, but I didn't try it with the latest version of PW. What I mean is that with my pull request, the module can upload the image variations.
-
Yes, it is. Go to the Input tab on the field settings and add a value to "Columns of Checkboxes". I forgot to say that the options are going to be divided automatically, you cannot control the column order like you mentioned.
-
Maybe this gives you ideas: http://foundation.zurb.com/emails/inliner-v2.html
-
Very cool project! That's a great use case for PW you got!
-
@kdarmody I think the tickets are expired, but I can try! Send me your first and last names and email via private message and I'll send it to you using their form.
-
Add a password field to the album template; On the page, create a password and save; Add the form to the template; Add this code, or something similar: if($input->post->album_password) { //save on session variable so if the user reloads the page, he/she can still be logged in $session->album_password = $input->post->album_password; } if($session->album_password == $page->password) { //show content here } elseif($input->post->album_password && $session->album_password != $page->password) { $error = "Incorrect password"; //echo error }
-
Instead of doing that, why won't you just add a simple password field to the album page? So, you won't need to worry about sessions and admin access.
-
As far as I know, all translations are kept as json files on assets/files folder. I don't think they will be deleted if you uninstall the module. Give it a try but backup the json files first.
-
Strange, I didn't have this problem after migrating from Mac to Windows (the other way around). But try uninstalling and installing the module again.
-
Maybe you can create a textformatter to add the classes for you automatically after page save. Or, in your sass file, extend the .title class for all headers.