Search the Community

Showing results for tags 'help'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Found 15 results

  1. Hello, I recently started making a blog using Processwire and since i'm completely new, I struggle with a few things. I'm trying to make a comment section in my blog post, so I followed the tutorial and pasted the two code lines in my template. 18 echo $page->comments->render(); 19 echo $page->comments->renderForm(); but now I have this error on my page : Error: Call to a member function render() on null (line 18 of C:\wamp64\www\processwire\site\assets\cache\FileCompiler\site\templates\Post.php) Am I missing something? Thanks for your help.
  2. Hi im new to this forum and i need some help with a booking system that i have trying to implement under Processwire. I hope that i can explain as much as i can what my problem is. Here is the orginal script https://github.com/olejon/phpmyreservation I downloaded the script and got some help to fix it because it was all messed up. I have attached a file "ReservationSystem.rar" and it should work out of the box. Also attached the database file "Phpmyreservation.sql". The thing is the script works great as it is now but when i install a blank version of processwire and import the script to the template folder it wont work. I have tried many things but cant get it to work just error after error etc. Please ask me if you need some more information about this. I know you are the experts so thats why im asking you. ReservationSystem.rar phpmyreservation.sql
  3. Hi, I'm brand new to ProcessWire and I found it when searching for a CMS to create my web site. The reason I'm interested is because I want to create a site which is exactly like the Skyscrapers demo site, but with different content obviously. I like how the site is formatted and the search options box, the summary list and detail pages, and the map. What is the quickest and easiest way of setting up a page like this with my own variables, enter my own records and have it formatted just like that demo page with the menu options, sorting and search options? I've had a look at the Tutorials page, but I can't see anything this specific. Thanks for your time & help!
  4. Hello, I am truly stuck. I have a website I built for a client that has become quite successful: http://drydenwire.com It is an independent news agency. The problem is, I built everything from scratch in Processwire and things were purring along until the traffic went up. Now, I keep getting these huge spikes which last about 15 seconds and cause all users to receive a 503 Error. I have created a public repo for review: https://github.com/scramlo/DrydenWire.com/tree/master and can answer any questions that may lead to an answer. I am willing to hire a more experienced developer if the community is unable to help me mine out this issue. I have gone through the usage logs and know that all traffic is legitimate, I am not getting bombarded by a spam IP address or anything like that. Thank you for any and all assistance as this client is getting frustrated and I would rather not lose them!!! -Brian
  5. Hey y'all! I've been digging through the forums trying to find a workaround for the Page AutoComplete Field. So far, no luck. Here's the problem: Currently, to use the Page AutoComplete Field, you have to define a single parent for the pages you want to select from. I want to use the AutoComplete field to add multiple pages from different parents. For instance, I have a field for location, and I want to add the MET Museum and The Louvre, but the MET has parent USA, and the Louvre has parent France. Currently, it's very labor intensive to scroll through a list of 300+ locations, or use AsmSelect to drill down. AutoComplete would be a godsend. I've not been able to find any way to workaround this issue, any ideas? Thanks for any help or recommendations! — Reed
  6. SQLSTATE[HY000] [1045] Access denied for user 'fubar'@'localhost' (using password: YES) Created the DB. Checked, repaired, flushed, deleted and let the system create it and continue to receive above error. I do not understand a 3 letter password error when the password criteria is a minimum of 5 letters and this error refuses to "go away"
  7. I am new to PW and have a client who use it for their website. I am trying to figure out where do I place the GA code and Ad Roll code in PW? Any help would be appreciated. Thanks, John
  8. Hello, how would one integrate SOAP service/client into the admin section of ProcessWire site? I would really appreciate some hints. Thank you.
  9. Hello I'm totaly new to PW and for now I find it very understanding, all but navigations. I tried to find some videos or tutorials explaining about this but noting helpfull comes up. I read i most of the tutorials on the forum that I could find but stil cant find the right answer. I'm making my first template and need your help on how do I create a menu like this in WP. I'm not a coder ... but understand a little. <ul class="nav navbar-nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Home <i class="fa fa-angle-down"></i></a> <ul class="dropdown-menu"> <li><a href="index-1.html">Masonry</a></li> <li><a href="index-3.html">Masonry v1</a></li> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Pages <i class="fa fa-angle-down"></i></a> <ul class="dropdown-menu"> <li><a href="about-us.html">About Us</a></li> <li><a href="services.html">Services</a></li> </ul> </li> </ul> right now I'm here but it's not working right. <ul class="nav navbar-nav"> <?php $root = $pages->get("/"); function visit(Page $parent, $enter, $exit=null) { foreach ($parent->children() as $child) { call_user_func($enter, $child); if ($child->numChildren > 0) { visit($child, $enter, $exit); } if ($exit) { call_user_func($exit, $child); } } } visit( $pages->get(1) , function(Page $page) { echo '<li class="dropdown"><a href="' . $page->url . '" class="dropdown-toggle" data-toggle="dropdown">' . $page->title; if ($page->numChildren > 0) { echo '<ul class="dropdown-menu"> <li><a href="$page->url"></li> '; } else { echo '</a>'; } } , function(Page $page) { echo '</li>'; if ($page->numChildren > 0) { echo '</ul>'; } } ); ?> And I want my HOME page also to be shown. Any ideas? Thank you in advance R.
  10. So I'm outputting an image field array, I believe this is known as WireArray (bare with me, I only started developing for ProcessWire Yesterday). The cheatsheet has to be one of the best things ever! Not only does it show how simple ProcessWire is and how well crafted the API is, kudos to whoever came up with the cheatsheet. One thing I would like to see is example usages when you click more because at the moment, more doesn't really tell you anything more. I can tell it's inspired by jQuery's API documentation so I have no doubt this will be coming. So, moving on to the problem I'm having, looking at the cheatsheet $a->shift() will remove the first item for the array and then return it. So I have $gallery = $page->gallery; // A multi-upload image field $featured = $gallery->first()->size(800,550)->url; // Works fine $slider = $gallery->shift() // Doesn't work $slider = $gallery->pop() // Doesn't work $footer = $gallery->last()->size(800,1100)->url; // Works fine So my page layout goes like this: ___________ |__________ | <-- $featured // First Image | | | $slider // Image Gallery --> | | | <-- $page->content // Body Content Field |_____|____ | |__________| <-- $footer // Footer Image I have no idea if that example helps, but for usability that's how I want the gallery to work, so the user can just drag all their images in at once, move the featured to the front and the footer to the back. However $gallery->shift() returns nothing and $gallery->pop() returns nothing. $gallery->slice(1) get's rid of the first one in that array but I want to get rid of the first and last. Thanks, Tom
  11. Hello to all of you, has anybody suffered from following: I do something like that: $nr = $page; $nr->of(false); $nr->foo= $bar; $nr->foo2 = $bar2; $page->save(); $p = new Page(); $p->of(false); $p->template = 'foobar'; $p->parent = $pages->get('/bar/'); $p->title = $bar; $page->save(); then populate some more fields and again $page->save(); Everything is working fine and my created confirm save message pops up....the page is saved, but there are 3 outputs giving me $page->title after saving on the frontend. It has something to do with the save method, because when I leave them out everything is working just as designed... Hopefully somebody has advice! Regards
  12. Hey folks, I'm looking to implement the Google Maps Store Locator library to create a "Find Locations Near You" page for my site. I'm using the MapMarker fieldtype to create my locations, but I'm not sure how to connect my location data to the storeLocator.DataFeed The examples provided for the Store locator fetch data from static CSV files or web services. Any thoughts on how to hook things up? Thanks so much!
  13. Hello All, I have an issue editing certain pages with specific templates. I noticed this issue after migrating from MAMP to a production server. Not sure if there's a relation there but just had to mention it. 'Error: Call to undefined method DirectoryIterator::getExtension() (line 104 of /var/www/vhosts/.../httpdocs/wire/core/Pageimages.php) This error message was shown because you are logged in as a Superuser. Error has been logged.' When line 104 in Pageimages.php is commented out i'm able to edit the pages successfully. Any help or information will be appreciated. PW Version 2.5.25 DEV
  14. Hey Everyone! right I'm nearing the end of development on this photography agencies site and I was wondering if anyone could have a quick look for bugs etc. http://nicegrp.co.uk/dev/hs/ It's not quite finished so there may be obvious stuff, also there's ALOT, going on in the front end, for example: - pages are cached client side (to prevent unnecessary ajax requests for seen pages) - Ajax page requests & pushstate - pdf module for gallery pages - slideshow animations - add image to your custom gallery - alot of menu logic - responsive - lazy loading images on gallery pages Let me know what you think. Thanks
  15. G'day everyone I'm new to ProcessWire - hoping someone could help me out?? I've installed ProcessWire in my root (public_html) directory & all is good - I really like this CMS. Very happy I stumbled across it! Thank you! This processwire site is accessible from my main domain (www.example.com) - No problem. However... I also own another domain name which I want to use for an entirely seperate website, but hosted on the same server account. Now, I've done this before with basic web pages with no hassles. But, with ProcessWire already installed - I'm having issues? In my cPanel admin area I create an Add-On Domain (www.secondwebsite.com). This creates a new folder in the root e.g. public_html/secondwebsite.com, and also creates the subdomain secondwebsite.example.com (which I'll deal with later). So, I place a Hello World index.html file within the new public_html/secondwebsite.com folder - This is to be the front page of my second website (entirely seperate from the ProcessWire site). When I type www.secondwebsite.com in my web browser, it is supposed to load that index.html file... Instead, I am greeted with a 403 Forbidden Error: Spewing. I did a bit of Googling to try and find a solution and found this thread which seems to have the answer, but I just can't figure out how to apply it to ProcessWire? I applied the fix they suggest in that thread by adding: To the start of the .htaccess file in my public_html folder. No luck. I tried placing it in different areas of the file, such as after the ReWriteEngine on line... Still no luck. Now, I've verified that it is the ProcessWire .htaccess file which is causing the issue, as I renamed the file, and I was instantly able to access my Add-On Domain from www.secondwebsite.com Could someone PLEASE help me out with this issue? I really don't have much experience with .htaccess files. If I can't resolve this it messes up my website plans for using ProcessWire Any help is greatly appreciated, thanks. Nick