- Posts: 8
Postings
You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).
Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!
Setting slideshow image as article image
- RageX
-
Topic Author
- New Member
-
Less
More
IP: 103.11.49.244
13 years 2 months ago #2980
by RageX
Setting slideshow image as article image was created by RageX
Hello,
Is it possible to set the slideshow image as the K2 article image?
That means the image on the slideshow will depend on the image included in the article, rather than a fixed set of images.
Do let me know if this is possible.
Thank you!
Is it possible to set the slideshow image as the K2 article image?
That means the image on the slideshow will depend on the image included in the article, rather than a fixed set of images.
Do let me know if this is possible.
Thank you!
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.181.228.28
13 years 2 months ago #2987
by admin
Olivier.
Replied by admin on topic Re: Setting slideshow image as article image
Hello,
yes, it is definitely possible. Select K2 as the default source and choose the K2 categories where your items are located. The module uses the image of the item (image tab in K2's item) as background image of the slide and the item's content as the content of the slide.
yes, it is definitely possible. Select K2 as the default source and choose the K2 categories where your items are located. The module uses the image of the item (image tab in K2's item) as background image of the slide and the item's content as the content of the slide.
Olivier.
- RageX
-
Topic Author
- New Member
-
Less
More
- Posts: 8
IP: 103.11.49.244
13 years 2 months ago #2993
by RageX
Replied by RageX on topic Re: Setting slideshow image as article image
Hello Oliver,
Thank you for the quick response.
I just installed the trial version on my site, and there are some errors:
Looks like a conflict with JSN PowerAdmin. Line 279 of jsnpoweradmin.php is as follows:
Please let me know if there is anything I need to modify, or if I should disable JSN PowerAdmin.
Thanks Oliver
Thank you for the quick response.
I just installed the trial version on my site, and there are some errors:
Code:
Warning: Missing argument 4 for plgSystemJsnpoweradmin::onContentPrepare() in /home/zengsm/public_html/plugins/system/jsnpoweradmin/jsnpoweradmin.php on line 279
Warning: Missing argument 4 for plgSystemJsnpoweradmin::onContentPrepare() in /home/zengsm/public_html/plugins/system/jsnpoweradmin/jsnpoweradmin.php on line 279
Warning: Missing argument 4 for plgSystemJsnpoweradmin::onContentPrepare() in /home/zengsm/public_html/plugins/system/jsnpoweradmin/jsnpoweradmin.php on line 279
Looks like a conflict with JSN PowerAdmin. Line 279 of jsnpoweradmin.php is as follows:
Code:
/**
* fix conflict with mambot plugins
**/
[b] public function onContentPrepare($context, &$article, &$params, $limitstart) {[/b]
$app = JFactory::getApplication();
if($app->isAdmin()) {
$article->text = str_replace("{","{* ",$article->text);
}
}
Please let me know if there is anything I need to modify, or if I should disable JSN PowerAdmin.
Thanks Oliver
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.181.228.28
13 years 2 months ago #2999
by admin
Olivier.
Replied by admin on topic Re: Setting slideshow image as article image
There is a small fix for that: replace $limitstart with $limitstart=0 in poweradmin.
Both modules are responsible, I need to fix it: poweradmin should set the default for limitstart and truly responsive slider should do the same in the call to onContentPrepare.
I apologise for this issue. I will issue a fix in the upcoming days.
Both modules are responsible, I need to fix it: poweradmin should set the default for limitstart and truly responsive slider should do the same in the call to onContentPrepare.
I apologise for this issue. I will issue a fix in the upcoming days.
Olivier.
- RageX
-
Topic Author
- New Member
-
Less
More
- Posts: 8
IP: 103.11.49.244
13 years 2 months ago #3000
by RageX
Replied by RageX on topic Re: Setting slideshow image as article image
Do you mean editing line 279 of jsnpoweradmin.php and changing it to:
FYI - its an amazing module. I'm definitely getting it. Let me know when its fixed at your end and I will purchase one
Code:
public function onContentPrepare($context, &$article, &$params, $limitstart=0)
FYI - its an amazing module. I'm definitely getting it. Let me know when its fixed at your end and I will purchase one
- admin
-
- Administrator
-
Less
More
- Posts: 1931
IP: 207.181.228.28
13 years 2 months ago #3006
by admin
Olivier.
Replied by admin on topic Re: Setting slideshow image as article image
Yes, this is what I mean.
And thank you!
And thank you!
Olivier.
