-
Posts
4,296 -
Joined
-
Last visited
-
Days Won
79
Everything posted by diogo
-
Create an account and login, search for pw, and on it's page click on the "comments" or the "review" tabs. There you will have a "new comment" and a "new review" buttons. actually there is an even older site for this http://www.osalt.com/ but doesn't feature, neither PW or EE. This is interesting because it's about open source alternatives to commercial software (ex: photoshop->gimp). I can't do it now, but maybe someone can suggest both there? edit: ya, one more for the collection...
-
Matthew? We're waiting
-
We have to raise the position of pw here http://alternativeto.net/software/expressionengine/ , this is the first page that appears when you write "expression engine alternative" on google. So, people, go and like pw on that site! edit: I don't know what's happening, but when i paste this url it gets cut ressionengine/'>http://alternativeto.net/software/expressionengine/
-
Just thought this would be a good time for bumping this thread
-
Somebody help!!! Pete is being attacked by a furry animal!! :o
-
I dropped your code as is on my testing install, and it worked well. Only thing that changed was that I used the "basic-page" template instead of your "order", that i don't have obviously. So I'm guessing it might be something with the template access settings?
-
I was thinking of a way of creating custom admin pages without having to create a process module or having to use the $wire object. I came up with a process that is actually very simple (although I think it would be better to create a module for having this functionality). Here is how: (This will work with the default admin theme, but should also work with other themes) Go to your /site/templates-admin/default.php (if you don't have it, copy the /wire/templates-admin/ directory to /site/) and change this line <?php echo $content?> to this <?php if($page->template===$templates->admin){echo $content;}else{include($config->paths->templates.$page->template->name.".inc");}?> Then, go to the /site/templates/ folder and create a file named "custom.php" with this content <?php include($config->paths->adminTemplates."default.php"); Our setup is ready Now, to create a custom page in the admin: First, create the new page as child of /Admin/ and point to custom.php as the template file. To do this, when creating the template for the page, go to "ADVANCED" and write "custom" as the "Alternate Template Filename". Then, instead of creating a TEMPLATE.php file, as you normaly would, create a TEMPLATE.inc file. You can use all the API variables as you would in a normal template. Disclaimer: This is a proof of concept, and has still lot's of place for improvement. edit: changed from this if($page->process) to this if($page->template === $templates->admin)
-
Of course shit can happen, but I think it's very handy to be able to read the database when needed, so I agree with Pete. this was the answer to another thread... what a mess... ts
-
Going to be without internet access for a few days
diogo replied to ryan's topic in News & Announcements
Welcome back Ryan! You will sure have a lot to read -
Ok, then it's a matter of putting the hands in the dirt anyway, here's another one https://github.com/calvinfroedge/codeigniter-payments (started for codeIgniter, but now it's framework agnostic)
-
I looked on google for a php library for gateway integration and found only one http://www.php-merchant.org/ and the developer must have taken the code from github https://github.com/i...ct/PHP-Merchant. There is however a WordPress plugin that uses it, so the code must be fully here https://github.com/w...ce/PHP-Merchant. It does look interesting, and, if we can't use it as is, at least studying it can give us some light about the patterns that can be fount on the different gateway integrations. edit: Hm, it seems that they only completed the paypal integration...
-
Ok, just installed pw in koding. Everything is working fine, although a bit slow... Here is how to do it: Go to "develop" and launch the terminal. cd to the /websites/ folder (replace USERNAME with your own) cd Sites/USERNAME.koding.com/website clone the contents of PW to that directory (let's make it the dev version) git clone -b dev https://github.com/ryancramerdesign/ProcessWire.git . or, if you prefer to have it in a subdirectory without the dot git clone -b dev https://github.com/ryancramerdesign/ProcessWire.git do all the renaming stuff using the right click context on the UI (htaccess.txt->.htaccess and site-default->site) important step: in the htaccess file add this line (change USERNAME to you own and paste it right under # RewriteBase /~user/ to keep it tidy) RewriteBase /~USERNAME/USERNAME.koding.com/website/pw/ if you have PW installed in a subdirectory change to RewriteBase /~USERNAME/USERNAME.koding.com/website/DIRECTORY/ create a database in "accounts"->"database settings", and keep the given info with you go to http://USERNAME.koding.com/ and install PW normally
-
My personal preference is that the book is not dependent on example files. I prefer to study by books than on the screen, and also prefer to take them with me and read anywhere. I always get a bit irritated when the flow of the book depends on me sitting by a computer...
-
Well done Adam!
-
I think it would make sense to collaborate and expand on apeisa's module. The majos thing that is missing is the integration of payment gateways, and honestly, that's not very difficult to do by reading each one's documentation. With lots of people working on that direction, one gateway at a time, I think it could be done.
-
Great step forward Joss. I don't think I can help a lot with the content, but I would love to take care of the design when it comes the time.
-
Hey Claudio, I need your email for the invite, can you PM it to me? For what I've tested so far it's very interesting but it does feel a lot like beta. As for what it is, I think it's better if you see for yourself, you will understand it as soon has you login.
-
You don't need it. This is there only for the example, you can use any class or id that you want or you don't have to use anything at all. The HTML part is completely up to you.
-
I never used this module, but assuming that it creates an iframe, this could do the trick http://stackoverflow.com/questions/12676725/responsive-iframe-google-maps-and-weird-resizing
-
Not from that code... must be something you have after it
-
I really like Linode's documentation http://library.linode.com/. I always found what I was looking for, and their tutorials are straight to the point and easy to follow. And we are talking about something pretty complex here...
-
It's not that dangerous to forget this because you can always find the page in database with the ID 2. Maybe it's a good thing to refer.
-
Yep, and speaks a good Latin also
-
Joss, just think of the template as a single thing that groups all those. Then you just have to refer to them like "the template file", "the template fields", "the template settings".
-
This guinea pig is too sleepy to give a decent opinion. I will go through it again tomorrow.