Unable to upload slider image

Created on 13 June 2023, over 1 year ago
Updated 9 August 2023, over 1 year ago

Problem/Motivation

I tried to upload the slider background image but it is not uploading from the User interface.

Steps to reproduce

Install the theme and visit the home page.

Proposed resolution

We need to remove the slider image from the CSS file and get its value in hook_preprocess(). After that, you will be able to change the slider image from the User Interface.

🐛 Bug report
Status

Needs work

Version

1.0

Component

User interface

Created by

🇮🇳India Prachi6824

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Prachi6824
  • 🇮🇳India Harshita mehra

    Hi,
    We need to remove the slider image from the CSS file and get its value in hook_preprocess(). After applying the patch you will be able to change the slider image from the User Interface.

    So, I have uploaded a patch to fix the issue.
    Please review it.
    Thanks!

  • Status changed to Needs review over 1 year ago
  • Assigned to Jay Jangid
  • Issue was unassigned.
  • Status changed to Needs work over 1 year ago
  • 🇮🇳India Jay Jangid

    Hi @Harshita mehna I have applied your patch.Patch failed to apply it's showing error.
    So moving it to Need Work.
    See screenshots for reference.
    Besides can you please add more details on the issue and provide steps to reproduce it ?
    "Steps to reproduce" will be helpful for replicate the issue so write the "Steps to reproduce".
    Thank you

  • 🇮🇳India Harshita mehra

    Hi @Jay Jangid, Thanks for your review apart from this I have updated the issue summary.

  • 🇮🇳India Jay Jangid

    @Harshita mehna I have tested your patch.
    When I applied patch in Drupal 9.5.x.
    It showing the following errors:-

    error: patch failed: css/style.css:145
    error: css/style.css: patch does not apply
    error: patch failed: kite.theme:19
    error: kite.theme: patch does not apply

    Please look into it.
    Thanks.

Production build 0.71.5 2024