Closed (fixed)
Project:
Logo Tool
Version:
5.x-2.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2008 at 13:04 UTC
Updated:
2 Apr 2008 at 19:32 UTC
OK I've set everything up right for the paths, and have no errors but it is still displaying the default image file banner.jpg as set in the theme.
Logo image settings
If toggled on, the following logo will be displayed.
Use the default logo - not ticked
Check here if you want the theme to use the logo supplied with it.
Path to custom logo: - logo.php
The theme is marinelli...
Within logo tool
the path is set to "logos" and raises no errors.. logo.php is located at the root.
Any help you can offer would be greatly appreciated...
site is www.walkabout2008.com/walkdrupal
Thanks, Karl.
Comments
Comment #1
pobster commentedThe path is set to "logos"? What path? Do you mean the FULL SYSTEM PATH? Where it says this;
Is that the path you mean?
Pobster
PS. I can't access your site, it's available only on your local network.
Comment #2
stumpykb commentedI have tried this too.. and get unsupported file type... I have save images as PNG
http://www.walkabout2008.com/walkdrupal/logo.php
site is http://www.walkabout2008.com/walkdrupal/
Thanks... Karl.
Comment #3
pobster commentedWell the unsupported filetype is better than not working at all. It's likely down to that you're running it in a sub-directory, but meh - I thought I'd fixed most of those types of errors. The logo listings tab on the settings page shows all your logos by file system reference rather than by variable - do your logos display there?
Pobster
Comment #4
stumpykb commentedYes sorry should have said.. they display perfectly...
K>
Comment #5
pobster commentedGo to 'create content' and make a new page, selecting the php input filter cut and paste this and tell me the result;
Pobster
Comment #6
pobster commentedOhhhhhhhhhhhhhhhhhhhhhh wait, I'd not heard of Marinelli so i just looked it up... Check out the issue queue;
http://drupal.org/node/230328
Marinelli doesn't use a logo - it uses some sort of custom banner which in 6.x you can rotate like logotool does. I'm afraid though, I can't help you 'fix' a theme which doesn't have a logo - not my job... You'll have to make a feature request to the themes author.
Pobster
Comment #7
stumpykb commentedphp test
Current Working Directory = logos
Default Logo = logos
Current Logo Variable = logos
Comment #8
stumpykb commentedwell ill replace the theme as I *want* a logo change...
Can you suggest ones that work ok with you...
K>
Comment #9
pobster commentedDo you want me to post comment #1 again? How many more times do I need to write FULL SYSTEM PATH??!!?!?!?!!
Try it again with your FULL SYSTEM PATH and let me know if that solves it. You know, when you use your FULL SYSTEM PATH rather than just "logos"... As it asks you to, when it says FULL SYSTEM PATH below the box that you enter your FULL SYSTEM PATH into.
Let me know how it goes... May the force be with you...
Pobster
Comment #10
stumpykb commentedHi, The question is if its a problem with location of images, how come they are located ok by your logotools logo viewer. I have changed the theme, still no joy..
And still reporting unsupported file type on png file when you use...
http://www.walkabout2008.com/walkdrupal/logo.php
Thanks, Karl.
Comment #11
pobster commentedIt's because it's an unrelated hook, if the logo was defined within Drupal then the whole of Drupal would need to be bootstrapped in order to just display the logo and then it'd get bootstrapped AGAIN to show the site.
I'm interested that the snippet didn't return anything from the image module function, do you not have it installed? If not, install it - it's likely the problem, it's a hidden dependency that I'd forgotten about...
Would you try it again now you've altered the logos path to be a system path and not the default.
Pobster
Comment #12
stumpykb commentedHi.. Yu have lost me completely with the request to install "the image module function" what do you want me to install?? I'll change the pathing...
Thanks
K>
Comment #13
stumpykb commentedChanged path to /var/www/html/walkdrupal/logos
now says invalid within logotools setup.
Is that correct pathing???
Comment #14
pobster commentedForget what I said about installing the image module, the function comes from the includes/image.inc file - which you should have if you've a normal Drupal install. Just YES, change the path before I start crying and report back here.
Pobster
Comment #15
pobster commentedHow would I know if that's where your logo folder is???? I don't have access to your server. Just go to a command line and type ..
ls -la /var/www/html/walkdrupal/logosJust find where it is, if you press the TAB key the menu path will autocomplete (to a point, if there's more than one match it'll show the possible matches and expect you to type another letter). So find where your logos are located and type it into the damn box.
Pobster
Comment #16
stumpykb commentedLooks correct....
ls -la /var/www/html/walkdrupal/logos
total 2588
drwxr-xr-x 2 walkadmin walkadmin 4096 Mar 18 07:18 .
drwxr-xr-x 12 walkadmin walkadmin 4096 Mar 18 11:24 ..
-rw-r--r-- 1 walkadmin walkadmin 352950 Mar 18 07:18 This Autumn take time out.png
-rw-r--r-- 1 walkadmin walkadmin 151153 Mar 18 06:57 help change childrens.jpg
-rw-r--r-- 1 walkadmin walkadmin 464666 Mar 18 07:18 help change childrens.png
-rw-r--r-- 1 walkadmin walkadmin 130786 Mar 17 13:06 q1.jpg
-rw-r--r-- 1 walkadmin walkadmin 405893 Mar 18 07:19 q1.png
-rw-r--r-- 1 walkadmin walkadmin 132140 Mar 17 13:04 raise money.jpg
-rw-r--r-- 1 walkadmin walkadmin 429696 Mar 18 07:18 raise money.png
-rw-r--r-- 1 walkadmin walkadmin 126235 Mar 17 13:05 wherewillyoube.jpg
-rw-r--r-- 1 walkadmin walkadmin 397020 Mar 18 07:18 wherewillyoube.png
Comment #17
stumpykb commentedOK seems to be working now... it is just 'logos' i dont think the page was refreshing to input for some reason.. Q... is it jusy phg files supported or jpg's and gif's too???
Thanks for your help...
K>
Comment #18
stumpykb commentedOK seems to be working now... it is just 'logos' i dont think the page was refreshing to input for some reason.. Q... is it jusy png files supported or jpg's and gif's too???
Thanks for your help...
K>
Comment #19
pobster commentedAny image file which has a mime type which can be read by the
image_get_info()function will work. I just took a quick look at it and there's a line which reads;$extensions = array('1' => 'gif', '2' => 'jpg', '3' => 'png');So I'd assume that's all it can understand, but I can't imagine anyone would really want to use any others.
Pobster
Comment #20
pobster commentedPS. Are you doing stuff for a charity? To raise money? Only I wrote a simple charity thermometer module once if you're interested? I'll dig it out if you are.
Pobster
Comment #21
stumpykb commentedhi thanks for the info.. yes we are rasing money for debra (child brittle skin syndrome) the thermometer is a great idea, we would need it though to link to a user profile, they would raise, does yours do that???
my best, Karl.
Comment #22
pobster commentedWell it's pretty specific for this site; http://www.essexairambulance.uk.com and I have just noticed that I don't have the most up to date version of it either... But it works and it's pretty and if you want it I can post it here in a zip file. It literally just has a settings page which you enter how much you're trying to raise, how much you've raised and various settings for currency and text display. It's not very complex... Was never really meant to be!
Pobster
Comment #23
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.