Jump to content

diogo

Moderators
  • Posts

    4,296
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by diogo

  1. but, if the content is displayed somewhere else, why would you need search engines to find it in the original page? ir is the content being displayed with ajax? i'm on mobile, so i can't check those things.
  2. if vou don't want the pages to be accessed just keep their template without any file associated.
  3. that image is called favicon. google it and you will find the answer. i'm on mobile so i can't help more.
  4. Ryan, for youtube I only had to download teh zend gdata folder and only had to use the youtube part and the AuthSub.php file for the authentication. I imagine that it's the same thing with twitter.
  5. If it's ubuntu, mod_rewrite should be enabled by default. The most common problem is not having "AllowOverride" enabled in the etc/apache2/sites-available files change from AllowOverride None to AllowOverride All
  6. I don't think there are modules for those, but for user profiles you can do by adding fields to the "user" template (see the blog profile); For private messages you would need a page fieldType for choosing receiver and a text field, then, you could have a message center for each user with $msgsForMe = $pages->find("template=privateMsg, receiver=$user"); Settings is easy, a simple page with everything you need as fields (see the homepage of the blogprofile); email notifications... well, that depends of what you want to notify, of course, but I can imagine that you would have to make a module that hooks on the page saving (in the case of notifications for private messages, for sure), and to mess around with mail() or something more robust. But overall, everything is possible depending on the time you want to dedicate to it
  7. Because I have my PW forums bookmark pointing at the new content, I saw only now that there is a badge for the awards on the main page of the forum. Can I suggest that there is also one in the other pages?
  8. These are the libraries recommended by twitter. Apparently there is also a zend service that it's not there. Seems pretty simple to implement. At least I used the service for youtube, and it was: $twitter = new Zend_Service_Twitter(array( 'username' => 'johndoe', 'accessToken' => $token )); $response = $twitter->status->userTimeline();
  9. Yay! Glad it works You can change $page->setOutputformatting(true|false) to $page->of(true|false) to make it cleaner
  10. hm, I can be wrong here, but the problem is that pages are not translated, only fields are. You could check if one field is translated and assume that it means that the others are also. You can't check that directly because it will give you the default language value, it it doesn't exist. But you can do this (taken from here): $page->setOutputformatting(false); // turn off outputFormatting (if it's not already) $dutch = $languages->get('dutch'); // get the language we want $body = $page->body->getLanguageValue($dutch); // get the unformatted value in Dutch If $body is not empty, the translation exists... should work, no?
  11. What do you mean? if a language exists, or if a particular translation exists?
  12. diogo

    New pw site

    good idea apeisa, i will try something like that. if there is a finishing touch people will have no doubts.
  13. diogo

    New pw site

    I know, and I appreciate. It is her work place, and it's important that people can see that it is a nice place. I will think of this and ask for the opinion of more people.
  14. diogo

    New pw site

    There is a particular reason. The background picture is also content, and the scrolling always stops when the content reaches the top of the screen. I put some effort on making this feel as natural as it could be, but I should rethink it if it is annoying in any way...
  15. diogo

    New pw site

    Thanks Nico! It was #fff before, but these are the colors of her corporate identity and we decided to keep them. It loses in contrast, but our opinion is that it gains in identification with the other corporate elements and in consequence, uniqueness.
  16. diogo

    New pw site

    My third ProcessWire website was released today For a German therapist. Very simple and easy to build. Thanks to PW of course
  17. Welcome to the forum Philipp, and congratulations for your PW websites. Edit: just noticed that there is a repeated photo on the "elegantes ambiente" part.
  18. All those things will have to be handled with javascript... the cms will be doing only background work here. I mean, the real form will have to be hidden, and filled dynamically by javascript. Have a look at jQuery ui draggable and droppable to know what I'm talking about. http://jqueryui.com/droppable/ Do you mind if I ask who will make this website?
  19. You knew it but you did it anyway... there are many occasions when it is good to shake things up, but I honestly think you didn't choose the proper place, time or words. Ryan already said on the forum that he plans to dedicate more of his time to PW, and that he just has to compensate the loss of money that it would mean for him and his family. He is not forced to discuss this kind of things with us, but he does, and even asks for the others opinions. Code is as good for selling as any other product or service, and I would say, a very honest choice for taking some profit of such a great work as PW is. And hopefully he does. Maybe this discussion will also interest you http://processwire.c...-in-the-future/
  20. diogo

    why i love pw's tree!!

    There's another detail that makes all the difference. The fact that in contao, the buttons are aligned to the right, far away from the pages name, makes it much more difficult to identify what line of buttons refer to wish page. is how I feel like by looking at that image
  21. I mostly agree with this, but on the tree it shows for each page: | edit | view | new | move |, and you have fine grained control over the first three but not over the last one. If you see it from this prism, maybe "sort" would also have a logic place on that restriced group of template permissions.
  22. I don't know if you can do this with render(). are you using the repeater_thingy.php for anything else? you can just turn it in an include, or put the code directly inside the foreach, and like this the check should already work.
×
×
  • Create New...