blogifierdotnet / Blogifier

Blogifier is an open-source publishing platform Written in ASP.NET and Blazor WebAssembly. With Blogifier make a personal blog or a website.
https://blogifier.net
MIT License
1.28k stars 518 forks source link

newsletter and change of themes. #187

Closed gkaya closed 4 years ago

gkaya commented 4 years ago

Hi,

Just made a deployment to http://blog.gkaya.com/ to experiment with the solution. Started good, DB is seeded and my test posts are all ok.

I'm having 2 problems:

1) Newsletter does not work. Subscribe button does not seem to trigger anything. 2) As far as I understand star button changes the selected theme in the admin, when I star another one I started to get "Request failed with Status Code 405". It was working fine before.

I have following line in my web.config " `

    <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
  </handlers>

` "

Best regards Gokhan

gkaya commented 4 years ago

I've added following lines to web.config and theme change started to work.

Newsletter subscription still doesn't work though. `

<security>
    <requestFiltering>
        <verbs allowUnlisted="false">
            <add verb="GET" allowed="true" />
            <add verb="POST" allowed="true" />
            <add verb="DELETE" allowed="true" />
            <add verb="PUT" allowed="true" />
        </verbs>
    </requestFiltering>

`

gkaya commented 4 years ago

well, it turns out that the newsletter problem is a bug in "moments" theme. newsletter subscription works when I change to paperkit theme.

I just learned from another post that only Standard theme works properly as of now, fyi.