Jump to content

elabx

Members
  • Posts

    1,479
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by elabx

  1. If you know how to put a HTML website with their scripts and css files running, you are already on your way. Processwire content gets called through the API and you can basically put it anywhere you want. I have built a lot of "basic" websites in a better way than I could have imagined with other CMSs (or on my own for what matters!). If you'd like to see some stuff built into the basic level, I would gladly show you.
  2. What I commonly do: You have to import the .sql file data into a new database, you can do this through phpMyAdmin. Copy the Processwire backup files into your public_html (don't forget the sneaky .htaccess in the PW installation root, it is commonly hidden), and edit site/config.php and edit your database data: $config->dbHost = 'localhost'; $config->dbName = 'dbname'; $config->dbUser = 'dbuser'; $config->dbPass = 'verydifficultpassword'; $config->dbPort = '3306'; If everything goes ok, it should work!
  3. Relevant thread: https://processwire.com/talk/topic/132-redirect-after-login/
  4. The trick that works most of the time is the security issue, a little googling and evidence shows itself in blog posts all around the web. I rarely have tech wise clients, though some of the few who actually DO know a bit about web technology and are on the Wordpress hype train, I take out this weapon: "Did you know Wordpress in in fact a blogging software?? Then, let's think again, do you think your website is a blog?" It's like using confusion on a Pokemon. The train of thought is that they are using the wrong tool for their problem and that actually stops people to think, what do I want from my website??. I then go with the "more professional, custom solution called Processwire" pitch. Also, very important, I talk about how costly can Wordpress become if you want to start customizing content management and display, unsafe plugins, and the safe ones that mean extra costs, maintenance for Wordpress updates, etc. With PW, you get what you need, solid cost effective solution. Though, the smarter ones will say: Hey, everyone is using it!! What's the deal with you weirdo!! After that, I'm left with my last weapon which is walk away!! And impressively, that one actually sometimes work! It's like, after showing them that the way to Wordpress goes through Mordor, they start feeling the fear and come back. ps. I'm really liking the LOTR metaphors.
  5. Really nice!! I had to read it a few times to fully understand, so honest thanks here! Gracias!
  6. Totally forgot about array_values()! That worked!! Though I wonder if I'm doing something wrong or my dev environment has something funky going on. Thank you both guys!
  7. I tried your suggestion in this way: $s = $page->logos->getArray(); foreach($s as $index => $item) { echo "$index: $item<br />"; } It still gives the same result
  8. I'm sorry to bring this up from so long time ago, but I'm pulling my hair with this. I'm having the problem mindplay had initially, I can't seem to access the $key value of the items in an array of images, it just returns the name of the image. In this case, logos is an image field containing images, which to my understanding is also a WireArray. I tried what Ryan suggested: foreach( $page->logos as $index => $item) {echo "$index: $item<br />";}But I get this: client3.png: client3.png client4.png: client4.png client2.png: client2.png client6.png: client6.png client1.png: client1.png client5.png: client5.png client8.png: client8.png client7.png: client7.png I'm using PHP 5.6.7 in a MAMP installation on OS X 10.11.1 and latest Processwire 2.7
  9. RT @MacAffinity: #AffinityPhoto is Apple’s Best Mac App 2015! The future of #photoediting now with 20% off! https://t.co/zmgSlOA4sy https:/…

  10. Oh that's awesome BitPoet! I also guessed it wouldn't be rocket science, Ryan already answered on the GitHub issue too and apparently it is planned to be integrated later.
  11. Thanks! I will surely try! EDIT: Oh wow, Soma build a Fancybox based module that does just what I was imagining.
  12. I bring this up from the ashes, I am still getting this behaviour. I opened the Github issue, I just hope this thing doesn't feel like nitpicking, but I think it's worth asking.
  13. Is there a possibility that the actual admin works like FEEL? Click on the edit in a page in the tree and opens page fields inside a modal?
  14. Does Deployer need a production server with SSH to work?? Or could I write a task with the PHP ftp class?? And the same for a database dump, then upload and replace data??
  15. elabx

    Macaw

    Nice review lol! I had to take care of a website done in Edge Animate a few months ago, oh lord was that painful thing to hack inside the horrible code editor. Having to go under a few clicks to add classes or and ID is already too much loss of time, Macaw looks a lot more easy to use from the video tutorials. What dislike the most about this type of software is that you might be doing good with the features up to a certain point where you want to start doing some fancy customization, and BANG! guess what, this thing is not build to work well outside their "Design -> Build" pipeline, so you find yourself jumping between programs, and getting frustrated because you can't make changes to the final code build, because if you change something on the design software side, it's gonna overwrite whatever you hacked in the final code. (At least this was my experience with Adobe Edge) Though, for example, if Macaw handles responsiveness good enough, I could be using it for small to medium clients with simple websites that focus a lot more on static content, optimization is not critical and saving me a few hours of coding is nice enough and truth be told, working with Processwire makes building this simple websites a breeze. Now, if I could just plug this Macaw thing to the PW API to automagically create templates, fields...
  16. I'm thinking of introducing Processwire on the local PHP Meetup
  17. Really nice site!! And fast! I also noticed the same as Rick about the content columns.
  18. What has happened to me is that photos that como straight from a camera, specially a DSRL, sometimes have Pro Photo RGB or some kind of fancy color profile that when viewed in browser, it tends to look desaturated. You could check this by opening you photos in Photoshop and check for the color profile.
  19. Thanks Christophe! I finally managed to solve the dark theme problem, it as a missing "echo" so, if one of the data attributes that facebook uses for displaying their comments plugin is declared but not assigned, apparently the thing broke. I just spent a lot of time tweaking facebook stuff, meta tags all around, debugging with their tools, etc. I'll move on to improving the select boxes. Also added credit for Processwire
  20. In what type of field are you saving the table fields you want to use as classes? My guess is your example already considers that the spreadsheet data is already imported, so you can use IF statements to check each fields value. For example in case they are text fields: $content = "<a href='{$item->url} class='"; if($page->real == "yes"){ $content .= $page-> $page->classValue; } if($page->interactive == "yes"){ //etc, etc } $content .= "'>"; // add more stuff echo $content;
  21. Definitely gonna try the select boxes style tweak, thanks for the heads up! The facebook dark color scheme doesn't seem to be working for me, supposedly it should work with adding a data attribute to the element where the comments will be added, I'll keep on looking for a solution.
  22. http://losrenegadoscomic.com/comic/capitulo-1/cover/ A comic website made for a friend, I tried to make it work like manga sites (like this or this) I don't really know if this is "nice" enough to put in Showcase but it was really really fun to do, and I did it like in 5 hours which just seemed like record time for my noob standards (and I got stuck learning how to check NullPage, but totally worth it). The comic is on going so my friend will be updating. He learned the admin like it wasn't even there : ) I used the fantastic Jumplinks for simple redirection from root to the first chapter subpage and MarkupSocialShareButton for the nice sharing buttons below the comic pages, thanks to the respective authors, you people are great. This is my first time actually building something more complex than the average "hello we are __insertcompany___" site so I am quite feeling the hype. Improvements I think would be nice: "show larger image" button for page spreads. a kind of thing that remembers where you left of if you have already visited the site, I can sometimes forget where I left off, maybe a cookie? Would it be worth it to build something like this into a module?? Like, somewhere you can create volumes, books (or how you want to call it) and then add subdivision in the same fashion as previously, until you reach a type of data that is a list of pages that represent the images. Am I being delusional and thinking the wrong way about a module solving a big task like a comic book manager? Jus when reading again my idea it sounded kind of "Wordpressy way of plugins" Any opinion is appreciated as this is totally on-going and a kind of "for fun" project.
  23. Como cortan así Light Years :S #Beta909

  24. Use my Uber promo code, eduardos154, and get MEX$150 off your first Uber ride. Redeem it at https://t.co/vH4wmmmsMf

×
×
  • Create New...