Admin Theme Url Alternates - Orchard CMS - orchardcms

In admin theme, how can you define url alternates: for example: content-url-admin.cshtml is not working

Please, check here: http://orchardpros.net/tickets/9105. JUst keep directory structure and everything seems ok.

Related

Location of configuration for dashboard URL

I'm trying to log in to the Orchard Dashboard, but in the instance I'm working with, it has been configured so as to not show the log in link to the bottom, like the default theme does.
I've tried a bunch of URLs, including OrchardLocal/Admin and I get a 404. Is there a specific place to change the default URL for security purposes ?
I've tried looking in various XML files that have DetailsRouteOrchard nodes in them, but I have not found the URL for the dashboard.
Any ideas ?
Thanks.
Change the Project URL (like http://localhost:30321/OrchardLocal) in Web under Project properties and created new virtual directory.
Source : Orchard Dashboard is missing

How to change the site uid in hybris

I am trying to change my site uid(mangou-uk to mg-uk) in hybris. I changed in hmc but getting 400 error when I click on homepage category links and also in some other pages. What are the steps to follow to change site uid in hybris. Can anyone help me on this please.
Have you also changed the below properties in your local.properties file?
media.mangou-uk.http=http://localhost:9001/
media.mangou-uk.https=https://localhost:9002/
website.mangou-uk.http=http://localhost:9001/
website.mangou-uk.https=https://localhost:9002/
If you change your site uid from mangou-uk to mg-uk then you would also need to amend these properties accordingly, e.g.:
media.mg-uk.http=http://localhost:9001/
media.mg-uk.https=https://localhost:9002/
website.mg-uk.http=http://localhost:9001/
website.mg-uk.https=https://localhost:9002/
(the URL's might be different of course depending on your environment)
Have you restarted Hybris ? Usually this is cached in your session by the DefaultUrlEncoderFacade so most likely a restart would be enough.
Or try to delete and recreate the storeFront url Encoding Attribute from the HMC if you can't restart.
Did you also adjust the "URL Patterns" accordingly in the hmc?
It's under WCMS -> Websites in the hmc. For your website you will have to adjust the URL Patterns (in the Configuration section) . At least you have to do that in case you use the ?site=SITEID parameter approach.
Changed the site uid in hmc.
Changed the base store uid in hmc against the each website.
Changed the properties as suggested by #Alexey
Now its working fine.

Inherit look from rootsite

I'm trying to get my subsites to inherit the look I configured (under site settings > look and feel > change the look) on the rootsite. How do I do this? Thanks in advance!
I'm using Office365 (Sharepoint online).
Generally, according to the article below, the subsites will inherit the theme from the parent site. Here is the article link:
look and feel inheritance
By the way, may I know whether your subsite is from another template? If so, please follow the instruction below:
1) Since the link of Master page setting is hidden, you can change the URL to the setting page by two steps.
Copy your site URL and remove the target of URL after the default URL. See the example below:
Root URL : https://XXX.sharepoint.com/SitePages/Home.aspx
Change to : https://XXX.sharepoint.com/
Add the ‘_layouts/15/ChangeSiteMasterPage.aspx’ behind the URL from step a. See the example below:
Root URL: https://XXX.sharepoint.com/
Change to : https://XXX.sharepoint.com/_layouts/15/ChangeSiteMasterPage.aspx
Note: if you get the error message, please go to check the publishing featureon Team Site.
Per my test, you need to enable SharePoint Server Publishing feature if the subsite is not a publishing site.
Then when changing the look of rootsite, the look of subsite will get changed too.

Using a Web Site Document with an XPage - how to setup correctly?

I have set up a small XPage and have until now used the full path to the Xpage for testing, i.e.
http://devsrv1.magerman.ch/Development/Schulungen/Schulungen1_0/Schulungen_(1_0)_Dev.nsf/HomeWithDataView.xsp
I then tried to apply a Web Site Document
But the links are no longer currently functioning. I have the feeling that I'm missing something pretty basic, and am unsure as to what the best practice is. I'm quite happy with having the original request to the hostname resolve to a full path, i.e.
input
schulungen.magerman.com
and have it resolve to
schulungen.magerman.com//Development/Schulungen/Schulungen1_0/Schulungen_(1_0)_Dev.nsf
but haven't found a way to do this elegantly.
At the moment, my relative links '/OtherXpage.xsp' fail as they try to get to schulungen.magerman.com/OtherXpage.xsp
Any pointers?
Create a Web Site Rule. You can create it from your Web Site document in edit mode with action button " Web Site ... / Create Rule".
You can find a description how to fill the fields here.
The problem is usually that you need to add a trailing slash to the hostname
http://www.xpagedeveloper.com/2013/quicktip-get-right-path-when-autolaunching-an-xpage

How to rename a site in Sharepoint 2010..?

I want to know how to rename the url in sharepoint site.
For example, my existing site url is
http://example.com/sites/Test/Lists
I want to change it to
http://example.com/sites/Issue/Lists
Please let me know.
Thanks in advance.
Regards,
Naveen
Possibly a bit late in the day for this, but:
1) Go to the sub-site
2) Site Actions > Site Settings > Title, Description, and Icon
3) In the Web Site Address section, change the "URL Name:" field to whatever URL extension you prefer.
Create the new link and forget about the old one would be rather easy....
OR
Once you've created a site the URL you originally specified can't be changed. The only way I know of to rename a site is to use STSADM and do an export of the site and then import it with the new name. The subsites would need to be moved underneath the new site which could be done through Manage Content and Structure if you are using MOSS w/ publishing enabled
#From
http://social.technet.microsoft.com/Forums/en-US/sharepointgenerallegacy/thread/dbbe2a2e-df60-45d1-951d-07fd8dbacdda
​Once you've created a site the URL you originally specified can't be changed. The only way I know of to rename a site is to use STSADM and do an export of the site and then import it with the new name.

Resources