Accessory

Developer
Supported

Developer

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

404 error for png when using custom theme_folder_url

Bug (Resolved)

Dennis Frank
Dennis Frank

In acc.developer.php line 365 some styles are getting injecting into the page:

#developer_acc li.subparent {background: url(/themes/cp_themes/default/images/nav_arrow_light.png) center right no-repeat;} 

This results in a 404 when you are using a custom theme_folder_url.


Quick fix:

Modify the unused variable $theme_folder_url in line 50 from

$theme_folder_url $this->EE->config->slash_item('theme_folder_url').'third_party/developer/'

to

$theme_folder_url $this->EE->config->slash_item('theme_folder_url'); 

and use it for the styles:

#developer_acc li.subparent {background: url(' . $theme_folder_url . 'cp_themes/default/images/nav_arrow_light.png) center right no-repeat;} 
PutYourLightsOn
# 1
Developer
PutYourLightsOn

Ah, good catch - I just pushed version 1.7.4 which fixes this.