Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4094

Look and Feel > Customize logo url not working

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-b2
    • Component/s: None
    • Labels:
      None

      Description

      AdminCompanyLookandfeel::customize() uses this code block which fails to properly consider the admin_url field

                      if (isset($this->post['admin_logo'])) {
                          $logo_admin = null;
                          $file_name = explode(DS, $this->post['admin_logo']);
                          $file_name = end($file_name);
      
                          if ($this->post['admin_type'] == 'logo') {
                              $logo_admin = WEBDIR . 'uploads/themes/asset/' . $file_name;
                          } elseif ($this->post['admin_type'] == 'url') {
                              $logo_admin = trim($this->post['admin_url']);
                          }
      
                          $this->Companies->setSetting($this->company_id, 'logo_admin', $logo_admin);
                      }
      

      Similar for the client logo. Because of this you are unable to set a logo for either interface using the url fields.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Jan/21

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 41 minutes
              41m

                Agile