Jump to content

hezmann

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by hezmann

  1. I know this is from a while ago but I just wanted to say Thanks! @hellomoto. That little snippet just saved me a ton of time and frustration!!
  2. Thanks @Macrura! I'll give i a go tomorrow. I have Admin Custom Fields already and have been meaning to checkout AdminOnSteroids so this is a great incentive.
  3. Is there any way to have a URL be clickable in the admin? Or even a link icon next to the input field for a URL? Thanks! Heather
  4. FYI - I tried it in a ProFields Multiplier and it doesn't work there either.
  5. Thanks @kongondo! That worked with one small change. Line 2 needed to be.. $process = $this->wire('process'); Heather
  6. I'm getting a strange glitch with this. I'm on PW 3.0.9. If I put my code directly into the field it works fine, but if I try to use an external file using return ProcessWire\wireRenderFile('runtime.php'); the page is always returned as page id 10, not the the page I'm on. Not tragic as I can put the code directly in the field but would be better to have it external if possible. Thanks! Heather
  7. Hey @Robin S - I thought since I've been mucking about with a lot of modules and code I would do a clean install and see what happened. I did a 100% clean install on a site that has literally never had anything on it (I owned the domain but have never used it). Only added one field for images with one template. Created a page and got this error: I'll send you a message with login details to the new site. Thanks!
  8. Looks like the same error.
  9. I've tried several URL's from various places - all get the same error I get it with every URL so yes, reproducable. I have not been able to save any images this way. Saving the image and then uploading works fine. Not inside a repeater or anything special, just a normal Images field Full Error: Source Code
  10. thanks @kongondo - I think I need to approach this in a different way. Still trying to wrap my head around the best way to accomplish things in ProcessWire. Blessing and curse I guess with there being so many different strategies to accomplish the goal!
  11. I'm getting an error on this... Error: Uncaught TypeError: Argument 1 passed to ProcessWire\Pageimage::__construct() must be an instance of ProcessWire\Pagefiles, null given, called in /home/walking/public_html/site/modules/AddImageUrls/AddImageUrls.module on line 152 and defined in /home/walking/public_html/wire/core/Pageimage.php:109
  12. I have the following page structure Continents Countries Regions I then have pages "walks" which has a multi-select Page Reference field Regions (I've tried using dynamic fields for this but it wasn't accomplishing what I needed) which has the regions listed by country and then the region (continent is more for searching later on so doesn't need to be seen here). I'm trying to get a count of firstly all the walks within a continent, then country, then region but can't seem to figure out the selector for this. Thanks, Heather
  13. I tried putting it in a repeater. It get's the Continents but then just has the spinning wheel for the other drop downs and doesn't get any values.
  14. Thanks @horst. Those are some excellent starting points.
  15. Oh - except that doesn't let me select multiples which I definitely need.
  16. I'm more cataloging long distance hikes around the world. Some are only in one region - ie King Ludwig's Way which is in Bavaria, some are much longer and pass through multiple countries/regions - ie any of the GR routes. I was able to get the select working using The information is being stored in the database as seen here... But for some strange reason I can't filter it with Lister...
  17. I actually have a page Bavaria with a parent Germany with a parent Europe. Can it work like that? Thanks.
  18. I couldn't see in the docs for Lister Pro (haven't purchased it yet) how it handles multi-values. There seems to be options - but the docs aren't clear what they are. Do you know? Thanks @horst
  19. The reason is to be able to find walks easily in the admin. It would naturally work better to have them listed under each region - but as children can't have multiple parents, and the walks sometimes span regions that creates a problem. Have been looking at lister and the Lister Pro module. Good idea! Thanks. Any idea how I would edit the tree itself? From searching the forums seems like a module that can show pages in a different way in the tree could be useful. H.
  20. Hi @kongondo, Thanks for getting back to me. I figured out (duh!) that I actually needed to create the regions field to store the information - when I did that it came up in the third data source. However, it's now coming up blank even though there are pages (ie I have Europe->Germany->Bavaria but that's not showing up in the drop-down). So, in answer to your questions.. ProcessWire 3.0.62 regions it is setup now and does work outside DS yes Thanks!
  21. Hi, I have a setup where I have a page structure of continents->countries->regions. I then have walks which can belong to more than one region, using the page reference field. In the admin tree I want the walks to be listed under each region that it goes through. Is this possible? Thanks!
  22. Sorry - got caught up with some other challenges. Thanks @Robin S!! I'll give that a go tomorrow.
  23. I'm just trying to setup my first select and in the third column (continents, countries, regions) regions which should be the value if I put title I get the parent title, and there's no multi-page option as in the example. Thanks.
  24. That worked for me! Thanks @Robin S
×
×
  • Create New...