Jump to content

n0sleeves

Members
  • Posts

    82
  • Joined

  • Last visited

Everything posted by n0sleeves

  1. n0sleeves

    learning php

    I too am learning PHP with my passion for PW growing ever more each day. I have used all the references listed above as well as currently taking the Codecademy course as we speak. I have to say, the Codecademy bugs are driving me crazy!! The resource I use the most though is http://safaribooksonline.com/ . I pay only $9 a month and can have up to 5 books per month in the allowed slot. Their website says $19 for up to 10 books but there is a reduced rate if you dig. I find it invaluable especially for the price. They not only have butt-loads of PHP books but also pretty much every web dev, design, programming topic. I too second https://phpacademy.org/ .It is an excellent free resource (video based). I have watched every video on that site and even donated because that's how good it is. I am not a fan of videos but the way that guy explains things is worth watching. Good luck and stick with it. I have read, re-read and studied but always seem to never "get" it. The best advice I ever read was to just jump in. Seriously, you can study all you want but without having something to practice with, it's 1 dimensional. WIth PW being PHP based, and me wanting to learn PHP, it's a perfect combo. Like one of those combos you get with the extra fries at the bottom of the bag
  2. Tell me about it. I've been so scared to upgrade plugins and wordpress itself due to the fear of something "breaking". And like you said, the learning experience is worth it alone. As long as PW stays on this track, I may never look back!
  3. A past client of mine which I did a wordpress site for a couple years back is now having issues with their site layout. It's been forever since I dived into wordpress and after playing with PW for a little over a couple months, I really don't even want to attempt trying to fix the wordpress issue. In fact, I thought I eliminated every possible way an issue could come up for them :/ Anyway, I think to myself, "I can convert this entire wordpress site over to PW in a day or two and actually save myself a headache from the wordpress template forest!! Food for thought, even though I tried to make it as user friendly as possible and wrote a user guide, it seems they have never uploaded any photos, videos, or anything of the sort. It's a shame really, and I think it had a lot to do with how Wordpress is still unfriendly to some really non-technical clients. So, I am looking forward to blowing their minds when I show them the beauty of Processwire My rant...
  4. It's working great! It was an error on my part My apologies
  5. I have that set. Is there anything else I need to set? Wow, that was fast! You are amazing! Unfortunetly, it's still throwing the same error to me as before, "The page you were looking for is not found.Please use our search engine or navigation above to find the page.". Here is my php code below in case I'm missing something. $treeMenu = $modules->get("MarkupSimpleNavigation"); $rootPage = $pages->get("/photos/"); echo $treeMenu->render( array( 'collapsed' => true, 'item_tpl' => '<a href="{redirect_page|url}">{title}</a>' ), null, $rootPage); Thanks so much!
  6. I tried this but all I am getting is a "page you were looking for is not found" error. The URL is not displaying the redirected page URL. I'm probably doing something wrong since I am still very new to all this. Great, great module btw!! Thanks for making!
  7. Thank you for the reply. I have it working now since you pointed out my flaws. Still curious about how to reference another file. This is the code that takes the visitor to the thank you page (in bold red) if ($mailSent) { header('Location: http://www.site.com/thank_you.php'); exit; How do I reference the thank_you.php file using processwire's api method? Where do I place the actual file also? I'm guessing it's something like below? How do I reference others directors/levels since the code already ataches a forward slash? Am I off base? I can't seem to get my brain to think. Thank you for your help $config->urls->root->assets->foldername
  8. I'm trying to understand url paths a bit better. I'm still a newbie to this so please forgive. In the api docs, it says that $config->urls->root will take you to your site homepage, Well, for me, goes to the same page I am already on, not my home. Example is easiest so see here: site. The logo is supposed to go home. Does $config->urls->root take you to the site folder? Also, I am trying to understand file locations. I am so used to developing sites in the traditonal sense, not using the method detailed in the api. Maybe I just learn better from examples and I need more of them. I want to send visitors to a thank you page after form submit. How do I reference the file and where do I place the file on the server? In the site folder? I don't need the thank you page to be a template or do I? Thank you
  9. THanks guys. I got it to work by follwing your suggestions. Appreciate the help!
  10. I'm showing write on my permissions and I am logged in as admin on my Win7 local development desktop. It's still not working. I am not sure of any other way to do this.
  11. This is all on a local enviroment. I did a fresh install of PW and imported my old database. I changed the site/config to match new database name and I can see the site is functioning and looking correctly. However, I can not log into the admin even though my username and pass are correct in the config file. I'm stumped! Any ideas? Thank you so much,
  12. I must not have done something correctly. I have the Modules Manger installed and it's showing a list of all the modules. however every time I go to download one, I get this error: "File could not be downloaded.There seems to be a problem with downloading or writing the module." What do I need to do? Thanks!
  13. Joss, YES!!! THANK YOU!! That worked! It's confusing to me why "->url" would come AFTER the image and not before as in: "url->col1Image". Can you explain the logic there how it works? Just checked out the array example. Thank you for that. That too is something I would prob. have asked in the future.
  14. Hi all. Very new to ProcessWire. I am excited about learning it and am currently trying to switch over a MODX site at this very moment. I am reading the API docs and as much of the forum as possible, however I am lost I have an image fieldtype named, "col1Image". I uploaded a photo and now want to display on the site. This is how I referenced it: <img src="<?php echo $page->col1Image; ?>"> However, I know that only is displaying the image/file name and I need to reference the complete path to it. Can you help a newbie out on this one please? I can't seem to find a clear answer. Also, even though I've read the docs numerous times, in regards to paths and urls, I'm still not "getting it". Is there another reference/guide/forum post that's explains things even simpler? For me to not be able to figure out how to reference an image source's path is pretty humiliating I have managed to reference my stylesheet and some hardcoded images, but that's about it. Thank you so much everyone.
  15. I never thought another CMS could pull me away from MODX so quickly as ProcessWire has, and that's just from READING about ProcessWire!!

×
×
  • Create New...