by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 12 01:41

    jtkech on patch-1

    (compare)

  • Apr 12 01:39

    jtkech on patch-1

    Update ZoneShapes.cs (compare)

akim-green
@akim-green
I had to run the build locally to see that error though; unable to see detailed error messages like that when it was running as an app service
CrestApps
@CrestApps
@deanmarcussen Can you please help me out? I am trying to figure out how what actually displays widgets? I want to hook into the part that displays the widget so I can change its content on the fly.
11 replies
CrestApps
@CrestApps
I am trying to understand the request lifecycle. when a request comes to the app, how is it handled and where is it routed?
Safemark-Jimmy
@Safemark-Jimmy
@Sen-Gupta yes
I actually can~
      _contentDefinitionManager.AlterTypeDefinition("product", type => type
            // content items of this type can have drafts
            .Draftable()
            // content items versions of this type have saved
            .Versionable()
            // this content type appears in the New menu section
            .Creatable()
            // permissions can be applied specifically to instances of this type
            .Securable()
            .WithPart("TitlePart")
            .WithPart("MarkdownBodyPart")
            .WithPart("BagPart")
            .WithPart("product")
        );
above code, I am able to create content type.
Safemark-Jimmy
@Safemark-Jimmy
But, I am now wondering, how could I assign text to tile and Markdownbody programmatically? does anyone know that?
David
@ChocoMachine
Is it possible to use the placements.json to override the default Taxonomy's template of "Content__Taxonomy" for a give taxonomy Item. ? The default template seems to output a treeview of terms in anchor tags. I was hoping to do more with this, but don't want to change the default layout for every taxonomy. ? any tips appresiated.
4 replies
ruisdias
@ruisdias
Hello,
I have an type which as a bagPart of another type.
Why I update the parent type in the bagpart it always create a new instance of itself?
Is there any way to not make this?
Dean Marcussen
@deanmarcussen
@ruisdias I believe I changed this behaviour a few months back (you mean you always get a new content item id on the bag item?)
ruisdias
@ruisdias
yes @deanmarcussen
I might be with a old version aswell
we are using 1.0.0-rc1-12449 when it was in nightly version
the version in nugget package rc2 it might have those changes?
captmomo
@captmomo
image.png
image.png

Hi,

Why does it show TheTheme when I deploy it to IIS:

The top picture is when I run it in VS
captmomo
@captmomo
            services.AddOrchardCms(opt => {
                opt.ConfigureServices(services =>
                {
                    services.AddMvc();
                });
            });
I can use this in 1 project, but in another, it doesnt work.
Am I missing something?
captmomo
@captmomo
I noticed the error happens when I use the template command. WHat is the difference between using the template command the steps outlined in this link? https://docs.orchardcore.net/en/dev/docs/guides/decoupled-cms/
mohsinxmushtaq
@mohsinxmushtaq
can i use lombiq dojo course 2 for advance module development in Orchard core ?
Jean-Philippe Tissot
@jptissot
Is there a way to access the top level ContentItem from a widget ?
Jus
@Jus56288672_twitter
In OrchardCMS (using Blog theme) how can I dynamically change the links in the Menu based on user status? For example, when the user is logged out, it should say "Sign In" and "Sign Up" and when they're logged in, it should change to "Create Blog Post" and "Sign Out"
Any information would be greatly appreciated
Dave Black
@daveblack101
@Jus56288672_twitter there might be a better way but this will do it:
{% if  User | has_permission %}
         Log out
{% else %}
          Log in
{% endif %}
Jus
@Jus56288672_twitter
@daveblack101
@daveblack101 Thank you for the reply. I'm having a hard time figuring out where to put this liquid template, given the main menu area of the Admin page only allows you to add links statically
Dave Black
@daveblack101
I thought you wanted to modify the blog theme. I don't think you currently have the ability to do this in the admin UI
Scott McClure
@scottiemc7
Hello! I’m hoping someone can point me in the right direction. I’d like to use orchard cms to manage multiple tenants. What’s the best way to prevent access to certain settings in each tenant for my users, but still allow me to access and manage those setting for them? Similarly, how could I prevent them from installing certain features? Thanks for any help
captmomo
@captmomo
@Jus56288672_twitter you can override the menu template, and include the checks to conditionally render.
Jus
@Jus56288672_twitter
@daveblack101 I am using a self modified version of the Blog theme, so I do have access to the underlying liquid templates. Changing the Menu-* .liquid files seems to do nothing
@captmomo Thank you I'll try this
captmomo
@captmomo
Where can I find the source code for the Input Widget? would like to alter the view
captmomo
@captmomo
image.png
I'm following the form tutorial; but the inputs have no padding;
CrestApps
@CrestApps
What is the entry point of OrchardCore? What handles the routes or what is the default action/controller/page that handles the main page request?
JimmyLiu7323
@JimmyLiu7323
Hi, does anyone know how to upload img programmatically
JimmyLiu7323
@JimmyLiu7323
Am I able to do that, create img in code?
ahmedtabba
@ahmedtabba
Can I Know the number of visitors of specific artical or page with orchardcore
?!!
captmomo
@captmomo
image.png
@CrestApps it's the homeroute setting,
1 reply
captmomo
@captmomo
image.png
I notice the label widget shows the title and the name:
captmomo
@captmomo
Also I followed this tutorial; https://docs.orchardcore.net/en/dev/docs/reference/modules/Forms/ but when I submit I get redirected to the workflow HTTP action, instead of the form doing a post to trigger the workflow. Any advice on how to proceed?
captmomo
@captmomo
After experimenting, using a form created with raw HTML, the form works as expected. using the form widget it fails.