Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Crispin Flower
@CrispinF
The category issue is resolved... was about case sensitivity.
Michele Romano
@MicheleRoma
Hi @joeaudette , I'm new to Cloudscribe and I have some trouble with custom features based on cloudscribe todo sample, see detail @ https://docs.google.com/document/d/1izNLqivFPtZAZGQCfboWqM92xYnbtJXPi8Oaesir3Jc/edit?usp=sharing.
Thanks a lot!
Michele
Counos Dev
@counos
Hi, @joeaudette . I have some web sites developed by Mojoportal, and now I decide to migrate them to cloudscribe based CMS.
is there any procedure about how can I import data from Other cms?
Counos Dev
@counos
Also I can't find how can I add content to a page, is there any toturial ? I see that each page has one editor but how multiple content ( for example creating a landing page ) can be added to one page
Crispin Flower
@CrispinF
@MicheleRoma welcome to cloudscribe - I missed your post here until now. See my reply in the forums - can you give some more info?
Crispin Flower
@CrispinF
@counos also welcome! Great to hear you're going to migrate some sites from mojoPortal to cloudscribe. The database structures behind cloudscribe are nice and easy to understand, so migrations at database level from other CMS should be possible. We can help if you have a big challenge. It is also possible to import into the blog from another blog's RSS feed - there's some sample code for this if you are interested. Adding "SimpleContent" pages and their content is achieved with the "New Page" and "Edit" tools which should appear near the top right of the screen when you have a site running. More general ifno here https://www.cloudscribe.com/cloudscribe-simplecontent Page content can be any html created in the editor, or made with the in-built templates, or you can develop your own templates (e.g. for a complex landing page).
Counos Dev
@counos
@CrispinF Thank you for your reply. Ok, I will try using Cloudscribe and hope I can create nice website. I will ask more questions here soon :)
Counos Dev
@counos
https://bootswatch.com/ offer some professional themes, Can we convert them to cloudscribe easily ?
Crispin Flower
@CrispinF
@counos the free bootswatch themes are already included if you create a cloudscribe project using the Visual Studio template; see https://www.cloudscribe.com/themes-and-web-design for more guidance
Perry Raleigh
@PerryRaleigh
Is it possible to replace the root page with a different page?
Crispin Flower
@CrispinF
Hi @PerryRaleigh are you talking about a cloudscribe SimpleContent site?
Perry Raleigh
@PerryRaleigh
@CrispinF , yes it is a SimpleContent site. I basically took the defaults with the VS project template except I added the simple contact form.
Perry Raleigh
@PerryRaleigh
@CrispinF , I'm also thinking maybe I just start a new project since the defaults included NoDb and some of the commercial addons require a database.
Crispin Flower
@CrispinF
@PerryRaleigh note the template gives you some different options for how the SimpleContent pages and posts are wired up, which has implications for the home page. Let us know if you have any problems or more questions
Perry Raleigh
@PerryRaleigh

Hi @CrispinF , I created a new project using the Pages and Blog with Home Controller as default route. I also selected MS SqlServer for the database. The site comes up in debug on my local machine, but when I publish it I get the following error: HTTP Error 502.5 - Process Failure. I believe it has to do with the database since there are no tables in the database I created on the host. I did put in the connection string information during the publish task and there is now a appsettings.production.json file in my production environment with the correct connection string. Here is the connection string (with the password redacted): "Server=.\MSSQLSERVER2017;Database=intellectable_db;UID=dbuser_ia;PWD=*;Trusted_Connection=True;MultipleActiveResultSets=true"

I believe the issue is with the publish task or some sort of startup process that I'm missing. Any guidance would be helpful.

Crispin Flower
@CrispinF
A few possibilities... Trusted_Connection=True is not compatible with supplying user and pwd. Use one or the other. Does your sql login have rights to create the structures? Make it dbo for now. Enabling stdout logging in web.config can help diagnose start-up problems; create a \logs folder and give the application pool write permissions on it then try your site again.
Crispin Flower
@CrispinF
@PerryRaleigh just wondering if you solved it?
Perry Raleigh
@PerryRaleigh
Hi @CrispinF , I have not. My mother is in hospice care and I have been focused on her for now. I believe it is an authority issue and need to submit a support ticket with the host to see if there is something I need to do or change in that regard.
Arnold Siboro
@asiboro
How to delete a site in cloudscribe? I can't seem to find a menu for site deletion. BTW, I tried to access https://www.cloudscribe.com to ask this question at the forum, but the site has been inaccessible for quite some time. Is it still online?
Crispin Flower
@CrispinF
hi @asiboro sorry we missed your message for a while - no notification. Are you still having trouble accessing the cloudscribe website? Our monitors show it's been up all along but maybe there are DNS problems. Anyway, to answer your question, deletion of tenant sites is by default not enabled, but you can add this into appsettings
"UIOptions": {
"AllowDeleteChildSites": "true"
},
then you should find you can delete a tenant.
Crispin Flower
@CrispinF
To anyone in Asia who couldn't access cloudscribe.com recently - our apologies, and it's open again now. We tightened things up a little too much after some hacking attempts on our servers, and didn't quite get it right! Do shout here if you cannot reach the site.
Arnold Siboro
@asiboro
@CrispinF Sorry I just noticed this reply and thanks. A week or two ago, it became accessible again. I and a friend tried from different countries but it was inaccessible (it kept loading). Yes we were accessing from two countries in Asia.
@CrispinF Sorry to keep asking here instead of cloudscribe.com's forum because this is just a follow up question: May I know the reason why it is disabled by default?
Abdallah Madi
@abomadi

To anyone in Asia who couldn't access cloudscribe.com recently - our apologies, and it's open again now. We tightened things up a little too much after some hacking attempts on our servers, and didn't quite get it right! Do shout here if you cannot reach the site.

Just noticed your message, would you please elaborate what type of attack it was ? is there any security vulnerability in cloudscribe that requires an fix ?

Crispin Flower
@CrispinF
Hi @abomadi @asiboro it was nothing to do with cloudscribe. We run lots of servers for clients in the VIRTUS datacentre, and when our server guys saw lots of unwanted attention they blocked all access from Asia, forgetting we run some global websites from the same datacentre. I hope it's accessible to everyone since we fine-tuned this, but please shout if not.
@asiboro did you make progress with how to delete a tenant site?
Dangelo
@dangelogonzalezquezada
Good morning everyone. Do you know if is possible to use a JOIN with PagedResult<T> for pagination? I am using a viewmodel, and it only works if I use one entity, but cant do it with joins.
JimKerslake
@JimKerslake
Hi @dangelogonzalezquezada No my understanding is that <T> here is any class - most likely the ViewModel that represents one row of the paged data that you want to display. Of course you can query multiple tables in your database using Joins if you need to, but then you would need to map those resultant DbModels back to an instance of the single ViewModel before you can return it to the user interface for display by the cs-pager.
Dangelo
@dangelogonzalezquezada
Thank you Crispin for your time, I will try that.
rickers1
@rickers1
I'm upgrading my cloudscribe from NetCore 2.2 to 3.1. Everything is working except when I try to look at API resources etc I get System.MissingMethodException: Method not found: '!!0 AutoMapper.IMapper.Map(System.Object)'.
at cloudscribe.Core.IdentityServer.EFCore.Mappers.ApiResourceMappers.ToModel(ApiResource entity)
Is it because I use AutoMapper 10 in an included package and cloudscribe uses 8.1.1. Is there a cloudscribe version which uses AutoMapper 10?
Crispin Flower
@CrispinF
@rickers1 are you able to test without the AutoMapper 10 package reference to help identify the issue? We'll look into the version cloudscribe is using and whether that can be easily upgraded.
rickers1
@rickers1
Yes i just finished doing that today. It is definitely the automapper v10. I changed my included package to use 8.1.1 and it works. This is not a sustainable solution for me as it's a utility library used across multiple projects and i don't want to have a different version just for our cloudscribe install. It's used in 6 different packages I'm using in our cloudscribe so if need a different version of each of those.
I'm using the latest cloudscribe packages for netcore 3.1
Crispin Flower
@CrispinF
Thanks for confirming @rickers1 we're looking at either upgrading or removing the AutoMapper dependency in the cloudscribe libraries and will report back soon.
rickers1
@rickers1
@CrispinF Thanks.
JimKerslake
@JimKerslake
Hi @rickers1 - just uploaded some new cloudscribe packages which bring the automapper dependency up to v10, and it resolved the issue in our local test instance. I think you'll need: cloudscribe.Core.IdentityServer.EFCore.MSSQL (or whichever database you are using) at version 4.1.1, plus cloudscribe.Core.IdentityServerIntegration at 4.1.1 and cloudscribe.Core.Web at 4.1.2. Hope that helps.
rickers1
@rickers1
@JimKerslake Thanks for that. I'll test it today.
rickers1
@rickers1
Yes that seems to have fixed my problems also. Thanks for the quick response.
Crispin Flower
@CrispinF
@rickers1 thanks for testing and reporting back - glad we could help.
CasualChameleon
@casualchameleon
Hi, I'm having an issue with cloudscribe.web.navigation. The dropdown menu rendered by the Bs4ChildDropdown view for the Navigation component is not being localised using the MenuResources resx - all of the other navs rendered by cloudscribe.web.navigation components are! "User Info", "Change Password", "Two Factor Authentication" and "Personal Data" are not localising in this menu.
I've tried adding new nodes, which are also not localised. I've also moved the nodes out from the 'Manage' node children collection, and they then localise correctly. It seems to only be the Bs4ChildDropdown view that's not working for me.
Any ideas?
CasualChameleon
@casualchameleon

There's some weird markup generated by the component that I can't find the source for on github. The component renders

<ul class="dropdown-menu sm-nowrap" aria-labelledby="dropdown-Manage" id="sm-16171907971046475-1" role="group" aria-hidden="true" aria-expanded="false" style="width: auto; display: none; top: auto; left: 0px; margin-left: -69.9167px; margin-top: 0px; min-width: 10em; max-width: 20em;">
                <li class=""><a class="dropdown-item" href="/manage/userinfo">User Info</a></li>
                <li class=""><a class="dropdown-item" href="/manage/changepassword">Change Password</a></li>
                <li class=""><a class="dropdown-item" href="/manage/twofactorauthentication">Two Factor Authentication</a></li>
                <li class=""><a class="dropdown-item" href="/manage/personaldata">Personal Data</a></li>
    </ul>

but the view for Bs4ChildDropdown should render

<ul class="childtree list-unstyled">

my knowledge of razor components is a bit spotty though so I figure I'm missing something obvious.

latest cloudscribe packages are installed.
JimKerslake
@JimKerslake

Hi @casualchameleon
There is another version of Bs4ChildDropdown sitting in here:
https://github.com/cloudscribe/cloudscribe/blob/master/src/cloudscribe.Core.CompiledViews.Bootstrap4/Views/Shared/Components/Navigation/Bs4ChildDropdown.cshtml

Just guessing here - that looks very much more like the thing that is rendering your markup (since partial views can override one another, this one is most likely overriding the one in the Navigation component).

I'm slightly confused that it isn't identical to your quoted markup... something else - maybe Bootstrap - may be tweaking the final rendered result somehow?

But note that this version of the Bs4ChildDropdown does not make use of this:
@inject IStringLocalizer<cloudscribe.Web.Navigation.MenuResources> sr
which might account for your lack of localization, when you compare it to how @sr is used in the version of Bs4ChildDropdown that you were looking at.

You may be able to implement your own local override of this partial view..?
Cheers, Jim

CasualChameleon
@casualchameleon
That looks exactly like what's happening - I should have thought to check the compiled views in cloudscribe.web! I'll override the partial and see if that fixes it. Thanks Jim.
CasualChameleon
@casualchameleon
Worked perfectly. Thanks again Jim.
JimKerslake
@JimKerslake
Great - glad it worked @casualchameleon
(my own efforts to override partial views sometimes don't work, for mysterious unknown reasons - probably developer error ! )