orchard module new appeared in the list - orchardcms

I've followed this tutorial to create a simple module based on the tutorial and I followed it as it says, yet I can't find the new added module in my modules list, the class library is placed under Modules folder and it has exactly what it was explained in the tutorial. any help & suggestion would be helpful. thanks in advance.

I would follow this tutorial instead: http://docs.orchardproject.net/Documentation/Command-line-scaffolding. Use the command line to create modules in Orchard and set IncludeInSolution to true.

Related

Defining API class in component based structure

I have been reading the 'Node JS Best Practices' Github article. One point that I I found interesting was the very first best practice. Here they split up the project structure based on components. One of the advises was to use functions and classes outside the component by defining them in an API class. But I can't find any examples on how such class should be build.
This is the link to the Github article:
Component bases project structure
You Just Connect Your Main Index file .
every script File Then AutoLoad Practices.
Var myVar2 = require('./your_file')
You can have a look at this, if you wanna structure your project in different parts and make that more readable.
Im attaching one of the boilerplate link of github since, it will be huge to tell you everything here, just look at this setup you will know everything.
check this link for boilerplate.
If you have doubts let me know.

underlying code for the node red modules

In node red, each module has a javascript running in background. When I drop in a http module the corresponding javascript is run. (Please correct me if my understanding is wrong).Where would these codes reside? If I want to create a new module by modifying the existing where should i make changes?
node-red is an open source project available on github here: https://github.com/node-red/node-red
The code for the default palette of nodes is here: https://github.com/node-red/node-red/tree/master/nodes/core
If you want to find out more about how to write your own nodes, there as a guide in the documentation here: http://nodered.org/docs/creating-nodes/
If you have any questions, you are best served on the mailing list here: https://groups.google.com/forum/#!forum/node-red
Nick

Can I display multiselect list items as onordered list using Razor?

I was wondering if this is possible with razor syntax (I have found that there are other ways that utilize jquery). Please point me in the right direction if you know one. I am working on a MVC 5 project.
Thanks.
Yes, this is possible by creating custom html helper methods. Refer this little example which would be helpful.
Video version of tutorial

Modify Orchard Archive Filter

I am new to Orchard CMS may be this can be easily achievable I don't know how to do it exactly as i have searched a lot on Google. I have a blog where I need to display the archive in drop down Eg :
I checked the blog module and I don't know how can I filter it so that I can get this. Do I have to create a new module to achieve this or a tweak in the Blog module will work. I Read the sky-walker tutorial to understand how to create a module but i don't know how to achieve this.
You need to override the Parts.Blogs.BlogArchives.cshtml, very easy. That is what Orchard is all about. you can read more about it in the documentation.
Check this Accessing Shapes , for starters.

WinRT C++ assign a named style to an element programmatically

I have created several styles in the Application.Resources (App.xaml)
Was going to set these styles dynamically as the app was running.
I can not find a way to read the the App.xaml file in C++.
This is an example of what I have tried:
ResourceDictionary^ rd = ref new ResourceDictionary();
rd->Source = ref new Uri("ms-appx:///App.xaml");
Then I can not find any documentation of using the rd object!
I have found a lot of examples of read the resources from C#, but I have found no examples in C++
Even some of the MS documentation says "No code example is currently available or this language may not be supported." WTF!!!!!!
I have no choice in the language the app is being developed in. I am finding it extremely hard to do simple thing with C++/xaml. I have tried the same tests using C#/xaml and this just works (usercontrol binding/template binding with custom controls).
Can anyone give some guidance or direction where to look for this information.
thanks

Resources