-
Posts
4,314 -
Joined
-
Last visited
-
Days Won
80
Everything posted by diogo
-
I went for Linode following the suggestion from Apeisa on that second link, and i can only say good things. It can mean some work to have an unmanaged VPS, but it also means a lot of learning on a subject so important and that we ignore so much. The docs are very good, and if i screw up, for plus 5€/m i get all the server backed up regularly and on demand.
-
Bom Natal malta!
-
Welcome! Not a ModX user, so your name is pretty new to me, but I loved your under construction website and how you seem so into writing about PW. Exited to have a look at the first results when they come!
-
I totally agree with this, but lets do this carefully, you don't want to be changing the logo again in one year, and I really believe that it's better a reasonable already recognizable logo (what there is now), than an only slightly better new logo. As I said before, I think the square logo should be coherent with the logo as it is now. Here is something that I think is coherent with both the logo and the new website.
-
I use fedora, and yep, SELinux can be annoying at times...
-
Ryan, that was on the favicon, and it was a P inside a square, and I think the circle makes all the difference. Still, for the logo I think the W shouldn't be dropped. Honestly I don't think the P for itself represents ProcessWire. I must say I'm not the biggest fan of the typeface combination of PW's logo, but for the sake of coherence, and not being in favor of changing the logo if not for something much better, I think the logo should be this one or simply the avenir P with the mahalia W inside the bluish grey square.
-
You can go to PW's unofficial complementary documents for this http://php.net/manual/en/function.date.php
-
First of all, welcome to forums Patrik Aren't those files in sites-enables only symlinks to the files in sites-available?
-
@Luis, must be on tinyMce. @Jens, this is how tinyMCE treats images and there are more people requesting the ability to od what you want. You can read about it here http://www.tinymce.com/develop/bugtracker_view.php?id=4770. Make sure to use images on tinyMCE only when you need them. I suspect that for this case it would be more suitable to output the images directly from the image fields. If you still want to have them in the middle of the text, you can use my Image Tags module as it doesn't assume any size for the images http://modules.processwire.com/modules/textformatter-image-tags/.
-
Thanks for saying that, but where did you find this? I don't remember in what context I wrote it...
-
There is a better way for this. In PW you can connect pages using the Page fieldType. Ryan made a video that explains it in detail http://processwire.com/videos/page-fieldtype/. To have an idea of how to create categories with it, have a look at this thread http://processwire.com/talk/topic/815-using-the-page-fieldtype/.
-
The idea is that you don't have to create a module, I think it's very practical but unfortunately it depends on changing code in the theme, so making a module for this would be more logical.
-
Going to be without internet access for a few days
diogo replied to ryan's topic in News & Announcements
Ryan is a big liker -
i want to see that
-
@marcin, see here http://processwire.com/talk/topic/1964-redactor-wysiwyg-editor/page__hl__redactor
-
Props to Barry for this
-
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)