-
Posts
6,629 -
Joined
-
Last visited
-
Days Won
358
Everything posted by bernhard
-
works! may you add an issue on github?
-
@Kemal you are right, you have to add the api key to the google script! you can limit requests to the google api in your google console to your domain to prevent abuse from other people. @ukyo thanks for the fork, any news about an official pull request / merge?
-
hi @thetuningspoon just wanted to say thank you! i looked to your code and it was really easy to implement my own fieldlink (needed some special selections) like this: php hook: /* pagefield for league selection */ $this->addHookAfter('InputfieldPage::render', function($event) { $field = $event->object; $pages = $this->wire->pages; if($field->name != 'league') return; // load script $this->config->scripts->add($this->config->urls->Webifex . 'pagefieldReload.js'); $admin = $pages->get(2)->url.'page/'; $leagues = $pages->get(1017) // settings ->season // current season ->child('name=ligen'); ob_start(); ?> <div><a class="pw-modal" href="<?= $admin.'?open='.$leagues->id ?>"> <i class="fa fa-edit"></i> Ligen verwalten </a></div> <?php $html = ob_get_clean(); $event->return = preg_replace('/<\/div>$/', $html, $event->return); }); and this simple javascript: $(document).on('pw-modal-closed', 'a', function() { $(this).closest('.Inputfield').trigger('reload'); }); awesome
-
sorry for being unclear i'm talking of the menu dropdowns. they flicker when entering with the mouse from the bottom:
-
hi tpr, maybe if you find the time it would be awesome if you could fix/report/pull request the issue with the flickering dropdowns in admin as well as you just fixed that at buttons. maybe it's the same issue? although i think that should be considered to be a bug and should not be something you need steroids for... maybe you can make an issue on github and talk to ryan what is the reason for it? thank you
-
its located in processpageedit module i also found that by coincidence some day... http://kongondo.github.io/ProcessWireAPIGen/devns/source-class-ProcessWire.ProcessPageEdit.html#93-112
-
thank you robin! you got me on the right track - i had a field dependency on another field that was not shown. i have to show both fields then it works!
-
if have links like that: /admin/page/edit/?id=1398&fields=title that works great until the field is inside a fieldsettab. it does not show any fields how can i solve this? edit: got a little closer: you can link to the tab like this: ?id=123&fields=yourtabfieldname but it shows the whole tab. not only the field i need. any hints?
-
hey adrian, what do you think of a panel to switch off certain modules. like the panel selector but not for panels but modules. so you could switch off modules during development to make sure it is not related to that module... no idea how hard that would be - just wanted to share the idea and hear your thoughts
-
i open the pagetree in a modal like this <a href="/admin/page/edit/?id=123&modal=1" class="pw-modal" ... that works great for pageedits. but if i open the pagetree (/page/?open=123) the page opens in modal-mode, but if i click on edit, the &modal=1 gets lost and the whole admin page gets loaded in the modal. is there an easy way to stay in "modal-mode"? i want to get rid of all the breadcrumbs and menu stuff here: @Pete again... "please wait 40 seconds before submitting" thats REALLY annoying when i just want to edit my original post. any chance to deactivate this?
-
hi @arjen thank you for that recommendation! looks really great and i like it even more than uptimerobot. only issue is that the sms service does not seem to work with austrian numbers... i created a webhook an 2 different servers and send sms via smstrade.de so thats no issue any more and its even cheaper (0,07€ / sms) i think the free plan will be enough for now but there are enough options to grow in future
-
then i vote for a checkbox: "center logo on login-page" just checked the new version and the fixes seem to work, thank you
-
anybody also having this issue? i think the logo should also be centered. what do you think? i like the centered login
-
do i understand you right that this is only for reno theme? why?
-
uptime robot looks like a perfect fit for me! thank you should have asked before installing the phpmonitor ^^
-
i'm using http://www.phpservermonitor.org/ since some days and its nice. you need a second server of course. are you using any other tools?
-
hi adrian, what do you think of making it auto-clear by default and have an option to keep them just when the user wants it. similar to the sticky option.
-
needed this today! thank you!
-
regarding the error: still there. no time to investigate, i dont need it for now. regarding field tooltips: they appear as they should now, but a click doesn't do anything?!
-
-
-
my favourite: http://appvswebsite.com/ is your budget < 10.000$ ? ---> build a website
-
dont forget to close the issue
-
i think the modal just loads the admin page in an iframe, not via ajax. the easiest solution would be to only redirect if the process is NOT ProcessPageEdit. You will have to allow requests to that process if you want to allow those modals. you could also limit it even further by checking the GET parameters used by the url of the iframe (eg /page/edit?id=123&fields=whatsoever)
-
Wishlist: Group field for grouping fields
bernhard replied to steveooo's topic in Wishlist & Roadmap
hi swissdoode, that was kind of a theoretical tutorial you would have to use this module to be able to directly edit the fields from the referenced page: but i know that this is NOT an ideal solution. as i said: i support the need of such kind of setups, but i'm with lostkobrakai that we should stay at the page/field/template setup edit: maybe using a repeater and limiting the items to 1 would be a better solution?