Code Monkey home page Code Monkey logo

nsptiles's People

Contributors

imthenachoman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nsptiles's Issues

Active link tile background color

Suggestion to provide the ability to change the background when the tile link matches the current URL. This is for when you are using the same set of tiles for page navigation so the user can clearly see they they are on the page that the tile with a different background color has.

Launch Tile purely in Javascript

Hi Nachoman,

great tool! indeed terrific!!!

Is there a possibility that the Tile launches pure JavaScript? My initail situation is that I would like to launch a specific modal dialogue, rather than the dialog given with the dialog link type (showModalDialog method ) with given size of the dialogue. If I use the onclick function in the configOptions, the dialog still starts, even with my custom modal dialog hides the dialog URL, but then two modal dialogs are open ...

Dynamic subsite placeholder for tile URL

It would be useful if placeholders e.g. {subsite} could be used for tile URLs so that when subsites are created from a template the links that go to it's subsite libraries will automatically work.

Example URL with placeholder: /{subsite}/lists/documents

All tiles piles on top of each other

Hi
I am trying to use this in CEWP. I added one tile it worked. Then when added other tiles, all pile on top of each other on topLeft. What could I have done wrong?

IE 11 doesn’t like mailto in window.location.href

It works in Chrome but not IE. Changing to window.location makes it work for both.

// opens a tile link
var openLink = tiles.openLink = function(tile, type, url)
{
    if(type === "none") return;
    var holderID = tile.parentNode.parentNode.id;
    if(/^mailto:.*?@.*$/.test(url))
    {
           window.location.href = d; // RIGHT HERE
    }

Allow responsive behaviour without specifying tiles offset

I like the improvements over the blue print, SPJS-Tiles, especially the possibility to hide Tiles based on a SharePoint group. But there is a huge downside in nSPTiles: Tiles are not positioned automatically according to rows and columns. Because of that, hidden Tiles (because of a user's permissions) will leave "blank" room on the canvas.

Use case:
I have 5 buttons. I want to show 3 buttons to a group A, 4 buttons to a group B and 2 buttons to a group C.
A user in group A might not able to see the first and last button.
In the actual row of 5 buttons, the user of group A will see free room left and right. If the order of those buttons 1 and 5 is changed, there might be even a gap between the buttons.

An option to have a non-mandatory offset, which could lead to the responsive display of Tiles per defined rows and columns, would be great (as it's possible with SPJS-Tiles).

No render on home pages

I've noticed that when I promote pages to home page status, the page must be reloaded to render the tiles. I was able to reproduce this quirk on 5 home pages. My guess is the redirect function in SP hangs up the load. Instances on subpages worked fine. I was able to remedy this problem by using an absolute URL in lieu of a relative one. Just FYI...

Ability to add javascript

I would like the ability to add javascript to be used in html override. I have created custom tiles using html override with buttons that call functions but currently I have to add the javascript via cewp for the functions that the HTML calls.

_vti_bin/Lists.asmx?op=GetListItems 401 (Unauthorized)

I am unable to use the CEWP after using the code. Is there some sort of configuration on the admin/server side before I can use it? I was able to use SPJS Tiles with the same procedure and site.

Thank you in advance


I noticed that the siteURL is getting the wrong URL for it since it's a subsite. I changed the tilesTracker[holderID].siteURL to the correct one and it worked. I just hope it doesn't affect other rendering codes.

issue with the tile not rendered check

There seems to be an issue with the tile not rendered check. When using this function the script will fail in IE10 and IE11 (IE9, Firefox and Chrome are fine)
Seems to be related to the XML query used on line 1046 in the script.
Are you aware and do you have a solution? (looking into this myself as well because I need it)

XPathResult is not defined

Update list call fails in v1.5.1

It creates the list ok, but the next call to update the list fails, throwing an unhelpful generic soap exception error.
I deleted the list and then loaded version 1.4 and the list creation and update was successful.

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.