By ryyz on
can someone point me in the directiona as to how i would customize my logo image to include realtime date/time?..
can someone point me in the directiona as to how i would customize my logo image to include realtime date/time?..
Comments
2 cents
realtime date time cannot be an image - probably the easiest way would be a javascript
to add it under the logo you would have to modify a template, I'm afraid
(I know nothing about Drupal, so I cannot give more detailed info)
--
Xiv
It depends on what you are trying to do.
If you want realtime data/time you will need to use javascript to generate the information. If you just want dynamic information (changes (possibly) with page refresh) you could do that by modifying page.tpl.php. If you want either type of information in the header (as vs the logo) its a matter of defining an area in the template for the information. If you want it actually "in" the logo, there are a least a couple of ways to do it; 1) "reserve" space in the logo and use positioning to place the dynamic/realtime part. Advantage is it does not require any image processing but there may/will be variations between browsers. 2) There are PHP image processing scripts out there that let you add text to an existing image. Drawbacks are it is slower than just positioning text on the image and for the realtime case would require a trip back to the server (there may be such scripts in javascript but I am not aware of them)
thank you!
thanks guys!