Skip to content
Advertisement

Tag: octobercms

FIX for October CMS install failing on “building configuration files”

On installing October CMS, I ran into an error in which the installation just failed on “Building configuration files”, with an Progress failed notification telling me to check the install.log. Install.log only revealed that the installation failed at “Install step: setupConfig”, which didn’t really tell me anything I didn’t know. Unsure of even what to Google. Using PHP 8.0.2 via

FPDF string output

I use OctoberCms (laravel). This uses own Filesystem https://octobercms.info/docs/services-filesystem-cdn/ That is why I need to take generated $pdf as a string, and than use Storage::put(‘docs/kek.pdf’, $pdf); But it isn’t works, because Output() anyway returns to $pdf only object. Have you any idea?) Answer You have to save the string output that fPDF creates before you can do something with it.

How to pass a AJAX call on OctoberCMS

Im using OctoberCMS, the user plugin and I want to send data via AJAX to a controller and save the data in the database (in the column of the logged in user). So I created a new Route in my routes.php And a controller And my jQuery calls But nothing works. If I call /saveHighscore in my browser with dummy

OctoberCMS. How to pass variable from page to component?

I have defined a variable in a page: and I want to pass this variable to a component: but this method does not work. How can I do that? Answer I am guessing that you need to pass builderDetails.record to your component ‘Variations’ and then you want to access that variables inside component ‘Variations”s default.htm and show some details about

Custom Contact Form in Partials and use in Static Pages plugin

I have used OctoberCMS, Static Pages plugin, through which I am creating Static Pages. The thing is, I have created one contact form in Partial like below. contactform_snippet.htm – Markup contactform_snippet.htm – Code And below is the Static Page which I have created and used contactform_snippet.htm which I just created. And below is Preview how its looking like. The thing

Advertisement