Can anyone help with a Drupal website?

Garry Edwards

Moderator
Messages
13,475
Name
Garry Edwards
Edit My Images
No
I've been asked to help with a small website. Yes, I know that I'm the worst possible choice but none of the other members have a clue either and in the land of the blind, the one eyed man is King:)

The software seems to be loosely based on Wordpress, and seems to be a mismatch of forum and website structure, but extremely difficult to navigate. There's a photo slideshow on each page but I just can't find access to it, which I need to do to change the photos and also their size.

Any help would be appreciated
 
Drupal is Satan's own CMS!

There is a login panel on the front page so I'd assume that if you login as an admin user it would give you all the privileges automagically unless that has changed since I last used it ( was several years ago)

The blocks layout thingy will show what is doing the slideshow. Then you'll probably have to go into the settings bit for that to either change the photos display size or reupload ones the correct size.

There's quite a good site here which has where to find things:

http://www.drupalgardens.com/documentation/logging-and-getting-around-your-site
 
Last edited:
Many thanks for the replies. That drupalgardens website is a real find, hopefully I will eventually be able to decipher it and find my way around the back end better - but right now I can't even find the block that these images must be in:(
 
I've had a look at the source. If there isn't any block item called 'slideshow' then it might be because someone has added the slideshow into the CSS instead of doing it via drupal.

See if you can find anything called 'danland'.

I've found the code which is displaying the image. It looks like it isn't necessarily from within drupal itself unless there is a block called 'danland' or a set up page for something called 'danland' or slideshow.

<div id="slideshow-wrapper"><div class="slideshow-inner"><div id="slideshow-preface">

</div><div class="/sites/all/themes/danland/images/slideshows/sea.jpg" width="/sites/all/themes/danland/images/slideshows/noon.jpg" width="/sites/all/themes/danland/images/slideshows/snow.jpg" width="950" height="135" alt="slideshow 3"/></div></div></div>
 
Last edited:
I've had a look at the source. If there isn't any block item called 'slideshow' then it might be because someone has added the slideshow into the CSS instead of doing it via drupal.

See if you can find anything called 'danland'.

I've found the code which is displaying the image. It looks like it isn't necessarily from within drupal itself unless there is a block called 'danland' or a set up page for something called 'danland' or slideshow.

<div id="slideshow-wrapper"><div class="slideshow-inner"><div id="slideshow-preface">

</div><div class="/sites/all/themes/danland/images/slideshows/sea.jpg" width="/sites/all/themes/danland/images/slideshows/noon.jpg" width="/sites/all/themes/danland/images/slideshows/snow.jpg" width="950" height="135" alt="slideshow 3"/></div></div></div>
Thanks for that. I found this

How to change or add slideshow images
The Danland theme includes a slideshow feature on the front page. By default, only three images are included with the theme, but you can substitute others or add as many pictures as you like. Here's how:

  1. Select images with width of at least 950px; crop or resize so that final dimensions are 950 x 355 px. Upload into [yoursiteurl]/sites/all/themes/danland/images/slideshows.
  2. Change or add the URL for your new picture: In the Drupal 6.x version of Danland, make the change in the page-front.tpl.php file; in Drupal 7.x, make the change in the page.tpl.php file.
<div class="slideshow">
<img src="<?php print $base_path . $directory; ?>/images/slideshows/sea.jpg" width="950px" height="355px" alt="Slidesdhow 1"/><!-- change sea.jpg to yourpicture.jpg to replace with your picture -->
<img src="<?php print $base_path . $directory; ?>/images/slideshows/noon.jpg" width="950px" height="355px" alt="Slideshow 2"/><!-- change noon.jpg to yourpicture.jpg to replace with your picture -->
<img src="<?php print $base_path . $directory; ?>/images/slideshows/snow.jpg" width="950px" height="355px" alt="Slideshow 3"/><!-- change snow.jpg to yourpicture.jpg to replace with your picture -->
<img src="<?php print $base_path . $directory; ?>/images/slideshows/your-image.jpg" width="950px" height="355px" alt="Slideshow 4"/> <!-- or add a new image in this statement -->
</div>

But, I can't find those page files.
Also, I see that the images that are already there have the drupal default names of sea, noon and snow, so my guess is that the existing photos have been re-named to those names and then uploaded to a server that no current administrator knows about. I think in future I'll stick to photography and shooting, much simpler...

The replacement banners I have ready are in fact not the ideal dimensions, so I will sort that out and then try again.
 
Ah. I see. It's reasonably easy to do then. Just find that folder and ftp images of the right size into it and edit the page.tpl.php file to relate to the new image names. The .php file will only be accessible via ftp so you'd want to make a copy of the original first then download it and edit it and put it back with the new image file names.

Drupal is far more clunky than wordpress. Wordpress would have a settings page and a drag and drop interface to do this!
 
Update:
I've now gained access via TFP and so can now make the changes I need to.

Thanks everyone for your help.
 
Back
Top