- Posts: 8
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- Your JW_SIG not working in K2 content? Read this.
Your JW_SIG not working in K2 content? Read this.
- Geoffww
-
Topic Author
- Offline
- New Member
Less
More
15 years 2 months ago - 15 years 2 months ago #30921
by Geoffww
Your JW_SIG not working in K2 content? Read this. was created by Geoffww
I've noticed 2 major faults after installing JW Simple Image Gallery 1.2.1 into Joomla 1.5.15 which cause this extension to not work.
File Name Conflict.
The core files of K2 are expecting this plugin to have the file name jw_sig.php. However the plugin installs as jwsig.php. Therefore, even though Joomla says it is, K2 thinks it's not installed because it can't find jw_sig.php. Edit the following K2 files.
FILE
administrator\components\com_k2\models\item.php
CHANGE jw_sig TO jwsig
FILE
administrator\components\com_k2\views\info\tmpl\default.php
CHANGE jw_sig TO jwsig
FILE
administrator\components\com_k2\views\item\view.html.php
CHANGE jw_sig TO jwsig
FILE
components\com_k2\views\item\view.html.php
CHANGE jw_sig TO jwsig
Gallery root folder conflict:
When you try to upload a zip file for your gallery in a K2 item the upload actually worked but the gallery won't show up. The plugin is looking for the gallery images in images/stories however K2 is uploading them into media/k2/galleries. Simply edit two plugin files to reflect the media/k2/galleries path.
FILE
plugins\content\plugin_jw_sig\showthumbs.php
CHANGE images/stories/ TO media/k2/galleries/
FILE
plugins\content\jwsig.php
CHANGE images/stories/ TO media/k2/galleries/
NOTE:
Incidentally I've noticed some have posted that they have little white boxes for thumbnails. This means that your showthumb.php file has the correct path on line 15 but the jwsig.php file doesn't have the same correct path on line 50. Both have to be the same path.
- 1. File name conflict: jw_sig.php AND jwsig.php
- 2. Gallery root folder conflict: /media/k2/galleries/ AND /images/stories/
File Name Conflict.
The core files of K2 are expecting this plugin to have the file name jw_sig.php. However the plugin installs as jwsig.php. Therefore, even though Joomla says it is, K2 thinks it's not installed because it can't find jw_sig.php. Edit the following K2 files.
FILE
administrator\components\com_k2\models\item.php
Line 775 - JFile::exists(JPATH_PLUGINS.DS.'content'.DS.'jw_sig.php')) {
CHANGE jw_sig TO jwsig
FILE
administrator\components\com_k2\views\info\tmpl\default.php
Line 210 - if (JFile::exists(JPATH_PLUGINS.DS.'content'.DS.'<jw_sig>.php'))
CHANGE jw_sig TO jwsig
FILE
administrator\components\com_k2\views\item\view.html.php
Line 141 - JPluginHelper::importPlugin ('content', '<jw_sig>');
CHANGE jw_sig TO jwsig
FILE
components\com_k2\views\item\view.html.php
Line 464 - JPluginHelper::importPlugin('content', '<jw_sig>');
CHANGE jw_sig TO jwsig
Gallery root folder conflict:
When you try to upload a zip file for your gallery in a K2 item the upload actually worked but the gallery won't show up. The plugin is looking for the gallery images in images/stories however K2 is uploading them into media/k2/galleries. Simply edit two plugin files to reflect the media/k2/galleries path.
FILE
plugins\content\plugin_jw_sig\showthumbs.php
Line 15 - $_image_ = '../../../images/stories/'.$_GET['img'];
CHANGE images/stories/ TO media/k2/galleries/
FILE
plugins\content\jwsig.php
Line 50 - $rootfolder = '/images/stories/';
CHANGE images/stories/ TO media/k2/galleries/
NOTE:
Incidentally I've noticed some have posted that they have little white boxes for thumbnails. This means that your showthumb.php file has the correct path on line 15 but the jwsig.php file doesn't have the same correct path on line 50. Both have to be the same path.
Please Log in or Create an account to join the conversation.
- audrey sergeant
-
- Offline
- New Member
Less
More
- Posts: 1
15 years 1 month ago #30922
by audrey sergeant
Replied by audrey sergeant on topic Re: Your JW_SIG not working in K2 content? Read this.
I did exactly what you said and k2 show the gallery but it still looking for image at image/stories folder i don't understand could you help me please ?
Please Log in or Create an account to join the conversation.
- gg4u
-
- Offline
- New Member
Less
More
- Posts: 10
15 years 1 month ago #30923
by gg4u
Replied by gg4u on topic Re: Your JW_SIG not working in K2 content? Read this.
hello to all.
Please help, I need to report to the client soon about which component to use for the next joomla site and I do want to suggest yours.. but must be working!!
I have simple image free version.
stands alone, no editing, it does not display any image in the frontend.
I see {gallery}food{/gallery} text (using default folders in joomla images/stories/)
Then I installed the K2 (looks great) but I cannot use the image galleries any how.
I made the modification according to this forum ( forum.joomlaworks.net/index.php?action=post;topic=10546.0;num_replies=1 )
AND community.getk2.org/forum/topics/k2-works-with-simple-image?xg_source=activity
no results.
tried amended k2 component and plugin, no result.
Also, no zip files is opened in media/k2/galleries.
I don't know how to use them...
Please could you fix all the bug mentioned in the forum concerning the simple image free èplugin, in order to work with the K2, and make a new release, once for all?
ALso please note I have not found these lines:
FILE
administrator\components\com_k2\views\item\view.html.php
Code:
CHANGE jw_sig TO jwsig
FILE
components\com_k2\views\item\view.html.php
Code:
Please help, I need to report to the client soon about which component to use for the next joomla site and I do want to suggest yours.. but must be working!!
I have simple image free version.
stands alone, no editing, it does not display any image in the frontend.
I see {gallery}food{/gallery} text (using default folders in joomla images/stories/)
Then I installed the K2 (looks great) but I cannot use the image galleries any how.
I made the modification according to this forum ( forum.joomlaworks.net/index.php?action=post;topic=10546.0;num_replies=1 )
AND community.getk2.org/forum/topics/k2-works-with-simple-image?xg_source=activity
no results.
tried amended k2 component and plugin, no result.
Also, no zip files is opened in media/k2/galleries.
I don't know how to use them...
Please could you fix all the bug mentioned in the forum concerning the simple image free èplugin, in order to work with the K2, and make a new release, once for all?
ALso please note I have not found these lines:
FILE
administrator\components\com_k2\views\item\view.html.php
Code:
Line 141 - JPluginHelper::importPlugin ('content', '<jw_sig>');
CHANGE jw_sig TO jwsig
FILE
components\com_k2\views\item\view.html.php
Code:
Line 464 - JPluginHelper::importPlugin('content', '<jw_sig>');
Please Log in or Create an account to join the conversation.
- Kannan Naidu Venugopal
-
- Offline
- Platinum Member
- Aham Brahmasmi
14 years 11 months ago #30924
by Kannan Naidu Venugopal
K2 Rocks \m/
Replied by Kannan Naidu Venugopal on topic Re: Your JW_SIG not working in K2 content? Read this.
Maybe, you want to try the attachment in this post -
k2community.joomlaworks.net/forum/topics/simple-image-gallery-bug?page=2&commentId=3536014%3AComment%3A13046&x=1#3536014Comment13046
K2 Rocks \m/
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- Simple Image Gallery
- Your JW_SIG not working in K2 content? Read this.