I have a SP 2010 Publishing Site (14.0.4762.1000). It has a contenttype containing a Publishing Hyperlink (SPFieldLink). Inserting a link with the Link Tools (part of the ribbon) works fine, but I can't delete the link once I set it.
For quick reproduction:
Create a Publishing Portal site
Create a column of type Publishing Hyperlink
Add the column to de Welcome Page contenttype
Navigate to the Press Releases page
View information -> Edit
Add a link to the newly created column and save the page
Open it again, remove the link (the link is visually removed, it even says: Click here to add a new Hyperlink)
Save the page again
Now open the page again.
In our situation, the message 'Click here...' is gone, and if you view the source our original link is still there, but there is no text inside it.
I did some testing on it and these are the results:
It occurs on dev and prod server with a custom solution installed
It occurs on a server with no custom solution installed (clean install)
It also occurs on the 'Adventure Works' site (both on a clean install and on a server with custom solution)
It occurs both when creating a sitecolumn of type Publishing Hyperlink through API and UI
When viewed with firebug the 'deleted' link is still in the href property, but the text property is empty
Tested on IE/FF
When viewing with Sharepoint Manager 2010, the link is still in de DB (with no text property as stated above)
It happens on Dutch and English sites
Anyone familiar with this behaviour? Is there a solution for this problem?
I currently have exactly the same issue in a publishing site. I'm looking into it. Let you know if I find anything.
Found your topic on social MSDN. Apperently this is a bug in SP2010.
http://social.msdn.microsoft.com/Forums/en-AU/sharepoint2010general/thread/8ce468ec-096b-4ad2-a1e9-0bfb93cecf95
Currently there is a powershell fix (not really an option for me)
http://vasya10.wordpress.com/2011/06/07/inconspicuous-sharepoint-quirks-2/
Hope this helps.
Related
I'm having an issue with SiteOrigin's pagebuilder plugin. I have made an entire website using this plugin (therefore I'd prefer to keep using it) but all of a sudden I can no longer add styles (such as backgrounds and pictures behind the widget) to the visual editor widget within rows that I am working on. All I see is just a constant loading screen. This only happens when using the visual editor widget, as on SiteOrigin itself I can edit rows fine, I just can't use the visual editor anymore.
Here's what it's supposed to look like:
http://imgur.com/OwUiDmD
Here's what mine looks like:
http://imgur.com/pLO5Bpk
Depending on the row I am using neither may load.
Here is a list of the plugins I am using:
Black Studio
TinyMCE Widget
Contact Form 7
Easy Google Fonts
Lightbox Plus Colorbox
Page Builder by SiteOrigin
SiteOrigin Widgets Bundle
Spacer Title Remover
I have deleted both siteorigin plugins as well as the visual editor plugin on my build and reinstalled them to no avail. Is this a common problem? Does anyone have any idea on how to fix it?
Many Thanks,
JDB
EDIT: Per Omer's advice, I have found the error using Chrome's Javascript Debugger.
http://www.website.com/wp-admin/admin-ajax.php?_panelsnonce=3bf1af34d8 503 (Service Temporarily Unavailable)
http://www.website.com/wp-admin/load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,utils,quicktags,plupload,editor&ver=4.3.1
Not sure where to go from here... any ideas?
Thanks
JDB
Haven't used this plugin before, but it looks like it uses ajax to fetch data, and an error in javascript is avoiding the page to load properly. To check if this is the case, inspect your page with chrome developer tools and on the right side look for javascript errors (console). Once you know which file is responsible for the error then you will have to fix that error and everything will start working fine.
I'm trying to re-skin an existing site using CSS only. I will be taking one of their CSS files and redoing it to match a new design, without changing any HTML. I want a good way of continually updating and then testing, but I have to do it locally because they do not have a dev environment. The site itself is dynamic and authenticated, so I can't just download pages from the site and test the entire thing locally. I was hoping that there is a way to tell my browser (Firefox, preferably) to disable that specific remote CSS file and replace it with a local file.
I don't want to use something like Web Develop Toolbar or Firebug because that requires me to manually make the changes each time I load a page. I want something more seamless.
I was thinking one possibility is to load my new stylesheet in userContent.css, but I would still need a way of telling the browser not to load the original stylesheet from the server.
Any ideas?
UPDATE: I found this Mozilla bug report https://bugzilla.mozilla.org/show_bug.cgi?id=208641 discussing the issue of being able to change userContent.css without restarting Firefox. One of the posters (Simon Wilper) posted some files and info about adding a menu item to refresh userContent.css, but it talks about modifying browser.xul and I can't find that file on my system. This seems like the last piece of the puzzle.
You can use AdBlock Plus to create a custom filter to block that one particular stylesheet, so it will not load when you go to the site. This rule will always be in effect, so as you refresh the page, you will not have to do anything extra.
https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/
As for adding your own stylesheet onto that external site, you can use Stylish, an add-on for adding your own stylesheets to particular domains. This, too, will always be present as you refresh the page.
https://addons.mozilla.org/en-US/firefox/addon/stylish/
The issues you will run into, I imagine, will be what to do with images you are intending on linking to in the CSS. You will have to upload them somewhere, reference them absolutely, and then once you are finished, replace the URLs with new locations on their server. Also, that editing Stylish stylesheets within their editor is pretty poor (no code colouring, no code completion.) Probably better to edit it in your editor of choice, and then paste it into the Stylish textarea. Hit save, then see your work (I believe you won't even have to refresh, but I might be wrong.)
Also, both these add-ons are available for Chrome too.
https://chrome.google.com/webstore/detail/adblock-plus/cfhdojbkjhnklbpkdaibdccddilifddb
https://chrome.google.com/webstore/detail/stylish/fjnbnpbmkenffdnngjfgmeleoegfcffe?hl=en
I am not sure why people are suggesting to install extensions for this simple task. I would suggest you to just follow these steps to disable whichever file you want from being loaded in your browser that you want. Just follow these few simple steps:
Hit Ctrl + Shift + C to open source inspection
Navigate to Network tab
Right Click on any file from the list and and click Block request URL
Now the file won't load. Cheers!
PS: Steps are same for Google Chrome and Mozilla Firefox browsers. Not tested on Opera and/or Safari.
Install web developer extension
http://chrispederick.com/work/web-developer/firefox/
And then it will create a menu under the Address bar, click on the css tab and then "Disable Styles" > Disable Individual Style Sheet" > then select the style sheet file you want to disable
after this, again click on the css tab and then "Add User Style Sheets" , next select your css file.
When i click the insert hyperlin button in the visual editor it literally does nothing. I ran the console in IE to see any errors which i've listed below...
SCRIPT438: Object doesn't support property or method 'wpdialog'
editor_plugin.js?ver=358-23224, line 1 character 471
does anyone know why this is and how to fix it?
any help most appreciated :)
I found this WordPress forum post which seems to deal with the similar issue you are having.
There are few proposed solutions in it, so you might find it useful.
Another thing you could check is if jQuery is referenced twice.
In order for link to work, include the "wordpress" in the list of plugins to load in TinyMCE. For instance in the settings or tinymce.init({...}) initialization object you would add:
plugins : "paste wplink media wordpress"
Whenever you select some text then click the link icon, a small popup window opens to let you enter the URL in a text box.
Whenever you are in design mode in VS2012 for editing a Web Form, if you click on anything, and accidentally drag and drop, a CSS auto-style will appear at the top of the HTML for the aspx page.
From some preliminary research, I checked the following:
Tools>Options>HTML Designer>CSS Styling>Style Application Mode, but it was already set to manual. Is there somewhere else I should be looking to disable this functionality?
Right now there is no way to turn off this. We have received this feedback through connect link. Please add vote to this connect bug. And we will consider this in future release of VS.
I also found this, and I have assoicated it rightly or wrongly, with large pages getting totally corrupted (table cell contents being apparrently randomly swapped).
I managed to turn autostyle off by going to Tools>Options>HTML Designer>CSS and selecting 'CSS (inline styles)' for each of the items there.
Autostyling has stopped and (fingers crossed) my latest pages have retained their integrity.
Tools > Options > Web Forms Designer > CSS change all CSS(classes ) to CSS(inline styles)
I've seen many articles about dragging files INTO a browser, but none about dragging files FROM the browser to a windows application or the desktop/windows-explorer.
I'm looking for a cross-browser solution but IE8 is our main browser.
If I create a link in a web page and then drag that link from the page into Microsoft Word, it inserts a link. However, if that link is pointing at a PDF document, I would like it to embed the PDF doc inside the Word doc, as if I'd dragged it from Windows Explorer, into MS Word.
Is that possible?
I've even tried pointing the link at an ASP page which returns "application/pdf" data but I still just get a link in my word doc so I suspect that links are the wrong way to go.
Thanks for any help!
I suspect you'll find that it is indeed not possible. The behavior upon drop is determined by the "receiving" application, not the "sending" application. As you point out, Word creates links to things that are dropped on it. The browser doesn't have any control over that.
I noticed that you can actually drag a HYPERLINK from a browser and drop in into a folder. After that a file there is created with .URL extension that contains the actual link.
So it is possible develop a program that will be able to accept that hyperlinks (as the usual windows folder does) and after it accepts the hyperlink file, it will automatically download the actual file from internet (by the hyperlink from the hyperlink file).
So the process will be:
drag-n-drop a hyperlink to the app
app recognizes the link
app automatically downloads the appropriate file and stores it somewhere.