Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

mod_twg_random_image
https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=1060
Page 1 of 1

Author:  John [ 30. May 2007, 22:33 ]
Post subject:  mod_twg_random_image

This module is perfect for a 'top' position in the basic joomla install (where the little newsflash tidbit is).

After replacing/unplublishing the mod_newsflash and replacing it with the random image module, the 'link' url was live in the non-image parts of the random image table -- no big deal there... but then also made some other areas (blog, contact to name a couple) linked to the 'link' url.

Beginning at line 40 in mod_twg_random_image.php:
Code:
if ($link) {
  echo '<a href="'. $link .'" target="_self">';
}

.. I commented this out and link problems went away. Not real sure about how the template, modules, and such all mesh but it seems like the code above must be spilling into other areas because of an unclosed span,div,etc.

Author:  TinyWebGallery [ 14. Jun 2007, 22:29 ]
Post subject: 

I can check this.

I think I have 2 opening <a.

i'll fix this ...
Currently working on the joomla flash uploader anyway ;).
You like to test?

/Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/