Using Application Pages for List Forms - sharepoint-2007

I'd like to use an application page that I created in the _layouts folder as the new document form for a document library in SharePoint.
When I attempt to do this in SharePoint Designer, I have to browse to the file but it doesn't let me browse to the _layouts folder.
This functionality will be list specific so is there a way to make this connection on a per-list basis? My only idea right now is to use a redirect page.

Related

Login and registration page path in ASP.NET MVC

I am a newbie in C# programming and web development. Kindly let me know how I can find the code files for the login and register page in ASP.NET MVC.
I created this simple web app using this crash course; https://www.youtube.com/watch?v=BfEjDD8mWYg&t=909s.
This is the screenshot of the page I want to locate and alter. I want to change the text next to the login and registration forms.
Looking forward to getting a reply from anyone who can help.
Thanks in advance
I tried looking in all the files, like the css file and all the files in the views folder, but I could not find the file I want to change the text on the registration and login page.
I check the video you provided and find that he created a project with Individual User Accounts, So the project will generate Register and Login page Automatically, But you can't find these pages in your project.
If you wanna find these pages, You need to Scaffold Identity:
From Solution Explorer, right-click on the project > Add > New
Scaffolded Item
.
From the left pane of the Add New Scaffolded Item dialog, select
Identity. Select Identity in the center pane. Select the Add
button.
Select pages you want to create, Here you can choose Login and Register page, Then To use your existing data context, select at least one file to override. You must select at least one file to add your data context.
After you finish these steps and generate page successfully, You will find these pages in Area/Identity/Pages/Account/... ,Then you can edit them.
More information you can refer to this Docs.

Angular2 sub directory of umbraco

I have an umbraco application. I want to integrate angular2 sub directory as a part of umbraco application. If some one type UmbracoURL/Inventory, I want to show angular2 Inventory application. Can any one provide me a solution please...?
Is the Angular2 app a single page app? In that case you can integrate it as part of the Umbraco application.
You'll need to create a template in Umbraco with you Angular2 application, perhaps introduce a new documenttype called Inventory? Then create a new node called Inventory at root level in the Content tree, set the template to new Inventory template. And you should be able to access the angular2 app through the /inventory url.
If you want to use the content of a physical directory in Umbraco, you'll probably have to change the Umbraco/MVC routing

When creating custom content editor (Editor tab) in sitecore, what the format of URL should be if I have desired aspx page in another VS project

When creating custom item editor in Sitecore(Editor tab), only required field is the Url, which will point to the .aspx page. Where this .aspx page should be added and what URL should I type. I've created a web application in Visual Studio and an aspx page with the desired functionality in it. This web application isn't related with my sitecore project. How to specify the URL to this page. Or should I add this page somewhere to sitecore project? Thanks in advance.
Go to core database, then in content editor go to /sitecore/content/Applications/Content Editor/Editors item. Create new folder item here if you like and inside create new item with this template: /sitecore/templates/Sitecore Client/Content editor/Editor (you can copy any existing editor item into your folder). You can set header, icon and Url (any url, absolute e.g. http://stackoverflow.com or relative e.g. /sitecore/shell/Applications/Media/Media Folder.aspx).
Now go to master database and set this editor in Editors field (inside template or specific content item)
I think you should move your Page.aspx inside sitecore project (in layout folder or custom one)
then url should be /layouts/Page.aspx

ASP.NET MVC browse folder/file dialog

There is a page on my site that asks the user enter in a path to a folder/file. This folder/file exists on the local machine. Instead of having the user type out this directory, I would like to have the user choose the path via some sort of pop-up where the user can browse folders/files on their local machine. Once a folder/file is chosen in the dialog, I would like the path of this folder/file to be displayed in a text box ready to be submitted to the server.
I have searched all over Google and this site in search of a solution that fits my particular needs. Please remember, I need this to work for both folders and files.
For example, instead of having the user type in "C:\Users\Me\Desktop\MyFile.txt", I would like them to be able to browse for this in a dialog. They should also be able to select a folder like "C:\Users\jselesky\Desktop\". I am using ASP.NET MVC3 with C# for my web site. Thank you.
If you want path and name of existing file then you can simply use <input type="file"> in HTML.
And if you want file path and name for saving a file.. then Me too searching for the same answer...

Fine control over Joomla URLs

I would like to convert my existing website to Joomla. However, I need finer control over URLs than I seem to be able to control with Joomla. Assuming that Joomla is installed in the base public_html directory of my user, I would like these pages to keep their URLs:
http://dotancohen.com/howto/rtl_right_to_left.html
http://dotancohen.com/eng/genealogy.php
http://dotancohen.com/heb/contact_info.html
I am aware that I could use a 301 redirect via .htaccess however I would prefer to actually configure the canonical URL of the page. Is this possible in Joomla or with an extension?
Unquestionably, the defacto standard extension is At http://extensions.joomla.org/extensions/site-management/sef/10134. It's highly configurable, well supported, and ver well rated.
In Joomla! 2.5 you can use the built-in Redirect component to catch old URLs and send them to the right content without fiddling with the .htaccess.
You can also create menu's and menu items that will match the old paths then all you need is to place the content of your .html files into suitable articles. Remember you can create a menu (and thus a path to the content) but not display the menu anywhere on the site.
The genealogy.php appears to be a separate application so you can approach that by doing two things, first have a /eng/ directory on your new website with the genealogy.php application in it that way it will have the same URL. Then if you want to create a menu item in a Joomla! menu then you can link to it using a menu item of type 'External Link' - you can read more about the menu types by clicking on the help button in the toolbar.
[EDIT]
For external pages if you want to wrap the external application in your template use a menu item type of Iframe Wrapper this will place them in the main component area of the template. With a good Joomla! 2.5 template you can use a template style specific (i.e. layout settings) for that page.

Resources