Jump to content

diogo

Moderators
  • Posts

    4,296
  • Joined

  • Last visited

  • Days Won

    79

Everything posted by diogo

  1. Have you seen Fredi? http://modules.processwire.com/modules/fredi/
  2. As adrian said. Don't know if they influence on this but you have some problems with your code: <li><a href="<?php echo $page->url; //echo was missing ?>">Предложение</a></li> <li class="active"><a href="<?php echo $page->url; //echo was missing ?>spros/">Спрос</a></li> if($input->urlSegment2) throw new Wire404Exception(); if($input->urlSegment1 == 'spros') { $selectSpros = TRUE; } else if($input->urlSegment1) { throw new Wire404Exception(); } else { $selectSpros = FALSE; } // I think like this is more readable: if($input->urlSegment1) { if($input->urlSegment2 OR $input->urlSegment1 != 'spros') { throw new Wire404Exception(); } $selectSpros = TRUE; } else { $selectSpros = FALSE; }
  3. Textile has support for tables http://txstyle.org/doc/15/tables but copy/pasting from excel is not an option here. Doesn't seem too difficult to create a text formatter for this, since when you copy/paste from excel you get tabular data like this: ewrwer ewe werew werew werewr werwer werwer ewrewr ewrewr werq wqeqe qweqwe
  4. Like it was said yes, it can. But if all you want is a simple tumblog have a look at Chyrp http://chyrp.net/ That said, PW can perfectly take care of the task and this is probably how I would approach it in PW: — Create the blog template and page to hold the articles in the tree — Create a template for each type of post (image, text, video, quote, whatever...) with the custom fields needed for each — Limit those templates to have the blog page as parent (this will allow you to have the quick creation of these on the quick button) — On each of these template files create the PHP for the individual post page ex: <?php //quote post if(!count($options['pageStack'])) include('head.inc'); //render the head only if this page is not being rendered inside another page ?> <blockquote> <?=$page->quote?> <footer> — <cite><a href="<?=$page->cite_source?>/"><?=$page->cite?></a></cite> </footer> </blockquote> <?php if(!count($options['pageStack'])) include('head.inc'); // same as with head — and then render them on the blog template: <?php include('head.inc'); foreach($page->children as $post) { echo $post->render(); //render all posts } include('head.inc'); Note: this is minimal code just for example, written directly in the browser and completely untested. See how to paginate results here https://processwire.com/api/modules/markup-pager-nav/ And read about categorisation here https://processwire.com/talk/topic/3579-tutorial-approaches-to-categorising-site-content/
  5. By the way, You might want to get yourself an avatar. On your 21st post the forum system will automatically and irreversibly replace the generic image by one of the spice girls (randomly chosen)
  6. You didn't sound defensive at all!! Sorry that I started that, I can't repeat anymore that I love the site as it is The comment on the menu comes exactly from that, because the site is so positively minimalistic, and yes, because it has a print feeling (I'm a graphic designer by the way), somehow I felt that the menu brings too much animation to it. It's also natural that André (onjegolders) and I have more or less the same vision on this because we worked together and had long conversations about these kind of details. But, unlike how pwired puts it, this was NOT criticism (constructive or not), but just a friendly and completely subjective remark on a detail on a site that I admire.
  7. I'm also using velocity in my site. Very smooth indeed! Consider also having the menu inside the the red bar, like this it would just come down with it and might be more natural. It's a detail, but because it's the strongest element in the site, I think it's worth it to get it right.
  8. Don't get me wrong, I love the site. And in my site I also have the menu hidden in every page. I your case I wouldn't have the red menu open, that would be too heavy for the inner pages, but I would consider having it in black on white. I'm sure you tried some variations, and I'm just here giving my immediate opinion. It's great as it is any way. Minor thing: when the menu slides down the letters fade in before the animation completes, you might consider making that fading later or slower.
  9. Beautiful site, by the way. I just don't understand why you have the menu hidden in the inner pages. I understand why in the homepage, but not the inner. One way is to upload the new index file with a different name, and once it is uploaded, change the names. Another way is to open the index file and paste the contents of the new index there.
  10. Anyone can have access to the code in .inc files, and while not possible to read the php files, anyone could just look for them and chose which ones to execute. Edit: I sent you a PM before telling you this, but I guess you didn't see it
  11. I installed Craft some days ago and was well impressed with the interface and flexibility, but after playing around a bit and reading their docs I got the idea that it is not nearly as flexible and powerful as PW. I also have the feeling that they managed to have such a clean interface by giving less flexibility, because each field works in a completely different way, while in PW all fields use the same repeatable resources.
  12. When one war is over another one starts. There's no peace in this world pwired, everyone likes to see a new PW website come to public. The likes on the forum are not supposed to be an evaluation of the sites, we have the directory for that. And please let people give their opinion, just like you gave yours.
  13. He has a strong feeling about the subject, but recognises that this is his opinion and not the absolute truth. Sounds good to me.
  14. I know I'm even surprised that you wrote such a long post. Did I ever tell you that you should keep a regular blog?
  15. Point taken and accepted. Don't think you didn't contribute, because you did. I still don't agree with 99.9% of what you said but it did push some buttons of awareness in the PW team that will surely not be ignored. this doesn't mean things will change, but your concerns will be taken in consideration. Now, lets get back to work!
  16. We are sabotaging your posts Everyone has problems with the forum editor, I keep saying to myself that next time I will write my posts somewhere else and than paste here, but I never do it... But the quotes should work, I never had trouble with them, at least. I'm even afraid to say this, but if you want you can click on the switcher on the top-left corner and write them in bbcode The format of the quotes is: [quote name="argos" post="73697" timestamp="1410883849"] paste quote here [/quote]
  17. If it's not xdebug, then something is imposing that limit on your system. You will have to find where it is and make it higher.
  18. I remember that error had something to do with xdebug. Do you have it activated?
  19. I would give you 50 likes for that sentence if it wasn't for some passive-aggressive details in the rest of the post. I thought of just letting go, since your post seems to put a healthy stop on the discussion, but then, I don't feel like swallowing some things that I do consider unfair. I'm referring to these: I felt that everyone was very honest in their comments in the thread, and most of them (me included) said that they were not coders and had to learn a lot in the way. We also welcomed you and tried to give a friendly push to become better in what you do for living, since you said you're not happy with your knowledge. In general we don't know each other personally in the forum, but we still expect that people are honest, cordial, truthful in their opinions, and I think this forum in extraordinary in that aspect. You didn't do anything wrong in giving your opinions, but in my opinion, you are wrong when being deliberately unfair.
  20. Ok, enough of zorro for me. I was feeling silly with that costume...
  21. By the way, My girlfriend was born in Russia (Siberia, brrrr...) and some time ago she introduced me to Nu Pogodi https://www.youtube.com/watch?v=ko6UEwT9i20
  22. diogo

    I WANT YOUR VOICE!

    Ok, that's our plane! Let's go guys...
  23. Oh, I would also like to know! How did you recognise them anyway? Edit: Ivan, I really didn't see those masks before, that's also a mystery to me
×
×
  • Create New...