When we upgraded from Sharepoint 2010 to Sharepoint 2013, our favicon was no longer being displayed. An internet search offered a couple of solutions. One method suggested placing the file in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\IMAGES and performing an IIS reset.
Not having access to the server and not wanting to disrupt a production site with an IIS reset, I opted to handle this with an upload to a site library and master page change.
I found the following to be an easy change to make.
These are the steps I took:
Upload your .ico file to your site / siteassets library
Make note of the URL to the uploaded .ico file (right click and choose copy shortcut from the menu
In Sharepoint Designer, open your master page file - v4.master or your custom file
Search for this line: SharePoint:SPShortcutIcon.. (if you have a custom master page and this line is missing, copy it from v4.master and place it in the head section.)
Paste the URL of your .ico file from step two into the SPShortcutIcon element on the IconUrl property
Save, checkin, and approve your master page. That's it. Your .ico file will appear in browser tabs and in the URL address bar depending on your browser. If using IE, you may need to clear your cache to get it to display.
Related
SharePoint by default has two master pages: Seattle and Oslo. The general rule is we should not modify these default master pages. If we need any customization, we should make their copy, make modification, upload to the Master Page Gallery and then use it. However a colleague of mine modified them directly and it screwed up some JavaScript functions. It impacted Performance Point Dashboard Designer and continuously started showing JavaScript errors.
In order to resolve the issue, I renamed the default master pages to Seattle_erroneous.masterpage and Oslo_erroneous.masterpage. I also renamed their respective .html files. I copied fresh copies of Seattle.masterpage and Oslo.masterpage from another web application, also their .html files, uploaded them to the Master Page Gallery, published their major version and started them referencing in subsites. It did solve JavaScript errors.
Now I want to clean up those erroneous master pages. When I try to delete them from the gallery, I get following error.
All the subsites inherit the working master page. Also I checked master page of each site one by one. All of them were referencing the working version. There was one site whose SharePoint Server Publishing feature was not enabled. I enabled it, and confirmed it was using the working version. I cannot delete the erroneous masterpages. It is referencing somewhere where I cannot see. Please help.
You may try the solution shared by here.
My Issues with Test.html and Test.master
Go to Root Site, Site Settings->Look and Feel Section: Design
Manager. Here the Master Page Html file can be modified
what changes are we make in .master file.
But Site Settings->Look and Feel Section: Design Manager ->Edit
Master Pages Test.html was missing.(By default Seattle and Oslo will
be appear)
Open the site collection through SharePoint Designer, Right click on
Seattle.html file -> Select "Edit File in Advanced Mode" from
context menu.
Seattle.html opens in a new Tab. Select all and copy the code.
Then Go to Test.html (Right Click) -> "Edit File in Advanced Mode".
Opens in a new tab.
Replace the existing code in the "Test.html" by pasting the code
from Seattle.html
Save the file (This is done in "Check In" status)
In the Browser, Go
To Root Site, Site Settings -> Look and Feel: Design Manager ->
"Edit Master Pages" in the left side.
Now here the Test.html file will appear. Delete this file
I was trying to upload an image using Sitecore [Version 6.5] media library to my existing sitecore website. I see the Advance Upload Files option is completly missing. Later, I tried to install a default sitecore instance and I see the Advanced Upload option is there. But it is completely missing to the existing sitecore website.
Here, is the snapshot of my site where the Advanced upload option is completely missing:
And here is the snapshot of my default sitecore site where the Advanced upload option is there:
To fix this, I tried to change couple of configuration files. But still the same issue. The Advanced upload files option is completely missing. Did you face the same type of issue or if you know how to fix this issue, can you please share your thoughts. Or if I need to change any of the configuration files, then can you share your thoughts about that change of any of the configuration file?
Thanks
Upload files (Advanced) button is hidden in 2 cases:
Folder does not use Media Folder template. Just check your folders - maybe they use standard Folder template instead of Media Folder.
Upload.Classic setting is set to false. Open /sitecore/admin/showconfig.aspx and look for Upload.Classic value. When it's set to true, Sitecore uses flash upload instead.
If none of above is the case, maybe you have some custom code which hides Upload files (Advanced) button from you editors.
We are using Siebel citizen portal application (IP 15.12). After login, we reach in to a landing page with 3 applets. These applets have some custom fields etc, but there is no UI customization we did (ie no PM/PR etc).
Now when we login, a blank layout of the applet appears for a few seconds (especially first load or after clearing cache) and then renders the original applet with Open UI layout. Since this is a customer facing application, our client has a lot of concern on appearing the blank layout before the actual rendered applet.
Could anyone throw some light here? Is this an Open UI behavior, if so is there any workaround for this?
With IP 15.18, We had similar issue of the list applets not loading data on initial (home page load) after login. Only the list applet titles were displayed but the form applet loaded elements, showing the busy cursor forever...
We were getting "Error downloading file define:siebel/htmltmplmgr" error in the browser console. we debugged and found that the localeobject.js was not loading, which is the dependency file mentioned in htmltmplmgr.js...So we added preload define parameter in the htmltmplmgr.js in the beginning to load the localeobject.js file before even the main function starts...then it started working...try this...
On first load or after clear cahce, it needs to load all JS files (vanilla) and other required files in Open UI. So, this is the default behavior of OpenUI.
Nothing much we can do with this. Else you can tweak down all unnecessary files from downloading.
I found this blog very useful, you can check.
http://www.askmesiebel.com/category/siebel-8-1-1-10-upgrade-issue/
edit the file htmltmplmgr.js in below folders
$SIEBEL_ROOT/siebsrvr/webmaster/siebel_build/scripts/siebel/
$SIEBEL_ROOT/SWEApp/public/enu/23048/scripts/siebel/
go to define section and add dependency files inside the square brackets
define("siebel/htmltmplmgr",[]
define("siebel/htmltmplmgr",["siebel/siebelconstants.js","siebel/localeobject.js"]
Note that you have to edit the files in both folders you can create a backup before making changes. If you just replace in public folder when you restart siebel server files will be overwritten from webmaster/siebel_build folder to public folder . Hence you have to replace in both folders and restart siebel server and web server.
I'm new to IIS. In short, I'm facing issues to set up the gzip http compression for "cfm js css" file types in IIS6.
The reference resource I followed is at:
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/502ef631-3695-4616-b268-cbe7cf1351ce.mspx?mfr=true
Here are the exact steps I did:
In IIS Manager, double-click the local computer, right-click the Web Sites folder, and then click Properties.
Click the Service tab, and in the HTTP compression section, select the Compress application files check box to enable compression for dynamic files.
Select the Compress static files check box to enable compression for static files.
Change the 'Temporary directory:' to 'C:\Inetpub\compressed_static_files'.
Under Maximum temporary directory size, click 'Unlimited' radio button.
Click 'Apply' button and then click 'OK'.
However, these settings are for .htm, .html, .txt and .asp, .exe and .dll file type only. So, in order to add .js, .css and .cfm, I ran the following commands according to the instruction at the url: http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5bce429d-c4a7-4f9e-a619-5972497b932a.mspx?mfr=true
Exact steps are:
cd c:\Inetpub\AdminScripts
cscript adsutil.vbs SET W3SVC/Filters/Compression/Deflate/HcFileExtensions "htm html txt js css"
cscript adsutil.vbs SET W3SVC/Filters/Compression/gzip/HcFileExtensions "htm html txt js css"
cscript adsutil.vbs SET W3SVC/Filters/Compression/Deflate/HcScriptFileExtensions "asp dll exe cfm"
cscript adsutil.vbs SET W3SVC/Filters/Compression/gzip/HcScriptFileExtensions "asp dll exe cfm"
To activate this, I restarted IIS. Steps I followed are:
In IIS Manager, right-click my local computer and select 'All Tasks > Restart IIS...'.
Select 'Restart Internet Services on ' and click OK.
Click 'End now'.
At this point, the server is restarted and now I tested whether the http compression is working or not with the following steps:
Open my web site in FireFox and go to any page with .cfm extension.
Open up FireBug.
Check 'GET' Request Headers for .cfm file. I saw 'Accept-Encoding: gzip, deflate'. This is what the browser sends to the server.
Now, check 'GET' Response Headers for .cfm file. There is even no 'Content-Encoding:' header. I am supposed to see 'Content-Encoding: gzip' here to confirm the server sent .cfm file as gzip encoding.
The same case for 'js css' and even 'html' file too. I think it must be some very basic thing I'm missing here. It will be great if anyone could give me a hint on this.
Thanks in advance.
Gen
Not much help to the OP, over 2 years after the question was asked, but for the benefit of anyone else finding this in Google (as I did), the problem here is with the syntax.
cscript adsutil.vbs SET W3SVC/Filters/Compression/Deflate/HcFileExtensions "htm html txt js css"
should be
cscript adsutil.vbs SET W3SVC/Filters/Compression/Deflate/HcFileExtensions "htm" "html" "txt" "js" "css"
Note the quotes are around each item in the list, not the whole list
On IIS6 I always do it by editing the meta-base directly.
You'll have to check the setting on the web-server properties to be able to do this and be sure to make a backup of the meta-base first e.g. check it in to your source repository
Jeff Atwood covers it here: http://www.codinghorror.com/blog/2004/08/http-compression-and-iis-6-0.html
I'm making a django app to index my collection of local files (html, text, pdf, ... ) that I keep in diferent partitions and directories so I can search easily based on the name, date, title, etc of the files. It's like a advance locate, the unix utility. It generates a dynamic page with links for the files and in the case of the html files I should click and load the local file in the brower. The generated page contains links like:
Title of local file</li>
The problem is that when I click it does nothing, not even error messages. If I save this generated html page and open it in the brower directly it works fine. I think it doesn't work for security issues but I do not pretend to use it as a web app over the internet but as a local app. I am using the django development server. I know that django can serve static files putting them in a specific directory but this isn't what I need (the files are in multiple locations); I want to load the files in the browser as local files, not through the server. Can this be done?
Is there a way in django to make the "file:///C:/path/file.html" scheme work in the generated dynamic pages?
The problem had nothing to do with django but the browser (in my case firefox 4). Firefox doesn't allow to link to local files from remote sites for security reasons. I have to disable this security check for http://localhost:8000 and it worked. As the change only affects localhost it shouldn't be a security issue.This link explain how to do it:
http://kb.mozillazine.org/Links_to_local_pages_don%27t_work
Basically all you need to do is create a user.js file in your firefox profile folder with this:
user_pref("capability.policy.policynames", "localfilelinks");
user_pref("capability.policy.localfilelinks.sites", "http://localhost:8000");
user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");
If you use noscript you also have to change some configuration: NoScript Options ("Advanced -> Trusted -> "Allow local links").
Other browsers may have this security checks so you will have to do diferent changes accoding to the operating system and browser you use.
: is wrong. Use | instead.
Title of local file