Jump to content

kater

Members
  • Posts

    123
  • Joined

  • Last visited

Everything posted by kater

  1. cheers Can i use InputfieldPageTable in a form? Renders fine (with child pages) but nor add new or edit links are working so i might as well just have a permission issue. Other fields are fine. thanks!
  2. cheers, getting: Error: Exception: Item added to ProcessWire\InputfieldsArray is not an allowed type with PadOnePageCheckout only PadCheckout works just fine. url segments, caches,.. etc checked ... ProcessWire 3.0.123, padloper 1.3 any ideas ? thanks!!
  3. Just curious. How would permission to edit a set of pages even without login compromise the security of the remaining site? Yes, all doable via forms. The frontedit modal dialog is just a very comfortable and flexible way. ? thanks!
  4. i thought about that but after sending the invitation there may be hundreds trying to log in at the same time.
  5. sure. it's an event registration site where people with an ticket id (which they enter once) can confirm their status and choose a couple details. not more ?
  6. thanks for your reply! guest has full edit permissions. theres seems to be a difference between assumed guest role (visitor) and logged in guest role.
  7. hi, I'm only allowed to front-edit (Method D, modal comes up) when I'm logged in. Default guest user (role ID 37) without login will not work while a logged in user with role 37 assigned will work (and superuser ofc). Does frontend editing require a 'real' login? All template access rules are assigned and checked. Any hints what i might be missing? thanks ProcessWire 3.0.108
  8. is there any way to easily concatenate the id and other hidden fields? parent.child.id will output the id but i'm using it in a "multichild" context. thanks!
  9. Wrapping inner <ul> into div? thanks for your great module! With the uikit nav + dropdown i need to wrap an inner <ul> into a <div>. Thats fairly easy with MarkupSimpleNavigation "inner_tpl" but how to do it in this case? Uikit example: <a href"#">Menuitem</a> <div uk-dropdown> <ul class="uk-nav uk-dropdown-nav">...</ul> </div> thanks!
  10. Thanks! Works perfectly (little adjustment "?" to avoid passing through of query). I've seen this solution in your former post but hoped there is a more direct way
  11. thanks for this great module! I need to redirect some old drupal links without cleaning, query string directly after the root: www.mydomain.com/?q=content/samplepage ?q=content/samplepage as source does not work. Could you push me on the right track? PW 3.04.42 URL segmentation disabled. ProCache. thanks!
  12. cheers, Someone maybe found a way how to select a page (current year) withing two datetime fields (event_start/event_ende) while event_ende datetime-field might not be set (='')? I'd like to limit traffic by using only one call. &!event_ende<=timestamp seems not supported by PWS? any way to "pipe / OR" selectors in PWS (event_ende>=timestamp OR event_ende='')? thanks!
  13. Is there a way to get pages in another language yet? My situation: file_get_contents('http://www.mydomain.com/en/service-pages/?template=%22subpage%22&id=51970'); works on the serving sites instruction page & in FF browser direct call. but does not work within the template or Chrome / Safari (Osx) directly. without /en/ ... works flawless (same situation as Laban). So I've tried various httpheader / useragent options (also via curl) , the content application/json, debug=1, ... solutions suggested in this thread. Still "failed to open stream: HTTP request failed! HTTP/1.1 404 Page Not Found" from PW. update: Once again, the "active" button at the settings > language page of the "pages web services" page. omg. Does Superuser login ignore this setting? thanks!
  14. Nice to hear & thanks to LostKobrakai for the commit.
  15. Cheers, Dipping my toe into modules. I like the YOOtheme uikit framework (www.getuikit.com), among other things, for its modularity. However, conditional deployment can be a bit of a pain and documentation is not always clear on what to include, unless you check the available files. So i tried a module which helps with that. The module works but I'm still at amateur level and the code is certainly not up to standard so i will only post it here yet. So if someone feels this module might be useful to her/him, please take some minutes to improve and share your teachings. Happy to learn. https://github.com/alterkater/MarkupUikitLoader thanks!
  16. I'm getting a "Session: You are logged in." message every time i try to add a new article and get back to the tree view. *sorry* i should edit instead of reply to avoid bump. pardon that. Solution: For whatever reason, status of Admin > Pages > Addpage was unpublished in DB (pages) but did not show up as such (only locked as supposed) in the admin panel.
  17. these measures did not help either: - upgrade to 2.7.3 to see if something got corrupted - upgrade to latest 3.0.12 (uninstalling webshop/webservices) - all dbs checked and repaired (no result) - profile exported and installed on local host - disabled all access control (save home ofc) for templates and fields.
  18. cheers, Using a non-superuser role, the "add new page" options are available in listers and tree view. Those options change according to permission settings. So it should work. But http://www....com/admin/page/add/?parent_id=58830 as non-superuser just routes back to the tree view. No debug errors or alterations to pw. Creating new user + roles won't help either. I can edit the pages with the editor role. any idea? could it be a server side issue? thanks ProcessWire 2.7.2 + ProCache / Forms / Redirect / Hanna
  19. Seems it happens to pages in which i update a page field via API. Going to check that again. -> Those older pages had fields as page arrays but at some point got a value? assigned. Don't know how that happend without throwing an error. However, solved.
  20. hi, guess i screwed up again but i fail to find the problem. maybe someone can point me to a direction? - there are a couple of pages (out of thousands) which i can't get/find/count unless i use include=all. - none of these are either hidden, unpublished, trashed, access managed, or anything that would obviously differ them from the other pages with the same template. - finder in the backend can also only find those pages using include=all as custom selector. If i get without include=all, i'll end up with a "Error: Call to a member function numChildren() on a non-object (line 976 of ... /wire/core/Pages.php)". Thought there is no need for include=all in get anyway? $eactivity = $row[0]; $numberexist = $pages->count("activityid={$eactivity}, include=all"); if ($numberexist >= 1) { $p = $pages->get("activityid={$eactivity}, include=all"); ....
  21. omg. what a silly mistake. thanks for the hint. back to php nursery.
  22. Sure Just figured out $pages->get(1018)->template; returns the wrong result only when viewed from this page (ID=1018), but returns the proper template when called from any other page. Had a probably related issue recently with IDs. Inclined to resetup the whole AMPPS since resetting / clearing caches the whole environment didnt help either . I don't think it's an PW issue.
  23. Hi, I'm a bit puzzled. $page->template returns some unrelated template. All other ID / Title / Name / Parents / ... work. $pages->get(...)->template returns same false template. Any idea what I'm missing here? thanks! ProcessWire 2.6.18 dev
  24. Great module. Love the config options (using FontAwesome). I've added two custom fields so i can add some more information (event start/end dates). Probably something for the next update? thanks!
×
×
  • Create New...