-
Posts
4,296 -
Joined
-
Last visited
-
Days Won
79
Everything posted by diogo
-
Wow, not expensive at all! And they are DRM free (unlike the one I suggested, I must say... I had to install ADE in Wine to be able to put it in my Kobo through Linux )
-
create pagearray field with api? (multipage select field?)
diogo replied to neildaemond's topic in General Support
The module is FieldtypePage. I'm not sure how to configure the field options... -
$page->of() is a short version of $page->setOutputFormatting(). This is what it says on the docs and cheatsheet:
-
You have to change this line in the "index.php" file $wireDir = 'wire';
-
Create a field "counter" with type "integer" and set it as "hidden, not shown in the editor" or "always collapsed, requiring a click to open", as you prefer. Put this code on your template: $page->counter += 1; $page->of(false); $page->save('counter'); $page->of(true); echo $page->counter; voilá
- 42 replies
-
- 11
-
Here you'll find it for sure http://copypastecharacter.com/ I always use this site
-
Martin, consider also having the members as normal pages instead of repeaters.
-
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.