How to create a feedback page using Orchard CMS?

I am very new to Orchard CMS and am working on creating a feedback page in my project.

I created a content type that contains a body, a text box (TestimonialBy), and tags (for SEO purposes) called "Feedback." Now I need to create a page on which all my reviews will be displayed.

I can create content for the review, and it is displayed by navigating to the review URL, however now I need to create a test page (localhost / reviews) that will accept ALL published reviews and collapse them on one page so that I can:

Content 1 -name tester

Tester 2 -name recall content

etc.

My question is: how do I do this?

+4
source share
3 answers

You should create a content type, as you have already done, with the following parts:

  • Title Part (if you want it to have a title)
  • Autoroute Part (if you want it to have its own URL)
  • Body (for content)
  • Tags

Then turn on the projector module.

Then create a query that indicates your new content type.

Then create a new projection (or you can also use the projection widget) to display the content items returned by the request.

Updated for Orchard 1.4 +

+4
source

You should start by reading the documentation in the Orchard Project , in particular the Garden Extension section, which shows how to create your own modules and parts of the content.

You can approach this in several ways - you can simply edit the HTML page of the recommendation page, and this is by far the easiest.

Another way could be to create a victorious witness that allows you to enter a name, quote, description, etc. in the widget editor. You can then create a layer with the page URL as part of the rule and simply add widgets to the content area. Since the widget will be controlled by part of the content, you can also add reviews to your pages, blogs, custom content types, etc.

Another way would be to record a controller for the admin interface, which allows you to do CRUD for review entries. Then you can write a piece of content that lists these. Then you can add this piece of content to the page, widget, etc., And with a few additional steps add parameters so that you can control the reviews that are shown based on each piece of content.

Ultimately, there are many ways in Orchard to do such things, it just depends on what you need and how much time / effort you want to make into it.

+1
source

Hm. It sounds very close to a blog post. You may be able to create a blog with reviews and fill out messages with the content of the review.

Or you can add the contained part to the test content Type and add reviews to the list.

Hope that helps

Dan

+1
source

All Articles