-
Posts
4,296 -
Joined
-
Last visited
-
Days Won
79
Everything posted by diogo
-
Multilanguage Support doesn´t work. URL?
diogo replied to matsmats's topic in Multi-Language Support
Thanks ceberlin. I wrote on mobile and my answer came a bit short. -
Multilanguage Support doesn´t work. URL?
diogo replied to matsmats's topic in Multi-Language Support
Did you add the url name for each language on the homepage settings? -
Module Module: RuntimeMarkup Fieldtype & Inputfield
diogo replied to kongondo's topic in Modules/Plugins
Or check if Ace is installed, and if not add from a cdn http://cdnjs.com/libraries/ace/ -
Module Module: RuntimeMarkup Fieldtype & Inputfield
diogo replied to kongondo's topic in Modules/Plugins
Greatly useful module guys, thanks! Just used it to provide a list of collected emails for simple copy/paste into send field return $page->children->implode(', ', 'email'); Couldn't get any simpler than this! PS: of course it would be great to have ACE on the code field like i Hanna Code -
mr-fan, do this with every hardcoded string, and people can start translating it __('string') If there are lots of repetitions, maybe it's interesting to follow the suggestions from here https://processwire.com/talk/topic/10447-using-translatable-strings-across-template-files/
-
Powered by <a href="http://processwire.com">P<span class="no-mobile">rocess</span>W<span class="no-mobile">ire</span></a>
-
Oops sorry, I had a get where it should be a find.
-
The secret is to adapt the selector to get all the pages in one go. Try this: $gp = $pages->get(1016); $children = $gp->children; $articles = $pages->get("parent={$children}, sort=title");
-
:D just saw the footer on that website.
-
These are nice: http://fixmy.pw/blog/why-we-love-processwire-cms-so-much-especially-after-working-with-crappy-joomla-wordpress-and-drupal-cmss/ http://fixmy.pw/blog/9-reasons-to-wave-wordpress-goodbye-and-shift-to-processwire/ I love the URL
-
Thanks for telling, We will take this into account and think of making it more obvious. Good point. I made it fixed.
-
Thanks for your comments! That's actually supposed to be a nice detail , hope it doesn't come across as a mistake a lot... Really? That would be an nice work
-
Hi guys. We just launched our most recent work https://www.the-weekender.com/ This is a really nice and carefully crafted magazine! Worth buying, especially for German speakers -- The site is responsive as always, and prepared for two languages, although only German is available at the launching. And most importantly, this is our first Padloper powered web shop. Thanks Antii! Besides Padloper, we used Soma's color picker for the coloured backgrounds and the Multiplier Profield for all the listings. If you notice anything wrong in any browser, please tell. Suggestions are welcomed, as usual
- 6 replies
-
- 17
-
Sorry, not having much time to come to the forum lately. The official PT is not updated for a long time already, would be great if yo send me a pull request https://github.com/ocorreiododiogo/PW-lang-pt-PT
-
Nice to hear from you again Luis. Best of luck for your new professional life! How's Karlsruhe?
-
Didn't see that one from Adrian
-
Welcome to the forum! There is a WP to PW migration tool. Have a look here https://github.com/NicoKnoll/MigratorWordpress and here https://github.com/adrianbj/ProcessMigrator
-
Looking for a simple way to chat with my kid online.
diogo replied to OrganizedFellow's topic in Pub
You can install HipChat on your own server, might be a good option https://www.hipchat.com/server If not, I would really recommend telegram https://telegram.org/ -
I thought of this only for the frontend, really. Your first point is the main advantage for me. The second advantage is that, even if the site is not live, you don't have to decide a place on the page to output your tests, and you don't have to format the markup (for instance with <pre>) because everything will be output nicely in the console.
-
Guys, here's a small trick to test things out on your sites: foreach($page->children as $p) { echo "<script>console.log('" . $p->title . "')</script>"; } Now open the console and enjoy For more power make sure to check Soma's Chrome PHP Logger --- Edit: Or put this simple function or your _init.php function JSlog($str) { echo "<script>console.log('" . $str . "')</script>"; } and on your templates JSlog($page->title);
- 5 replies
-
- 12
-
enddate<=2015-11-13|startdate<=2015-11-13 the OR operator "|" evaluates the first part and follows to the second only if the first is false. In this case the start day is never evaluated because it cannot possibly be true if the first is false. The start has to be earlier then the end. PS: True, I didn't even think that you are using OR between expression. Ryan to the rescue already