Reading view

Unable to revert or remove cva module updates?

After I updated Drupal Core, the cva module, and the canvas module I cannot access any admin pages. I get a 'The website encountered an unexpected error. Try again later.' message.

I tried to revert the changes, but was only able to force canvas and core back to the version I had before I updated. I've tried uninstalling/ using remove on cva but nothing is working. I'm not sure why this module is so stubborn, is it somehow connected to something I'm missing?

I've tried --with-all-dependencies (-W)
but everything I've run says there's nothing to modify in the lock file and nothing to install update or remove

submitted by /u/bebebeanboi
[link] [comments]
  •  

Is Drupal Canvas not compatible with Hostinger?

Sorry to be bothering you all again.

The good news is thanks to your help I have a site working on local and I'm very happy with how it looks and how its functioning!

The bad news is I cannot seem to deploy it to Hostinger. I chose it for hosting because it was mentioned on the Drupal website.

But when I upload the files from my project I get a 403 error. I've tried just adding the necessary modules to remake my site, however when I enable the Drupal Canvas module I get a message saying "The website encountered an unexpected error. Try again later."

I'm not sure if I'm missing a step preparing my local project for deployment to Hostinger and I'm concerned it won't work at all because I used the Canvas module.

submitted by /u/bebebeanboi
[link] [comments]
  •  

Struggling with page logic in drupal (and drupal themes)

Struggling with page logic in drupal (and drupal themes)

I'm very new to drupal, so I apologize if this is a dumb question.

I'm trying to set up a drupal theme to use for my webcomic, however I'm struggling with the logic for the page navigation.
How do I point to the next/previous and first/last items? I found some resources using php, but I don't know where it would go in the code and I'm not sure if I should be setting up the page navigation as part of the custom theme.

this is not the drupal theme (though I do hope to get it here) I started in react before I abandoned my original idea of hooking a react front end to a drupal back end and instead just decided to do the whole thing in drupal

The goal is for each page to have buttons at the bottom that point to the next comic page, previous comic page, first page, and latest page (which is also the home page). I saw a post from 6 years ago with a similar question, but the top comment only said to 'theme it in HTML/CSS/JS' first, but I'm stuck on how to set up the page logic, which would be interacting with the cms?
I set up my project with composer and am currently using ddev if that is relevant.

submitted by /u/bebebeanboi
[link] [comments]
  •  
❌