Custom Module Not Showing Under Widgets - orchardcms

I am creating a custom module for "latest news" type of functionality. I have been following the docs on the Orchard website (http://docs.orchardproject.net/Documentation/Getting-Started-with-Modules-Part-1) and despite following this tutorial I cannot see the widget show up when I click on the "widgets" from the admin in order to assign it to a layer.
I am able to enable/disable the module and it appears to be working correctly on this page, but it doesn't show up on the Widgets section of the admin.
I have spent hours trying to find any answers, but haven't been able to so I'm reaching out here in hopes someone can offer some advice. How do I get my custom module to show up under Widgets? All I have done at this point is followed along with the tutorial they have on their website.

You need to create a ContentType that - as #devqon stated - has the CommonPart and WidgetPart attached, and it's stereotype is set to "Widget".
Have look at Orchard Doc's tutorial on writing a widget.

Related

Unable to add ListFolder to Mobile App - even according to documented example

I am trying to add a ListFolder to the Main menu of the Mobile app. All I am doing is trying to follow the directions in the attached 2019-R1-Mobile-Framework-Dev-Guide as published by Acumatica.
It does not work. What is very odd, is that I can add all of the HubFolder’s I want. That works perfectly. But I can NOT add a ListFolder.
Does anyone know why that would happen?
There are no errors. It just does not work.
This is NOT well documented. How you need to do this is a two-step process.
you create the "update sitemap" and add those "item" entries there
then you must create separate "add screen" options
This was not clear at all in the documentation anywhere.

Acumatica Wiki Binding to Custom Page

Is there any way to bind wiki article to my customized page.
For example, I have developed new page with pageID "PO309999".
Then I have created new Wiki Article with articleID "PO_30_99_99".
But when I click on Help for my page
There is no article to show in this view.
I have looked for this in Documentation and don't understand what is missing.
The answer is Yes to creating a wiki article linked to a custom pages (you can do it for generic inquiries too). We have many configured this way.
I created my first wiki article linked to a GI (should be same for custom page) by doing the following:
Make sure your custom page or GI is in the sitemap
Create the wiki article using the name of the page as you have done ("PO_30_99_99" for example). I also set the wiki article name to the same name as the sitemap entry title - but not required.
The wiki should now be linked to the new article.
You might want to try these steps over again by deleting the article you are having trouble with and trying again to make sure the correct references are auto generated by Acumatica. This could be a problem if you created the wiki article before your sitemap entry existed.
As Needed: The person that does our articles sometimes goes into SQL to changes some values to get things to work (could be old habits as the wiki packaging was improved over previous versions). You can do this via export of the article, modify the xml, and re-import if needed without going into sql. This assumes you want to keep your current article. Otherwise should be able to in the UI.

Link to pimcore object from within plugin

I'm developing a plugin that I would like to link to the existing admin interface components - i.e. link from a grid view to an object crud screen.
I know I can do this using deeplinks like in the examples here.
However I want to maintain my open tabs.
Im using Pimcore 2.0 release. This I would have thought would be a standard feature in the admin section?
Anyone?
Cheers
You should handle grid item click and call pimcore.helpers.openObject(id, type);
For reference you can check onTreeNodeClick handler in pimcore.

Migrating from Blogengine.net to Orchard

I have an existing blog/news site that runs on BE.net 2.6 and i would like to migrate it to Orchard. Right now i am testing the migration locally. I exported the BE.net posts as Blog ML and imported into Orchard. Two rubs - one) Orchard does not pick up the tags in BE and instead see the categories (of which there are only 3) as the tags and two) my excerpts in BE do not appear in Orchard after import. My excerpts typically have short text and an image and i want to be able to show those in the page that lists all the posts. But i do not want the image to appear in the details page. I found the fork of Blog ML that should allow tags to be brought corectly except when using that version the Blog ML options in the dashboard are not present.
You can see the live site (running BE 2.6) here http://nomorecocktails.com. I'd like the listing of posts to appear the same way with the excerpt and image in orchard. And if you can help figure out how to get the tags in too. I'd rather not have to go back through and edit the posts in orchard to ad the tags.
Thanks for any help.
I am the author of the BlogML Module. I have had a few reports of BlogEngine.net exports not going in to Orchard correctly, inparticular the Tags...
The people whole reported the initial problem did soem investigation for me and found that the Tags actually dont appear in the export file, i.e. the BlogEngine export does not export the Tags.
Could you please verify this for me? If this is not the case, please reply and I will contact you to get hold of your BlogML file and test the import locally.
The excerpts do not appear in Orchard because the BlogML module was built to only interface with the defautl implementation of the Orchard Blog module. This decision need to be changed. I think Excepts should be going in to the system, and will built it in to the module that will superseed the BlogML module. (https://orchardimportexport.codeplex.com/)
Nick

How to secure content in Orchard CMS

I'd like to use the roles and membership ability of Orchard CMS to limit access to a staff portal in Orchard CMS. At present there doesn't look like there's an out of the box way to do it.
I've found numerous references to modules that should be able to help out but none seem to work.
Very Simple Permissions is a codeplex item suggested by some that has a dead link nowadays and doesn't seem to exist on codeplex.
Science Project: Quanta destroys my site everytime I try to install it with a missing dll issue, and not sure if its what I need anyways.
Does anyone have any guidance as to how to either: show/hide menu items based on roles using the standard menu system or advanced menu plugin
or
limit content visibility based on roles. If its a module fantastic, otherwise don't mind getting my hands dirty with some coding but a point in the right way to do this mvc style would be great. I'm going to presume I need to edit the controller for the menu module to check for current membership and adjust the view data accordingly. I'm moving away from webforms. slowly. Still getting my head around the framework.
Thanks for checking in.
For those who are still struggling with this, there's a module is called ContentPermissions which is available here:
gallery.orchardproject.net/List/Modules/Orchard.Module.Orchard.ContentPermissions
Once installed, you can then add the ContentPermissionsPart to the Content Type you want to secure.
Quanta really is what you want. You are probably missing one of its dependencies. Pete, the author, is also super-active on the CodePlex forums so if you ask there, you'll get an answer.
UPDATE: Orchard 1.5.1, the current version as I'm writing this update, supports content item permissions and menu trimming out of the box.

Resources