Jump to content

alxndre

Members
  • Posts

    155
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by alxndre

  1. I'm don't understand a single Finnish word, but I really dig Loituma and their album Things of Beauty. But most of the time, I'm checking out mixes at 8track, and music recommendations from last.fm. This week, it's all about Stephen Malkmus and the Jicks, and Neutral Milk hotel.
  2. Whenever I'm stumped on a particular piece of code, I usually end up having a nightmare/eureka moment with them in my dreams. It's either I get stuck in a loop, or when I'm lucky, I get an idea about the solution. Particularly in college, I remember being chased by a transmuting binary snake while I was working on an experimental improvement on the Lempel-Ziv algorithm! It took me days to solve the problem and each night the snake would eat me whole in my dream.
  3. Hello everyone! I'm about to start a project, but before I do, I'd like to ask you about a particular problem I might face later on. I mean, building the site would be a breeze using processwire, for sure. So I'm putting it off for a bit to learn more about managing user accounts. We're expecting to have thousands of users, all generated by an admin. No user signups. Every account would have to be generated with usernames and passwords. When the users log in, they'll be able to see a couple of pages that only users could see. Although, each user would have a single category or group that determines what pages they can see. It's pretty standard, except for the part that I think it would be such a chore to manage all those accounts. So I'm looking for suggestions on how to manage users, probably generate them from a list or a csv or something, and automate categories and permissions. I'm willing to create a module for this, if the need says so. But if there's an easier way you guys can think of, all help is appreciated. Meanwhile, I'll be lurking around the forums as usual to look for brilliant ideas from previous post! Thanks! And if I may say so, I love how processwire seems to be on fire the past weeks! Alex
  4. Hi.. Is there a way to create multiple templates for forms? I mean, separate template for each form. Please point me to the right direction. As always, any help is greatly appreciated. Edit: I don't know why I didn't realize right away that when ryan said email "template" it meant a template with most of the api vars in it. When I got around it, it was just a matter of identifying the form name to design a layout for each of the forms.
  5. Just wanna thank Soma for this. Been searching for selector for page references for an hour. This solved my problem.
  6. I'm excited! It feels like processwire is preparing for something big (2.3?)! I too miss the old "Build bigger, stronger, faster, easier." tagline too. That's exactly what brought me to processwire. In fact I just made an adhoc photo gallery last night, in about 30 mins it's done! I couldn't have done it using anything else. "Reaching the sky" is a bit vague and presumptuous. But if you think it works, then sure. Can't wait to see what else is up, and i think we're all up for a treat!
  7. Sorry I wasn't clear in my description. I was in the Edit Field > Field Type Details view where you add the fields for the repeater. So there are three fields on this repeater. If I try to delete all of them at once and press save, it will say that the repeater has been saved but all the fields will still be there. If I only delete 1, it will be deleted. The problem seems to be that it doesn't commit the changes when no field is left in the repeater. If there is only 1 field and I try to delete it, it can't be done. As I've said, it doesn't break functionality, but it's just feels weird when I'm testing or redesigning a repeater. I try to delete all the fields but but they're still there.
  8. I've found a little bug in repeaters when deleting fields within it. Whenever I delete the fields such that no fields are left, it says that the repeater is saved, but no actual fields are removed. For example, if there is only 1 field left in it, I would not be able to delete that field. But if I delete it and add another one at the same time, the changes will commit. It basically just doesn't want the repeater to have zero fields. Is this by design? It's easy to get around, but it's just bugs me.
  9. This is also what I do. I always upload a compressed processwire folder, either zip or tar, and uncompress on the server. Takes no longer than a minute. If I don't do this, it takes forever.
  10. I tried installing wordpress on the server and everything seems fine... Edit: NVM. I found the answer buried in the forums.
  11. I've got a new install of processwire. Installation went fine. But then something strange happened, only the home page displays fine. Everything else does not load and throws a 404 exception, even the admin page /processwire/ does not show up. What could be causing this? Thanks.
  12. Hello, good citizens of Processwire-land! Does anybody here have a good experience with Django-Python development? I don't have a deep experience with it beyond simple pages and forms. Now I have a client that want's to have something developed in Django, and I think it will require a lot of work. How would you compare working with Django with working with ProcessWire? If it's possible I'd like to convince her to use processwire instead, but she seems set. Thank you!
  13. I'd do it like this. Add this after assigning value for $class. $class = $child === $children->children->last() ? $class . " last" : $class; I'm sure there's a better way to do this, but im on my phone. You get the idea. Also, you might want to check your code as I think it only displays your first level navs. But that's ok if that's what you're going for. Have fun with pw!
  14. Btw, what fonts are used on the processwire logo?
  15. I'd definitely buy processwire merchandise. And maybe ryan could set up a store with these items to help him with the costs.
  16. Sorry, I haven't been reading lately, but is there an ETA on file upload feature? I've been itching to try this module but I need this feature and it would be awesome if it has that already. - Been reading. Sorry for the repeated question. XD
  17. Hi everyone, I have a question. I'm not legal savvy, so I need a straight answer from someone who knows. I'm currently creating an admin theme for a web application on top of processwire. The thing is, the theme will come from a commercial template for which I bought a developer license. The license states I can do with it whatever I want, sell it, use it multiple times in many projects, wreck it, whatever. The question now is, when I'm done creating the template, could I release it to the public legally? Or would I be the only one able to use it? I hope you guys are having a great day. Thanks.
  18. I got tired jumping through hoops using WordPress and Joomla and started looking for an easier solution. I searched for about a week, testing CMSes that I've never used before. I first looked at Concrete5, and then someone at Concrete5 forum swore allegiance to ExpressionEngine, so I searched for it and found it was a paid subscriiption, so I turned to MODx as an OpenSource alternative. It was decent, and I thought that it might work, but then I ran into a problem, and while searching for a solution, I read someone bragging about ProcessWire, and how easy it was and how it was the simplest most, most powerful CMS he's ever used, and I thought, hey that's exactly what I want. Within an hour, I had the basic install running on my wamp stack. 5weeks later, I have 2 sites running perfectly, and 3 on the way. I'm never using any other CMS again if I can help it! Thank you Ryan, and thank you ProcessWire community!
  19. Thanks guys! I started using thomas' suggestion when I read it, and it works great. It's not perfect but at least most of it is properly aligned. I guess I have to let it go and stop worrying about indentation. Although sometimes, I really have to, because I teach part-time and I want the students to be able to read my examples easily. And yes, I'm introducing processwire to my students, instead of joomla and drupal which other schools usually use to teach cms. So there's hope that future web developers would be using processwire more and more! Thanks again!
  20. We're using an approach similar to soma's in a hotel management system where we're listing Rooms per price range. Home - Rooms -- Standard Room -- Fancy Room -- Family Room -- Junior Suite - Browse by Price Range -- Less than $100 --- Standard Room --- Fancy Room -- $100 to $200 --- Family Room We created a hidden page called Price Range, and beneath it pages for corresponding price ranges. And then for the template of the rooms we added a single selection page reference for its price range. Although, like soma, we had to add additional php handling to display the navigation bar correctly for Browse per Price Range, based on the page reference of the rooms. I'd post some code later if I'm free. Enjoy your weekend, people!
  21. I figured as much. I just thought you guys we're using an easier technique because most sources I've seen around are perfectly indented. Thanks! I'm new to processwire, barely 3weeks, and yet I've already used it for two websites. The only thing I love more than how powerful this CMS is, is how helpful and friendly the community is. I'll be sticking around for sure, and try to help whenever I can!
  22. I have a very stupid question. I've been reading the source of the demo, and the source of some websites done with processwire, and i've noticed that all the html tags in their work are still properly formatted and indented even after using echo to write them. For example, a snippet of their navigation would look like: <nav id="navigation" class="ten columns alpha"> <ul class="nav group"> <li><a href="#">Home</a></li> <li><a href="#">Accomodations</a> <ul> <li><a href="#">Standard Room</a></li> <li><a href="#">Deluxe Room</a></li> </ul> </li> </ul> </nav> properly indented. Whereas mine would look like <nav id="navigation" class="ten columns alpha"> <ul class="nav group"> <li><a href="#">Home</a></li> <li><a href="#l">Accomodations</a> <ul> <li><a href="#">Standard Room</a></li> <li><a href="#">Deluxe Room</a></li> </ul> </li> </ul> </nav> all flushed to the left, which is very hard to read. How do you guys do it? Thanks.
×
×
  • Create New...