-
Posts
4,296 -
Joined
-
Last visited
-
Days Won
79
Everything posted by diogo
-
I agree. What I like most in Processwire is that you don't have to tweak absolutely nothing to get the results you want. It's better to have more work building something new on top of a simple system than hacking a very complete system that makes too many assumptions. I can't help with the programming, but I can always help testing
-
It seems so. At least the ID's for the blog pagination links are "MarkupPagerNav"
-
This is nice have a look on the sidebar: http://99lime.com/blog/
-
I do like this solution. I digg a bit more on modules and saw that you also do something like: $pages = wire('pages'), and then use $pages->get(), and so on, just like in templates.
-
Great! Thanks Pete
-
I created a new page with parent and template "admin" and created a new module for that page process. Among other things, i would like to list there all the children of another page with a module. Is there any way of using template variables inside the module, or it has to be done another way? I looked on the forums, and tried to figure out by looking at other modules, but didn't find any answer.
-
http://www.adminer.org/ is a small php file to manage SQL databases I received this on Smashing Magazine newsletter and decided to try it because of all those PhpMyadmin securiy concerns. It's very easy to use, so i decided to install it on the server, inside my PW install. I droped the PHP file on the templates folder, created a new template, and a page with this template without Guest access. Works great! And I have two layers of security, the PW admin login, and the DB login. Just wanted to share
-
What about doing something like this on each one of them (not tested): if ($page->startDate != "12/31/1969") echo $page->startDate;
-
Sorry, that edit2 just messed my post I restarted right after all the other things, the problem came after that. Anyway, I did some test and I don't notice any difference now, maybe it happened because the images were already cached in the browser when I tried the second time.
-
It's working perfectly now, thanks! It's great to have all the sites in the same folder edit: is it possible that the website gets slower with the new process? I have a ubuntu server with each site in a virtual server, I pointed the domain to the new folder on index.config.php, and removed it from "sites enabled" in apache. edit2: and restarted the server
-
Ryan, it's not a copy of the site at mydomain.com, it's a copy of a different site. Also, I used www because I know it's pointing to the same directory, the idea was just testing quickly if it would work. I assume that the server has to point all the sites that I want in the same installation, to this same directory.
-
Ryan, I tried this, but must be doing something wrong. For testing purposes I copied all the contents of the /site/ directory from a working PW install on the same server to /site-testing/ on the root of my main PW at mydomain.com. Then I moved the index.config.php file to the same place, and replaced the examples by: 'www.mydomain.com' => 'site-testing' I'm still getting my main website when I access www.mydomain.com, shouldn't it be already the other site?
-
Great news Ryan! Don't forget to change from 2.1 to 2.2 on the downloads page.
-
I had no problem uploading it in my PW install edit: and welcome to the forums
-
I do use skype, I will get in touch with you later, ok? The multi-language support in PW is still in beta. You can find everything about it on this thread: http://processwire.com/talk/topic/545-progress-on-processwire-22-and-overview-of-multi-language-support, My pt-pt version is here: http://processwire.com/talk/topic/545-progress-on-processwire-22-and-overview-of-multi-language-support/page__view__findpost__p__5930
-
You should, the docs are great. I printed them, and had a very nice time reading in the sun
-
I coded everything by hand, and the breaking points are based on the design and not on predefined screen sizes. Nice to see someone from Portugal in the forums When and if you have time, i would like you to take a look on my Portuguese translation from Processwire and tell me if you would change anything.
-
Thanks Nico, I will make sure to use your link if I register for them.
-
There is a kind of blog already, but will be only for small announcements. I think it will be ok
-
Thanks for the nice comments! Yep, I think Erika did a great job with the design. We are working on her portfolio website, also with PW, so I will post it here for sure I was a bit worried with the font. It's not very legible, and it's only caps. But it's the font of all the communication from this place, so we decided to go with it. Could be bigger, of course, but would force me to make the content column bigger than 500
-
Hi guys! here is my first published site made with ProcessWire: http://max-cafe-bar.de The design is not mine but Erika's, I only adapted it to the screen and made all the changes needed for being responsive to screen sizes. I'm aware that it is extremely slow... the server is where they had the old site hosted, and since the PW back office is also acting very slow, I'm assuming It has something to do with them. Anyone from Germany has any experience with strato.de?
-
How to get image scaled down proportionally (given a constraint)
diogo replied to landitus's topic in General Support
Thanks Apeisa, I used it like this if($image->width > 500) $image = $image->width(500); ?> <img src="<?php echo $image->url?>" alt=""> but would be very nice to have a maxwidth() in PW -
How to get image scaled down proportionally (given a constraint)
diogo replied to landitus's topic in General Support
With this method, any smaller image will be also resized, right? Is there any API way of doing something that only resizes bigger images? -
Welcome to the forums wrenbjor! If the calendar doesn't have to be included in the content that you will put via the GUI, you can do something like this on your template: <?php if ($page->name == 'whatever'): ?> "your google calendar code" <?php endif; ?> Where 'whatever' is the name of the page you want to put the calendar in.