somatonic / helperfieldlinks Goto Github PK
View Code? Open in Web Editor NEWProcessWire2 Module. This module adds shortcut links to all inputfields on page edit.
ProcessWire2 Module. This module adds shortcut links to all inputfields on page edit.
hi @somatonic ,
what do you think of adding this to your css? often i want to see how everything looks like for my customers and without that i would have to switch user.
li.Inputfield .fieldEditLink {
display: none;
}
li.Inputfield:hover .fieldEditLink {
display: block;
}
thank you for the very helpful module!
Hi,
when I initiate a ProcessWire-object in a CLI script (to use its API), I always get a PHP notice Notice: Undefined index: REQUEST_URI in […]HelperFieldLinks.module on line 37
from this module. This is expected, as there is no REQUEST_URI present on CLI calls.
So maybe it would solve that issue to just do a if(isset($_SERVER['REQUEST_URI']) && strpos($_SERVER['REQUEST_URI']…
instead of just if(strpos($_SERVER['REQUEST_URI']…
. I tried that out and it works quite well.
PHP Notice: Array to string conversion in .../modules/HelperFieldLinks/HelperFieldLinks.module:167
The case I noticed was the info-panel for the Template field in Page Edit: the rolesPermissions array is multi-dimensional.
Hi soma - not thoroughly tested so this might happen in other scenarios too, but it definitely happens if you add a "created" filter in an InputfieldSelector field.
Notice: Trying to get property of non-object in /Users/ajones/Sites/pwnew/site/modules/HelperFieldLinks/HelperFieldLinks.module on line 62
Fatal error: Call to a member function getTableData() on array in /Users/ajones/Sites/pwnew/site/modules/HelperFieldLinks/HelperFieldLinks.module on line 74
Error: Call to a member function getTableData() on array (line 74 of /Users/ajones/Sites/pwnew/site/modules/HelperFieldLinks/HelperFieldLinks.module)
This error message was shown because site is in debug mode ($config->debug = true; in /site/config.php). Error has been logged.
Good day!
This module is something I have on each an every site, so huge thanks! But just because of that I find some bugs with it)
When core Page Path history module is installed I get this error, when trying to open " What other URLs redirect to this page?" closed fiealdset on the page settings tab:
Fatal Error: Uncaught Error: Call to a member function getTableData() on array in /site/modules/HelperFieldLinks/HelperFieldLinks.module:74
See the screenshot:
...and the spinner just keeps spinning, never loading the content(
Currently if you are editing a page in a modal (either a normal page with long click or a Page Table page), and you click in the field link, it doesn't keep the modal=1 in the link which means that the entire page including header etc is loaded in the modal.
Good day!
Thanks for the module!
I got a possible bug. The link doesn't show for RepeaterMatrix fields. Repeaters are ok. Could you please check.
Just needs changing to WireData
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.