Lonnie Knows Everything

Download Dynamic Header Images 1.5.1

by Lonnie on Jan.22, 2009, under Joomla, Programming

The Dynamic Header Images module has beem moved to it’s own page which can be found right here

The module has also been converted to donationware, and there are two upcoming releases!

Roadmap

1. Support fort Virtuemart (custom header images per department) (1.5.2)
2. A re-write of the logic, this will allow you to have a default image by section and category rather than having to have an image for every article. (1.6)

15 Comments for this entry

  • Yan

    Works great, but does it link to a menu via a menu itemID?

    • Lonnie

      it doesn’t currently look at the itemid variable that is linked to menus, it’s linked to the content id which I figured would be sufficient…

      I could however provide an option to check for itemid first, then if no file is present, use the content id … I wrote this basically to suit my needs and I never needed that :)

      Let me know what order you think is best..

  • TetrisSmalls

    What about the ability to specify the file type (gif, png, jpg), I could see where transparent images could be beneficial with this module? Also, is it possible to have multiple Dynamic Image modules, or is it currently restricted to only one per page? I have a site where I could see the use for multiple dynamic images in my template.

    • Lonnie

      Actually that’s a great idea.. I think I’ll work on a new version of the module with the following enhancements

      1. Allow you to specify a prefix for the images, right now it defaults to header, if I let you say “image1″ for example, you could then have multiple instances on a page without issue.
      2. Allow you to specify the extension, then you can use any kind of graphic
      3. Allow you to specify the default header image name.

      I’ll work on this today

  • Mike

    sorry i am amateur
    what i must put in index.php file instead of a sample photo?
    how i can use it

    • Lonnie

      You would load the module in your template as you would any other module, you might want to refer to the joomla 1.5 documentation on how to load modules into your template … The basics though:

      Where you see “odheader” you would replace it with the position you have asigned the module .. if you assigned the module to a position called “header” you would use:

  • Rajeev

    Installation file not found:

    • Lonnie

      Very strange, the zip file seems normal, I can extract it just fine … I extracted it and re-zipped it and now it’s working perfectly .. please try again ..

      with nearly 400 downloads, I’m surprised nobody has said something sooner, it’s possible that not everyone was affected by the issue, whatever the issue may have been.

  • Cathair

    Hi Loonie, I’m trying to use the module to change the main header.jpg images for different pages. I’ve uploaded and installed and named images etc. but doesnt seem to load the module? My template is TechLine_de_Template-j15-003

    • Lonnie

      Are you actually loading the module into your template? you have to edit the source code of the template in order to put the module in the proper location, assuming you’re using it for headers and not for some other purpose.

      Let’s say that you installed your module into a position called “header_image” .. you would then need to edit your template and put something like this in the right place in the code.



      Also insure that your module is pubished, this is an insanely common issue … even for me, and I’ve been doing this for a long time!

  • Jeff

    Hey I want have a diffrent header with
    every page and i’ve download
    Download Dynamic Header Images 1.5.1
    but I still dont understand how to change is
    am i missing something?
    Bye Jeff.

    • Lonnie

      The module can do that very easily :)

      1. You first install the module and publish it, assign it to a position and preferably make sure it’s the only module in that position.
      2. You must have some basic knowledge on loading modules into your template file ..

      http://docs.joomla.org/Jdoc_statements this page on docs.joomla.org contains the information relevant to this task, you will want to look at the module section of this.. essentially you would look for the html in your template pertaining to the image for the header, and replace it with the jdoc:include tag .. the name portion of this tag is the name of the position you’re using.

      Whenever I use this module I called it something like “dynamic_header” and then the jdoc:include just references that name ..

      When you’ve added it to your template and all that, and you first view the site.. you’ll get an error message letting you know the image it’s trying to load, this is there to help you .. create your header image with the name it suggests and then move on to the next page and continue, when you’re done with that, you will then probably want to create the default image.

  • Lonnie

    I’ve updated the main posting to include some screen shots that may be helpful

1 Trackback or Pingback for this entry

  • Download Dynamic Header Images 1.5.1 Released! | Lonnie Knows Everything

    [...] Today I’ve released the latest version of the Oneduality Dynamic Header Images Joomla module (say that 5 times fast) ..  there are a number of enhancements that increase the usefulness and possibilities of the module, primarily, a modification that will allow you the ability to load more than one instance of the module on a page, as well as change the type of images you’re using .. for full details and to download it, click here! [...]

Leave a Reply



Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...