The front page of the theme does not show any images except the twitter bird image which is at the footer actions region.
It is also not showing the LinkedIn, twitter, facebook and rss feed icons on front page. On other pages, it shows these icons perfectly.
This problem persists for both authenticated and anonymous user.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

the_g_bomb’s picture

I have spotted an issue where the page.tpl.php and front-page.tpl.php files have a different base path and I will update the files asap.

In the meantime I think the issue could be solved by setting the base url set in your settings.php such as:
$base_url = 'http://yoursite.com/siteroot'

By not setting this, the images are trying to load from http://yoursite.com/sites/all/themes/boldy/images/yourimage.png

instead of: http://yoursite.com/siteroot/sites/all/themes/boldy/images/yourimage.png

I will update the code to implement a more complete fix and release a new release of the boldy theme in the next day or two, you should upgrade to the latest version when it is released.

neeraj.jadhav’s picture

FileSize
34.06 KB

Hi,

Thanks for the reply. I tried editing the base url in settings.php. Initially everything was commented so I removed the comments and wrote
$base_url = 'http://www.example.com/siteroot';

After saving the file and restarting the xampp server, when I opened the site (localhost/drupal) all my css was gone and the site pretty much looked like Craigslist. I have attached an image of what I did on the settings.php.

Please let me know if I did it right or what I need to do to make it work.

Thanks.

the_g_bomb’s picture

Sorry, I might not have made myself clear enough, the $base_url value should be the actual url of your own site home page, not the example url that I used to highlight the way it should be input.

For example if your home page is: http://www.neerajjadhav.com then the $base_url would be:
$base_url = 'http://www.neerajjadhav.com';

If it is a sub directory of the document root your home page might load when you input something like:
http://www.neerajjadhav.com/drupal
the base url would then be:
$base_url = 'http://www.neerajjadhav.com/drupal';

I have seen issues with the images not loading when the site is in a sub directory which is why I suggested altering the $base_url, as I suspect this might be the case here.

Hope this helps.

the_g_bomb’s picture

I have just fixed and pushed the changes I mentioned previously, if you update the theme to the latest version (6.x-1.2), you may have a bit more success with this issue.

neeraj.jadhav’s picture

I am running the site on my localhost and I do not actually have any web server to run this site (www.neerajjadhav.com is my personal site and the one I am working on is for my class project to be run on localhost) . Is there any way to make modifiactions on localhost.

I also wanted to ask that since you have updated the theme, if I replace it with my current boldy theme, then will I loose my content and other stuff.

neeraj.jadhav’s picture

FileSize
30.65 KB

Hey,

I did changed the theme to 1.2 from 1.1 and it shows the missing images (facebook, twitter and linkedin icons) however I am loosing my admin menu behind the Primary links.

Also the search bar does not display text when writing on it (or I guess the text color is black or something).

the_g_bomb’s picture

On a localhost, I think you might be able to use:
$base_url = 'http://localhost/drupal_folder';

Sorry about the admin menu, thing. I fixed it in the Drupal 7 version and thought I had backported the fix, but obviously not.

I have updated the development version to fix this.

If you don't want to update the theme again, you could open the style.css file in the css folder and change the second last line to:
#header {z-index: 100 !important;}

To fix the search text color, open the jquery.autofill.js in the js folder and change line 8 to:
activeTextColor:"#fff",

neeraj.jadhav’s picture

Status: Active » Fixed

Thank you very much.

Both of the above solutions worked. Thanks for helping me out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.