- Posts: 7
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- **Solved** SIG Inserts Superfluous Code Into Custom Content Modules in Sidebar
**Solved** SIG Inserts Superfluous Code Into Custom Content Modules in Sidebar
- gbruner
-
Topic Author
- Offline
- New Member
This only appears to occur in modules where I have taken article content and put it into a custom content module in the sidebar. It is only showing up in the right sidebar because I have not put custom content modules into the left sidebar. Other modules published into the sidebars do not appear to be affected.
The following is a link to an example page
www.ashfordal.com/government/city/police/85-police-department-january-2009-report.html
If someone has a resolution to this problem, I would appreciate a fix or I'll have to switch to another gallery component/plugin.
Please Log in or Create an account to join the conversation.
- gbruner
-
Topic Author
- Offline
- New Member
- Posts: 7
. The argument missing is for $limitstart. I can find nothing searching on $limitstart that relates to this problem.Warning: Missing argument 3 for plgContentJwsigpro::onPrepareContent() in /home/fortvir2/public_html/ashford/plugins/content/jwsigpro.php on line 58
Also, although the free SIG handled the picture filenames without problems, I had to change all the extensions to lower case for SIG Pro or my page crashed with the following error:
.Warning: getimagesize(/home/fortvir2/public_html/ashford/images/stories/pictures/recdept/20090131_basketball/0901310012.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/fortvir2/public_html/ashford/plugins/content/jwsigpro/sigpro_engine.php on line 86
Image type not supported
On the plus side, at least the lightbox works now in IE7. However, in single thumbnail mode, there is no exit (close) function for the slideshow so you have to navigate to another menu page to get out of the slideshow. I may have wasted 12 euros ($15+) on this plugin if I can't clean up the sidebar modules.
I hope this helps someone else who is undecided about using this plugin.
Please Log in or Create an account to join the conversation.
- gbruner
-
Topic Author
- Offline
- New Member
- Posts: 7
I was able to get the superfluous code out of my custom content modules. However, since I'm not proficient with php and with the use of $limitstart which is a pagination parameter, I'm not sure I haven't created another problem down the road. I just removed the argument from the expression and my page cleaned up. I have no clue what $limitstart is doing in jwsigpro.php, but I suspect it has to do with the number of thumbnails on a page before a new page is created. As I don't intend to have more than a few thumbs per article, I believe it is safe to remove it. I guess I'll find out at the most inopportune time.
ciao,
Guy
Please Log in or Create an account to join the conversation.
- gbruner
-
Topic Author
- Offline
- New Member
- Posts: 7
To fix the argument 3 warning, change the code on line 46 from ...$limitstart) to ...$limitstart=0).
Please Log in or Create an account to join the conversation.
- FidelGonzales
-
- Offline
- New Member
- Posts: 3
Notice: Undefined property: stdClass::$profile in /home/udirt/public_html/offroad/components/com_k2/models/item.php on line 275
Notice: Undefined variable: gd_support in /home/udirt/public_html/offroad/plugins/content/jwsig.php on line 85
I tried the fix you suggested but the error remains.
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- **Solved** SIG Inserts Superfluous Code Into Custom Content Modules in Sidebar