Jump to content

dab

Members
  • Content Count

    102
  • Joined

  • Last visited

Community Reputation

34 Excellent

About dab

  • Rank
    Sr. Member

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1,876 profile views
  1. @Robin S thank you you are lifesaver - I missed this completely. With the addition to the hook it's working perfectly now!
  2. I noted that you can't add an unpublished page to the list of pages a user can edit. It results in error: "Unpublished page /en/members/test/ is not allowed in field "Pages user may edit". To allow unpublished pages, edit the “editable_pages” field and see the setting on the “Details” tab." I'm not sure where to find this - or if it is applicable as Page Edit Per User is a hook in to the system.
  3. @ryan I love this module, makes it super easy to allow users access to edit their own pages, thank you! I can't find a way to allow users to publish/unpublish their pages.... I added these lines to the module public function init() { $this->addHookAfter('Page::publishable', $this, 'hookPageEditable'); } /** * Page::publishable hook * */ public function hookPagePublishable($event) { if($event->return) return; $event->return = $this->onMyBranch($event->object); } & bingo, an "unpublish" button appears & a user can unpublish thier page. However, if they do, they lose access to it (it disappears from the page tree) & only a superuser (site admin) and republish it. Please can you help with this - page publish/unpublish would make this module just perfect! Many thanks 🙂
  4. Many thanks! Both worked. I had tried with {....} but obviously also needed the double quotes. I was outputting directly to .csv which was clearly not the best way to debug! Thanks again.
  5. Stumped with this....please can anyone help? I'm trying to find pages with a field that matches the search page's parent's title. This works $items = $pages->find('template=items-ordered,supplier=Acme Biscuits'); Not this...(did no find any pages). $items = $pages->find('template=items-ordered,supplier=$page->parent->title'); With thanks 🙂
  6. Are you getting any errors?
  7. Thanks, very good to hear of other's experiences. I looked at Snipcart, but was put off by the fees (2%/ transactions + gateway fees) just made it too expensive. Yes, back end of foxy is ugly & I needed some help with some aspects of the coding, but have found it usable for simple ecommerce projects.
  8. I've used Padloper for two Processwire sites, but not found it suitable for other projects due to only working with Paypal & Stripe payment gateways; neither being the client's gateway of choice. More recently I've used Foxycart; now on 4 ecommerce sites. I've really enjoyed the challenge integrating it into my sites with the help of some amazing Processwire forum members here 🙂 (XML & JSON datafeeds). It's compatible with over 100 payment gateways & the datafeeds can be used for updating stock levels, recording orders on to your Processwire site. I think it's worth a look if your project needs to use a specific payment gateway.
  9. dab

    ecommerce website

    Sorry for the delay getting back. Let me know which bits you need help with & I can post up some code. You can make a start with the Foxy.io code from here: https://docs.foxycart.com/v/2.0/start
  10. dab

    ecommerce website

    Snipcart looks nice (though I've not tried it). I looked at it & the 2% of transactions fees on top of payment gateway fees put me off, plus only a few payment gateways are supported. I've used Foxy.io (Foxy Cart) with ProcessWire on a site & it works really well*. Fees are low (approx £16/month) & loads of payment gateways are supported. I'm happy so post/share code if anyone needs it. *Big thanks go to both @netcarver an @Macrura for helping me with some of the datafeed integrations back to ProcessWire.
  11. I'm having problems adding a second category to check for emails & save to pages no PW errors (or php errors). On "save" no new Email Category is added. Anyone else encountering difficulties? I'm using ProcessEmailToPage v. 1.3.3, PW 3.0.123 & php PHP 7.2. Thanks Nick
  12. I used this to get the access token: https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=https://www.yourdomainhere.co.uk/processwire/module/edit?name=InstagramFeed&response_type=code 1. Replace CLIENT-ID with your own CLIENT-ID code 2. I removed the trailing slash off suggested code on Processwire Module instructions http://page.dev/processwire/module/edit?name=InstagramFeed/ Works OK for me, but I am getting error code "[InstagramFeed]: No user" too, but otherwise feed working OK.
  13. This works beautifully, thanks. & if any users need help on configuring their DNS (to point 2 domains to a single install of PW) on WHM use the >cPanel > Domains > Aliases function to add your extra domains (after enabling on > Server Configuration > Tweak Settings > Domains > "Allow users to park subdomains of the server’s hostname".
  14. @psy, thanks....so sorry...... PushAlert said I had to download the .js files. Apologies for not following the README properly - thanks for being so patient!
  15. @psy, all resolved. Now working beautifully thank you @psy! Make sure, if you recreate your website entry on the PushAlert site you download a FRESH copy of the manifest.json & sw.js (oh dear, I thought I had!). The PushAlert support team were super fast & very friendly if you run in to any problems. Thank you PushAlert.
×
×
  • Create New...