Jump to content

Marty Walker

Members
  • Posts

    631
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Marty Walker

  1. I've been inlining media queries in my LESS files (I haven't gotten around to using SASS yet, and because of AIOM) for a while now. As you say the CSS is a mess but I'm OK with that. I usually have a variable at the top of my LESS file: @mobile: ~"handheld, only screen and (max-width: 767px)"; When I need to use it: foo { margin-bottom: 3rem; @media @mobile { margin-bottom: 20rem; } } If I find myself needing more breakpoints I just add a variable with a different max-width.
  2. Hi, I haven't touched the settings for my CKEditor field at all so why would I not be able to see the full menu bar? Running 2.5.7. Edit: worked it out. Looks like the settings were incomplete.
  3. Odd. If I remove that "artist_membership_level" from my template I can edit the page. Add it back in and I get the error again. Delete that field and recreate it again and all is well. Really odd. Perhaps it's something to do with the way Migrator is importing the fields - not that I would know about such things.
  4. No nothing like that. I've been mucking about with Migrator (and I've since uninstalled it) so perhaps that's what causing some issues. Apart from that the only other modules I have installed are ListerPro.
  5. The only one I've got with a similar name is "artist_membership_level" and it's a Page field.
  6. I'm in the admin actually. I haven't even begun writing any template code.
  7. Hello, Unknown Selector operator: '' -- was your selector value properly escaped? I'm getting this error after I try to create new pages. I've tried deleting the parent page and starting over but to no avail. I don't have any field dependencies at all so I've no idea. Edit: I've turned on debug and I get this when I try to edit a page: TemplateFile: Unknown Selector operator: '' -- was your selector value properly escaped? field='membership', value='-levels', selector: 'membership-levels'<pre>#0 /home/website/public_html/beta/wire/core/Selectors.php(284): Selectors->create('membership', '', '-levels') #1 /home/website/public_html/beta/wire/core/Selectors.php(81): Selectors->extractString('membership-leve...') #2 /home/website/public_html/beta/wire/core/Pages.php(165): Selectors->__construct('membership-leve...') #3 [internal function]: Pages->___find('membership-leve...', Array) #4 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #5 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('find', Array) #6 /home/website/public_html/beta/wire/core/Pages.php(260): Wire->__call('find', Array) #7 /home/website/public_html/beta/wire/core/Pages.php(260): Pages->find('membership-leve...', Array) #8 /home/website/public_html/beta/wire/core/Pages.php(275): Pages->findOne('membership-leve...') #9 /home/website/public_html/beta/wire/modules/Inputfield/InputfieldPage/InputfieldPage.module(206): Pages->get('membership-leve...') #10 [internal function]: InputfieldPage->___getSelectablePages(Object(Page)) #11 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #12 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('getSelectablePa...', Array) #13 /home/website/public_html/beta/wire/modules/Inputfield/InputfieldPage/InputfieldPage.module(280): Wire->__call('getSelectablePa...', Array) #14 /home/website/public_html/beta/wire/modules/Inputfield/InputfieldPage/InputfieldPage.module(280): InputfieldPage->getSelectablePages(Object(Page)) #15 /home/website/public_html/beta/wire/modules/Inputfield/InputfieldPage/InputfieldPage.module(318): InputfieldPage->getInputfield() #16 [internal function]: InputfieldPage->___render() #17 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #18 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('render', Array) #19 /home/website/public_html/beta/wire/core/InputfieldWrapper.php(426): Wire->__call('render', Array) #20 /home/website/public_html/beta/wire/core/InputfieldWrapper.php(426): InputfieldPage->render() #21 /home/website/public_html/beta/wire/core/InputfieldWrapper.php(286): InputfieldWrapper->renderInputfield(Object(InputfieldPage), false) #22 [internal function]: InputfieldWrapper->___render() #23 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #24 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('render', Array) #25 /home/website/public_html/beta/wire/core/InputfieldWrapper.php(426): Wire->__call('render', Array) #26 /home/website/public_html/beta/wire/core/InputfieldWrapper.php(426): InputfieldWrapper->render() #27 /home/website/public_html/beta/wire/core/InputfieldWrapper.php(286): InputfieldWrapper->renderInputfield(Object(InputfieldWrapper), false) #28 /home/website/public_html/beta/wire/modules/Inputfield/InputfieldForm.module(57): InputfieldWrapper->___render() #29 [internal function]: InputfieldForm->___render() #30 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #31 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('render', Array) #32 /home/website/public_html/beta/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module(163): Wire->__call('render', Array) #33 /home/website/public_html/beta/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module(163): InputfieldForm->render() #34 /home/website/public_html/beta/wire/modules/Process/ProcessPageEdit/ProcessPageEdit.module(144): ProcessPageEdit->renderEdit() #35 [internal function]: ProcessPageEdit->___execute() #36 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #37 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('execute', Array) #38 /home/website/public_html/beta/wire/core/ProcessController.php(204): Wire->__call('execute', Array) #39 /home/website/public_html/beta/wire/core/ProcessController.php(204): ProcessPageEdit->execute() #40 [internal function]: ProcessController->___execute() #41 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #42 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('execute', Array) #43 /home/website/public_html/beta/wire/core/admin.php(85): Wire->__call('execute', Array) #44 /home/website/public_html/beta/wire/core/admin.php(85): ProcessController->execute() #45 /home/website/public_html/beta/wire/modules/AdminTheme/AdminThemeDefault/controller.php(13): require('/home/website/...') #46 /home/website/public_html/beta/site/templates/admin.php(15): require('/home/website/...') #47 /home/website/public_html/beta/wire/core/TemplateFile.php(169): require('/home/website/...') #48 [internal function]: TemplateFile->___render() #49 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #50 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('render', Array) #51 /home/website/public_html/beta/wire/modules/PageRender.module(356): Wire->__call('render', Array) #52 /home/website/public_html/beta/wire/modules/PageRender.module(356): TemplateFile->render() #53 [internal function]: PageRender->___renderPage(Object(HookEvent)) #54 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #55 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('renderPage', Array) #56 /home/website/public_html/beta/wire/core/Wire.php(411): Wire->__call('renderPage', Array) #57 /home/website/public_html/beta/wire/core/Wire.php(411): PageRender->renderPage(Object(HookEvent)) #58 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('render', Array) #59 /home/website/public_html/beta/wire/modules/Process/ProcessPageView.module(172): Wire->__call('render', Array) #60 /home/website/public_html/beta/wire/modules/Process/ProcessPageView.module(172): Page->render() #61 [internal function]: ProcessPageView->___execute(true) #62 /home/website/public_html/beta/wire/core/Wire.php(389): call_user_func_array(Array, Array) #63 /home/website/public_html/beta/wire/core/Wire.php(344): Wire->runHooks('execute', Array) #64 /home/website/public_html/beta/index.php(214): Wire->__call('execute', Array) #65 /home/website/public_html/beta/index.php(214): ProcessPageView->execute(true) #66 {main}</pre>
  8. Hi Adrian, Running 2.5.6 but that was from the other day. Downloaded it again and it looks to be sorted. There goes my chance at bug-fixing glory!
  9. Not sure if this has been mentioned or not. If I go to Access > Roles > Add New, type in a name and hit the tab key - I get a duplicate field and Save button. Same story when adding Users.
  10. For a noob like me it was easy enough when I tried to setup a DO VPS using their guides. The issue for me would have been maintenance and security - which I would have sucked at - so I've stayed with my managed VPS. Take a look at https://serverpilot.io/ too.
  11. @organizedfellow I would have done over a dozen EE > PW site moves in the past two years. I have one more to do and that's for a 300+ user artist site. The problem (for me) with EE has always been the upgrade process as well as the need to have itty bitty little extensions to do this and that. If you rely on just one of those extensions and it's not kept up-to-date with the current EE version you're stuffed. And you only find that out once you go through the excruciating upgrade process. To my knowledge EE still doesn't keep it's system files separate from site files. It's a colossal PITA on a big site. I've shown clients the ergonomic differences between EE and PW when it comes to the page tree. They immediately get it compared the convoluted channel and entries system. "Oh you can mix pages with different field sets under one tree? Really?" The EE folk will say, "Yes, but there's the Structure add-on for that." Well then why are you shoehorning EE to work like PW? You may have to mock something up for him on a subdomain as you say. I've done that once or twice at the pitch stage and it was super quick to do. Good luck.
  12. On my install when I go to uninstall I get this error. Is there a way to manually remove this? SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'delete-3' for key 'name_parent_id'
  13. All good here on my ageing 2010 MBP.
  14. @Joss if you're going the Amazon SES route take a look at Sendy http://sendy.co/
  15. @JasonS, The only way I can get this to work as you describe (with a custom role) is to install Page Edit Per User and assign pages to that user. I've tried numerous ways to get Fredi to fire based on simple if's. In my example I have a artist portfolio page (which matches the username exactly): <? if($user->name == $page->name && $user->isLoggedin()) { echo $fredi->setText("Edit this page")->render("first_name|last_name|body|portfolio_images|artist_categories|artist_address_01|artist_address_02|artist_address_suburb|artist_address_state|artist_address_postcode|artist_twitter|artist_facebook"); } ?> Even though my Role (artist) has page-edit assigned to it, and that role is enabled at the template level, Fredi won't show up unless I assign a page to that user using Page Edit Per User - which I'm trying to avoid as it's an extra step in setting up a user on the setup I'm trying to build.
  16. You've got me thinking that I might try an upgrade from here when I'm next there: http://www.scenicworld.com.au/experience/scenic-railway/
  17. Thanks for this. Hopefully this will shut the WP up a bit. BTW you have a typo: "A good length for a description is 160 charakters."
  18. I'm nowhere near my Mac. Does this work like Fredi does?
  19. Marty Walker

    jQuery help

    Hi everyone, It seems like a lot of the sites I do these day require some kind of jQuery enhancement. I can muddle through most of the requests with various plugins out there but occasionally I'm left scratching my head with how to do something more complicated. So I'm after a go-to jQuery person that I can throw the odd job at. I have one job in particular (at the quoting stage) that I'm stumped on and would like some help with. You can contact me here: martin [ at ] smd.net.au Thanks!
  20. It'd be a shame to see this mothballed considering the wealth of German development talent here.
  21. Hi Russell, Maybe because there's so much that's new (both small and large). I'd sift through the blog again http://processwire.com/blog/ (which you mentioned) as well as http://www.flamingruby.com/blog/
  22. I've done plenty of EE > PW rebuilds. Sing out if you need a hand.
×
×
  • Create New...