Jump to content

Marty Walker

Members
  • Posts

    629
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Marty Walker

  1. I love the work done on the themes Ryan. Will it be possible to set a preference for image fields as to whether we get a list or grid view?
  2. IF this module ends up being is a goer (security implications sorted n'all) would it be possible to have some way in the admin of letting the user copy the short url to that page. I can see where this would come in handy for a site or two.
  3. Thanks teppo. I'll have a read. I can see it's probably a job for a bigger-brained bod than me. Regards Marty
  4. Hi all, Just wondering if anyone has attempted a WordPress to PW migration? Where might one go to seek guidance on such a venture? We're talking about 6 years worth of posts containing many images. Regards Marty
  5. Another vote for submitting this to the modules directory
  6. OK. Thanks for that. So get is being more 'direct' than find?
  7. @diogo. Yes I had a thought to do that. Here it is for anyone else who might need something similar. <?php if($input->urlSegment1) { $name = $sanitizer->pageName($input->urlSegment1); $urlcat = $pages->get("/categories/")->find("name=$name"); echo "<h3>Category: <i>" . $urlcat->first()->title . "</i></h3>"; } ?>
  8. Thanks chaps. It was indeed a page array. Silly me.
  9. Hi, I'm working on a simple products site and I'm using url segments to filter the products by category. There's no problems getting the products that way. What I'm trying to do is get the category title for the url I'm on. eg: /products/19th-century <- urlSegment <?php if($input->urlSegment1) { $urlcat = $pages->get("/categories/")->find("name=$input->urlSegment1"); echo "<h3>Category: <i>" . $urlcat . "</i></h3>"; } ?> So $urlcat gets me the category ID. How would I go about getting the title of the category? I've tried $urlcat->title to no avail. Cheers Marty
  10. Quick question: is there a way to select the children of a particular page?
  11. Thanks for that Adrian. I initially thought that sessions might be a way to go but I'd be most happy and grateful for any code snippets based on cookies. Cheers Marty
  12. Hi all, I might be working on a property website where the client would like their site visitors to be able to save one or more properties to a favourites list. They won't be a logged in user of the site, just a casual visitor. I'm wondering if any of you have done anything along these lines and where one would go to start going about it? Cheers Martyi
  13. It's getting attention because the developer has a loyal following based on their EE add-ons. One read of their license agreement (ie Plugins and Consent to Use of Data) put me off straight away.
  14. Impressive photos Mikael, and a terrific site!
  15. There's a fair percentage of the population up here who are climbers. While I don't count myself as one of them I'm happy to photograph the mad bastards : http://martywalker.com.au/blue-mountains/blackheath/climber/
  16. Hi Adrian, With your latest version I just get blank pages on my PW 2.3.0 install when I try to export anything. My server PHP version is 5.3.25. Perhaps I need a recent dev version? There's something up with my install there I think. Tried it locally and it works perfectly. This will be a huge time saver Mr Jones. Thank you.
  17. I imported the US States json file perfectly. I just can't seem to export. Perhaps it's my server setup. I'll give it a go locally at some point.
  18. Happy to test this out. I'll let you know how I get on.
  19. Yeah I followed the steps. I chose a top level page with a few children then Structure only and Save. I tried all options actually and I only got an empty file. Exciting is an understatement...
  20. Perhaps it's my PW version (2.3) but all I get in the json.json file is [ ]. What's does Save &/or Copy do?
  21. Adrian I don't really have any more thoughts to add. A structure-only option sounds great. I can see this module being used in conjunction with the ImportPagesCSV and Wanze's Batcher a fair bit. Cheers Marty
  22. My mind works in mysterious ways Not every site I build is the same, there are always subtle differences. For things like blogs and galleries being able to export a basic page heirarchy (& fieldset) and recreate it on a new site build would be a huge, huge time saver.
  23. So theoretically I could have one parent and one child page with all my fields setup, export it, and and then use this to import a field setup?
×
×
  • Create New...