So I am trying to create a web part in SharePoint 2010 that displays the 5 most recent subsites created.
I've come to find that the Table of Content Web Part has this functionality(through limiting the number of viewable items), but it is also showing the Sites, Lists, Libraries and Discussions links.
Updating the Navigation settings only changes the number of subsites listed, and changing the web.config file does not remove these links either.
I saw a solution using a Library and javascript, but I would prefer to keep my solution limited to out of the box features (or, at most editing the web.config file).
Thanks
I found this source, http://blog.insource.com/applicationdevelopment/sharepoint/listing-sub-sites-with-the-table-of-contents-web-part.html
Related
I am follwing the guide for Control Templates here:
https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/controltemplate
But I want to be able to use my Control Templates across different pages rather than on a single page. I have put the control template in its own folder but when implementing it on a different page, it is not showing up. The example in the website above copies code over from the templated controls to multiple pages which overall increases the amount of code per page. I want to have my custom controls in one folder and then access those controls on different pages without having to copy and paste the control xaml code in that page. Please guide me to some concrete examples of this in action! Thank you!
This is not a back-end programming question. I can only modify the markup or script (or the document itself). The reason I'm asking here is because all my searches for appropriate terms inevitably lead to questions and solutions about programming this functionality. I'm not trying to force it via progrmaming; I have to find out why this PDF is behaving differently.
So:
I have a bunch of links to PDFs on a page. Most of them open in new tabs, but one of them, the most recent, starts to open in a tab, but then the tab closes and the PDF gets downloaded as a file instead. All markup is consistent - there's nothing differnt about the odd-man-out except the actual URL.
You can see this here:
http://calwater.mwnewsroom.com/Investor-Relations/Financial-Reports/Annual-Reports
All annual reports up to 2012 open in a new tab, but 2013 downloads instead.
This leads me to believe that there is some meta-data property of the PDF itself that tells it how to open, and that, in this case, the 2013 PDF was created using different settings.
Apparently, the PDF was saved out to PDF from InDesign.
Does anyone have any insight?
Problem solved. There was simply an error in the string (like an extra period) that references the attachment such that it couldn't tell it was a PDF. Fixing the reference fixed the problem.
Hi can anyone recommend a good, and ideally free editor that will allow me to group opened files based on a module or component I'm working on?
I'm learning joomla so I need one with php,JavaScript,HTML.
I'm currently using dreamweaver. It's great but I hate having to traverse through the file tabs which are usually hidden because I have so many files opened at once. I would ideally want something that will allow me to group these opened files almost like a folder structure where I can create a category for grouping the opened files together so as keep things that are related to one another close by.
Failing this please recommend what is the best approach when dealing with lots and lots of opened files.
I like how browser works because it allows me to open multiple instances and let me group the sites I want via tabs to each browser instance. Dreamweaver won't allow more than one instance. Is there anything out there that can do this?
UltraEdit gives tab a different color depending on the filetype - CSS are green, Javascript are orange, etc. I find this very useful. It also allows the tabs to spill over to several rows, instead of forcing them to one line like Dreamweaver.
If you do have to use Dreamweaver, you can use the file directory panel to traverse the folders on your hard disk. Double-click on a file in a subdirectory to open it, or switch to its tab if it is already open. The file directory panel is on the top-right by default, I think.
I tried to find it using google, but there are only tips for 2007.
I want to change a few layout things, which are:
The thumbnail size of an image library
The thumbnail size in a slide library
I found this good explanation here:
http://vspug.com/keutmann/2007/01/27/how-to-resize-the-thumbnails-in-a-picture-library/
But I can't find the screenshot view (these nice options) anywhere inside my Sharepoint Designer. Its 2010, so maybe they moved it somewhere else. Anyone has an idea where to find this options tab from the screenshot?
Thanks a lot,
Chris
The linked article does not describe SharePoint Designer, but rather SharePoint Manager, which appears to be a third party tool created by the author.
You could give it a try. Like the U2U CAML Query Builder, it might still work for SharePoint 2010, especially if it uses web services to connect to the site.
But if it doesn't, you should be able to write a Feature Receiver that will accomplish the same thing by modifying the ThumbnailSize property. That has to be what the SharePoint Manager tool is doing.
Regarding changing the thumbnail size of the Slide Library (which you cannot use Sharepoint Manager to do unlike the picture library)
This worked for me to get a bigger thumbnail..
Note that the solution relies on having a naming convention for your files which you apply after you have loaded them up to the slide library eg ENG_02_0010, ENG_02_0020 rather than leaving them named as is when uploaded to Sharepoint.
Create another field called Preview say and make it a picture (format url as picture)
For each uploaded slide put the url link as http://siteName/slidelibraryName/_t/ENG_02_0010_pptx.jpg (same name as your slide with a _pptx.jpg extension)
Get rid of the standard thumbnail from your view and put this new column next to the selection box
Worked for me, much bigger and readable thumbnail!
PS
In SP designer you can find all the jpg thumbnails in the _t directory under the slide library
You can also use CSS on the page where you're displaying the thumbnail images. Here is an example:
<style type="text/css">
img[alt="Thumbnail"] {height:100% !Important;width:100% !Important;}
</style>
This looks for the images with an alt attribute of 'Thumbnail'. I successfully tested this with a Slide library in SharePoint 2013 using IE & Chrome.
I have a website that I have built by Iron Speed.
I have to add a new web page with HTML editor.
I looked for that about 2 hours and I didn't find any helpful article. All the articles that I have read supposed that there is a table (in the db) that will be covered by the web page. :(
Any help would be appreciated.
Sorry for my English ...
If you want to create a page with the HTML editor hooked up to a database field, then Iron Speed Designer will do it for you automatically if the text field in the database is large enough, i.e., if Iron Speed detects this is a large string field it will automatically add the HTML editor for that field.
If you don't have a page created already, just use the application wizard to create an add record or edit record page. If you have an existing page that already contains your database field, you can also enable the HTML editor for that field via the property sheet. (I'm assuming you're using the current release? Iron Speed Designer v7.X.)
Above answers are good.
If you want to add different HTML editor than you can create a different Web Page in Visual Studio
Or other way is just put the whole code of .aspx page in to Cell Editor ...
It will not show in Designer but executes perfectly...
Following on from Chris you can adjust the settings for when Iron Speed generates a HTML editor under Tools -> Application Generation Options. Then Expand General Application Options followed by Rich Text Editor Controls. Then switch the Threshold higher or lower as you need. I think the default is 500 chars.
This process should work in versions 6, 7 and 8. It might be a little different in earlier versions.