Orchard About us Page in Solution Explorer - visual-studio-2013

I am new to Orchard CMS. I have created an About-Us page from the admin Dashboard.
Now, I want to put javascript on About-Us page only. Kindly tell me where can I find the About-Us page in solution explorer of Visual Studio? Or is there any other way to achieve this?
PS: I am using Orchard 1.8.
Thanks

I do not think, i quite get it.
here is the view for the dashboard: \Orchard.Web\Core\Dashboard\Views\Admin\Index.cshtml
Adding javascript to any view is done by using Script.Include([PathToResource]) or Script.Require([NameOfResource]) and/or #using (Script.Foot()) { [InlineJavascript]}
If what you are asking is, How to add javascript to a page created with the Page Content Type then you need to add Parts to your ContentType.
A good start will be Vandelay.Industries 1.8 (the latest), but there are others.
Enjoy!

Related

How would I move from the default ASP.NET layout to another theme

I just started to use MVC for a simple website. Very new to this.
I am trying to change from the default layout to a simple layout page with sidebar navigation with drop-down list capability. Something similar to one that is shown in the enter link description here
Could you please guide me through this? I have downloaded the HTML, CSS and js files.
I added them to the project and referred to them in the bundleconfig.cs. But still no success.
Thank you very much

In Visual Studio 2010, how can I edit the content of an aspx page with master page in design view?

I've noticed that whenever I add a new asp.net with a master page to a project, I am unable to edit it in the design view. I am able to see the master page content and an element that says ; however, I am unable to edit the content. I'd like to drop things in there and adjust their properties but I am unable to access them in the design view. How can I accomplish this?
Thanks!
I am ignorant. For anyone who has the same problem, be sure that your content is not wrapped inside a user control. I did some testing and found that was the problem.

Joomla Community Builder profile template

I have installed community builder on my Joomla installation. I need to understand the Community Builder templating. I cannot understand where templates are and how can I override them. Can I override them by placing files in my site template's html folder, the way Joomla does or else it gets harder to maintain.
Another small problem: I wanna redirect to the profile page after logging in from the CB login page instead of the page that say Hi %username% with a Logout button.
Thanks for all the help in advance.
I appreciate it.
CB templates are found in the CB plugin manager located through components - CBuilder - Plugin Management, There are a few default templates but most decent ones are commercial, If you happen to find any free ones please let me know.

Making a different type of home page in Orchard

I've just started with the Orchard CMS and I can see that I can create a page and have different widgets on them, but I need the homepage to have a different layout.
I'd like to have some sort of different cshtml file for the homepage, but I can't seem to work out how to do it from the documentation. I also need to have four text areas on the home page that aren't on the main page.
Can someone who has done this point me in the right direction?
You should use designer tools module if you are using Orchard 1.1 +. Just search for Shapes in the admin and install the tools. Then you can create Alternates by reviewing the shapes in-browser.
In your case you should be able to create a view with the name: Content-url-homepage.cshtml
This may help you, it's a post I found about making your own themes and is a fairly simple example but covers what you are looking for:
http://www.nogginbox.co.uk/blog/theming-orchard
/Views/Content-11.cshtml
I wanted to display the content on my
homepage slightly differently than
other pages. My homepage has an ID of
11 so I was able to reference it with
a file called Content-11.cshtml. I
could also have created a template for
all blog post content using a file
called Content-BlogPost.cshtml had I
needed to do so.
You can try this to vary the homepage layout: http://weblogs.asp.net/bleroy/archive/2010/12/14/switching-the-layout-in-orchard-cms.aspx
Orchard 1.1 will also give you a homepage alternate out of the box.

How to develop regarding lookup on custom aspx page?

How to develop regrading lookup on custom page where we are updating the existing task. This page looks same as MS CRM task page. Now here how to get the regarding and owner lookups on custom aspx page? How to develop the Notes tab on custom page?
Any help would be greatly appreciated.
There is no SDK that is available for free with CRM, and you cannot reuse the CRM stuff, because it's not supported. But if you want to replicate the exact same behavior, there is a couple of solutions out there. Take a look at http://nishantrana.wordpress.com/2009/06/08/filtered-lookup-crm-4/

Resources