-
Posts
4,314 -
Joined
-
Last visited
-
Days Won
80
Everything posted by diogo
-
you're a mac guy
-
I was already answering to this question and Chrome crashed out of nowhere. I will take that as a sign and refrain to write it again...
-
This would be a nice preference to have on the module settings Antti.
-
Hi there! You have a lot of questions there that will be answered if you go through the documentations and basic tutorials. Instead of answering to them I will point you to the most useful links for starting with PW. The point here is that, besides answering those specific questions, you will also have an idea of how the system works in general. http://wiki.processwire.com/index.php/Small_Project_Walkthrough http://wiki.processwire.com/index.php/Basic_Website_Tutorial http://processwire.com/api/ http://processwire.com/api/cheatsheet/ There are two questions that you won't find answered on those links: While this is possible through the implementation of an editor like http://aloha-editor.org/ by creating a module. The truth is that you won't find it implemented in the core. I don't think that would be possible in any system. You can be sure that compatibility is one of Ryan's main concerns though.
-
Did you have a look at how http://ci-merchant.org/ achieves that? I noticed that they support lots of gateways, I just don't know if they have different code for each one of them, or if they do it in a more abstract level as you want. edit: hm, not that easy. There is a "Merchant-driver" class, and each payment gateway has it's own class that extends "Merchant-driver" or one of the other gateway classes. Some of them can get pretty complicated... edit2: have a look at this one also https://github.com/adrianmacneil/omnipay
-
Agree with Antii. If you learn the main concepts, you can learn everything. Last book I read was the excellent http://www.javascriptenlightenment.com/ and I can only recommend it to anyone that want understand the concepts of Javascript instead of just copy/pasting jQuery snippets around. What I mean is, after understanding Javacript, copy/pastindg jQuery snippets becomes so much more fun. And that applies to everything, read insightful book about CSS3, and you'll understand responsive design and much more. edit: speaking of node.js, I've been fooling around with it lately (I must say I love the informality of creating the server on the file itself) and noticed that there are only very (too) simple CMSs. Would be great to port the concept of PW to a node.js CMS. Just thought I should throw this idea in the air
-
Great read Joss. In Portugal we have a saying that I hope still makes sense when translated: "old are the rags"
-
17, can you imagine? All the friends going to parties while Nico stays at home coding
-
I'm in the middle of this one http://www.larryullman.com/books/php-advanced-and-object-oriented-programming/, and liking it a lot.
-
I think you're getting it wrong, and Joss wants this instead: foreach ($pages->find("template=$page->template") as $p) { echo $p->name; }
-
Ryan, it's a free host, but apparently it does supports it http://www.000webhost.com/faq.php?ID=16
-
I did use "content", but i didn't use content
-
@NooseLadder, Your css approach is nice (also the one I use), but it serves the same image to every screen. What I think Oliver wants to achieve is serving different images depending on the screen, so people don't download images bigger than what's really needed.
-
Joss, try this: html:after{ content: "1"; } It's not very likely that this is the problem, but if there is no "1" in the source I don't see another reason.
-
In that case CSS would be the guilty...
-
Soma is right, that's a lot of third party code. If you load the page without javascript, does it still appear?
-
Bruno, you asked this same question in three posts already. It will be easier to help you if everyone focus on one of them.
-
Olá Bruno, sim sou Portugês Isso deve ser um problema com o mod_rewrite. Segue estas intruções http://processwire.com/talk/topic/1962-cant-reach-admin-page/?p=18373
-
Martind, he was laughing at me, not at you
-
Do the links on the website work?
-
Hey, no problem!! I'm glad you solved it.
-
Already Impressed, but a Bit of Trouble...
diogo replied to MatthewSchenker's topic in Getting Started
Hi Bruno! Did you try all the suggestions on this post and the posts that netcarver linked to? -
Module - Shop for Processwire - Selectable options and the cart
diogo replied to NooseLadder's topic in Modules/Plugins
Apart from the if statement, the code is perfectly valid. In this case It's working because by enclosing the statement in quotes it becomes a string, and a string is always true. The problem is when you need it to be also false, because it never will... Ryan's example won't work because 5/6, 7/8 (etc) are less than 0. Maybe by testing if there is at least one child where the field is not empty? if($page->children->get("product_size!=")->id) -
but you wouldn't have a way of knowing if the post is being accessed from the real or the fake url.