juliancc Wrote:Would it be possible to hook generated code into <div id="sidebar" > using javascript, as for example Mvlcek is doing in his i18n plugin to hook the code into page options ?datiswous Wrote:Maybe you can make it easyer to add a gallery to postcontent.
Example: See attachment
That would be great, the problem is that there are limitations with get simple, and there is not such hook in the right column. I'm only allowed to put menu items.
Regardless of that I wanted to let you know about a lack of flexibility in processgallery.php, and deletegallery.php.
Namely there's a hardcoded path to admin directory "../../../admin/".
Changing administrative panel directory name will make gallery creation/editing process invalid. Had to change the paths manually.
a sidenote: afair changing admin directory feature isn't available in gs.2.3.x, but since GS3 is going to arrive pretty soon, please think about fixing this
Since I haven't used the gallery for long time, I'm afraid to find other small flaws
ps. where can I post future translation for S.I.G ?
Working on it atm.
edit.
well, it's a catastrophe that s.i.g doesn't want to work with GS3.0B
there's a strange src path, and output code is as follows
Code:
<h3>temporary</h3>
<ul id="sqr_image_gallery_4d6edb9716216" class="sqr_image_gallery">
<li><div class="sqr-thumb-cont"><span></span><a href="http://localhost/data/uploads/test-image1.jpg" title="" rel="imgal" class="gsgimgal"><img alt="" src="http://localhost/admin/inc/thumb.php?src=test-image1.jpg&dest=../../plugins/squareit-gallery/thumbs/thumbmed.test-image1.jpg&x=125&y=125&f=1" class="sqr_img" /></a></div></li></ul>
<div class="sqr-clearer"></div>
Thumbnails weren't created as well.
Addons: blue business theme, Online Visitors, Notepad