Giter VIP home page Giter VIP logo

helperfieldlinks's People

Contributors

adrianbj avatar somatonic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

helperfieldlinks's Issues

show links only on hover

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!

Strange behavior with PageTable

Good day!

This is one of the modules I install on every PW site, so thank you very much.

I got issues with displaying field links on PageTable fields. I got PageTable inside of a Page table.

First level PageTable displays double link:
.

Second level PageTable in popup displays no link at all.

"Undefined index: REQUEST_URI" when using PW-API in CLI

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.

Array to string conversion for multi-dimensional array

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.

Fatal error when template has an InputfieldSelector field with a defined selector that includes "created"

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.

An error when using Page path history

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(

Links to field should carry ?modal=1 through

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.

No link for RepeaterMatrix fields

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.