Unable to change component name & no notice of success

Create issue
Issue #20 resolved
bittheory created an issue

Hi There, Very new to OctoberCMS. I want to change the layout of the add comment form.

I created a new partial called CommentsForm/default.htm, changed the name of the component to CommentsForm. Copied the contents of the component (after clicking the git branch like icon) and copied into my new partial. Changed the comment list heading from just "Comments" to "Comment List" to see if correct form is being shown.

The edited comment form appears but is unable to save just get browser popup "The component 'comments' is not found."

Removed changed component, added from fresh and saved. Can post comments. Clicked the git branch icon to expand code, saved the page and got above error message.

Tried renaming new partial to comments/default.htm. Same issue.

Also when saving a comment is successful, there is no indication to the user that comment has been saved. Screen refreshes and comment info disappears. Comment has been saved though, can see it in backend. {% framework extras %} has been added to theme.

Regards, Fred

Comments (3)

  1. Alexey Sozonov repo owner

    Hi! You can find more info here

    Also when saving a comment is successful, there is no indication to the user that comment has been saved. Screen refreshes and comment info disappears. Comment has been saved though, can see it in backend. {% framework extras %} has been added to theme.

    Do you have any errors?

  2. Log in to comment