Forum Replies Created
-
AuthorPosts
-
Hi,
The gradient.png file was used in the CSS file in v3 and is actually in the v4 CSS file as well, but I forgot to include this file in the v4 packeage.I am about to release an updated version of DFFS later tonight, and have decided to removed the file reference from the CSS file.
Alexander
Hi,
I have made some changes to the DFFS_backend.js file to use “GetGroupCollectionFromSite” instead of “GetGroupCollectionFromWeb”. This will pull all the user groups from the site collection and not only from the current web.I’m afraid you cannot have the DFFS_backend in another site collection as this will pull the wrong user groups.
I will publish this updated version later this weekend.
Alexander
Hi,
I have fixed A and will get it published during the weekend.Question B:
Have you tried the built in option to hide the save item button in the rules?Alexander
I’m fairly sure this will be fixed in the next release (hopefully released soon).
Alexander
Hi,
After looking at it in your site I was able to recreate it. This is actually caused by the fact that the div (the textarea you write in) inherits from the side-by-side td where white-space:nowrap is configured.To correct this, you must add this to the appropriate field(s) in the “Field CSS” in the DFFS backend:
div.ms-rtestate-write{ white-space:normal !important; }
Let me know if this helps,
AlexanderHi,
Which version of DFFS_backed.js are you using? – There was a bug in v4.0.Alexander
I’m glad you figured it out. The code I posted was the original one and you have to adjust it to fit your setup.
Alexander
The dffs_configListBaseUrl is the relative URL to the site where the configuration list is located. Right click a page and view source – search for “webServerRelativeUrl” – this is the value you want to use (you must unescape “\u002f” to “/”).
Alexander
Hi,
This is already added to the upcoming release. I’m unfortunately running a bit late and will need a few more days to get it finished.Alexander
Hi,
The scrolltop is calculated from s4-workspace. If this is not in the page scrolling will throw the tooltip out of position.You can override the function by adding this to the bottom of the DFFS_frontend_CEWP.js.aspx file – below DFFS_frontend.js:
<script type="text/javascript"> spjs.dffs.showTooltip = function(elm){ var id = $(elm).attr('fin'), p = $(elm).position(), s = $(window).scrollTop(); if($("#s4-workspace").length > 0){ s = $("#s4-workspace").scrollTop(); } p.top += s; $("#tooltipHolder").html('').attr("pin","0").css({"position":"absolute","left":p.left+25,"top":p.top+15}); if(spjs.dffs.fields[id]!==undefined){ $("#tooltipHolder").appendTo($(elm).parent()); $("#tooltipHolder").html("<div style='padding:3px;'>"+spjs.dffs.data.tooltipObj[id]+"</div>").css({"position":"absolute"}).stop(true,true).fadeIn(200); } } </script>
Alexander
I cannot recreate this issue so its hard to tell why this is happening. You must try to tinker with the CSS to see if you get the text to wrap properly.
Alexander
Hi,
Sorry for the delay. I have no good explanation to this. Can you use the developer tools to “inspect” the required star to see if it is in the formlabel or the formbody table cell?Could it be some custom code or CSS you have added that does this?
Alexander
I’ll look into this issue for the next release.
Alexander
Hi,
I’m not sure this is possible, but you can use the jQueryUI datepicker like described here: https://spjsblog.com/forums/topic/jquery-ui-datepicker-widget-in-dffs/Alexander
Yes, like this:
var myDispFormValue = getFieldValue("MyFieldName",true); // true = dispform
Alexander
-
AuthorPosts