deepsea887 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

preview images as hyperlinks not working in 1.5.0.142 #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. trying to use a preview image as a hyperlink via labels.txt file
2.
3.

What is the expected output? What do you see instead?

clicking a preview image should link to another part of the web page,
instead it links to the image itself - activation tag {gallery 
lightbox=none}buildings{/gallery} is used

What version of the product are you using?
1.5.0.142

Please provide any additional information below.
same labels.txt file linked preview images normally in the official 1.4 version 
(using the <a href="http://localhost/.../index.php/xy"> entry)
i'm fairly new to joomla so maybe there's something i'm missing, but
it's defitely not the same as previous version

p.s. absolutely fantastic plug in, thanks alot for your effort

Original issue reported on code.google.com by iral...@gmail.com on 7 Feb 2012 at 1:48

GoogleCodeExporter commented 9 years ago
URLs in image captions declared via a "labels.txt" appear to be working in the 
latest development version 1.5.0.147 (available in SVN and at 
http://joomlacode.org/gf/project/sigplus/frs/). When the lightbox pop-up window 
is set to "none" in the administration back-end, URLs in either the title or 
the description text field will act as a target link for that particular image, 
as in the version series 1.3.x/1.4.x.

There have been major changes in between 1.3.x/1.4.x and 1.5.0, there is a 
likelihood that a particular "labels.txt" that did exploit certain very special 
behavior of 1.3.x/1.4.x might break in 1.5.0. If the "labels.txt" file does not 
work after an upgrade to the latest version 1.5.0.147, please attach a minimal 
version that breaks.

Original comment by huny...@gmail.com on 19 Feb 2012 at 5:49

GoogleCodeExporter commented 9 years ago
Yes! They are working now. And the whole plugin (when using labels.txt) is much 
much
faster and more responsive then before. Great work.

one other thing is broken now, though, 
when set to fixed gallery layout the whole thing just loads 
indefinitely...showing nothing except those spinig loading icons for each 
photo/link (other gallery layouts work fine)

and one strange thing - once you have your labels.txt file in place the whole 
thing loads and works fine, but after you delete the file, everything still 
works the same
as if it were there - some strange cacheing happening or something?...

Original comment by iral...@gmail.com on 20 Feb 2012 at 11:10

GoogleCodeExporter commented 9 years ago
Fixed gallery layout not working is likely to have reasons outside the scope of 
sigplus, e.g. a conflict with the template, another extension, or some script 
optimization tool. This, of course, may not necessarily be the case but it 
would be best to see the site live and look into the issue with direct 
inspection. Please use my e-mail address for further correspondence on this 
matter.

There are several levels of caching involved in producing a gallery. Joomla 
itself has a caching mechanism, which saves generated content temporarily, with 
a configurable expiry time (e.g. 30 minutes). This means that sigplus will not 
be given a chance to refresh until the cache lifetime expires (i.e. it will not 
be called by the Joomla framework). In addition, sigplus has its own caching 
mechanism, e.g. it saves "labels.txt" file contents into a database table to 
improve access time and avoid having to re-parse it each time the gallery is 
displayed. On the other hand, sigplus detects file system changes via folder 
timestamps, and should automatically discover if new files have been placed 
into the folder or files have been deleted, including "labels.txt". Such should 
trigger a gallery refresh, including image captions.

Original comment by huny...@gmail.com on 20 Feb 2012 at 11:24