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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.0.0b2 Sprint 1 [ 124 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Issue Type Improvement [ 4 ] Bug [ 1 ]
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 41 minutes [ 2460 ]
        Worklog Id 14646 [ 14646 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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