Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Disable newsgallery images

Asked Modified Viewed 1,869 times
L
lifeguard
L
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
asked
Member

Hi smile

Where can i disable the newsgalery? In my eyes it is a bit useless smile
0 replies

4 posts

K
Kvido
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
answered
Senior Member

I do not understand. Do you want to disable the "news gallery" as it is written to you? So pictures for news? But it does not make sense, news without pictures!
Or do you mean to turn off all the news? If so, turn off in Administration / System / Infusions under News / Uninstall.
Edited by Kvido on 09-05-2018 14:25,
0 replies
C
Chan
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
answered
Super Admin

Without news gallery, please use the Blog Infusion.
0 replies
R
Anonymous User
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions
answered
Veteran Member

Maybe just add option "Enable News Gallery?" after " Enable Ratings"
1 reply
— 1 year later —
Z
zizub
Z
zizub 10
  • Member, joined since
  • Contributed 156 posts on the community forums.
  • Started 29 threads in the forums
answered
Member

Here on the site, in the news there is no gallery https://www.php-fusion.co.uk/infusion...admore=637
How was this done?
1. The code was deleted from the file ...\infusions\news\templates\news.php?
 if (!empty($data['news_gallery'])) {
 echo '<hr/>';
 openside(fusion_get_locale('news_0019')) ?>
 <div class='post-gallery overflow-hide m-b-20'>
 <?php foreach ($data['news_gallery'] as $news_image_id => $news_image) : ?>
 <div class='post-gallery-item overflow-hide pull-left' style='width: 250px; height: 120px;'>
 <?php echo colorbox(IMAGES_N.$news_image['news_image'], '', FALSE, 'pull-left') ?>
 </div>
 <?php endforeach; ?>
 </div>
 <?php closeside();
 }

It turns out the code of this gallery is sometimes found in some topics on the site: https://github.com/PHPFusion/PHPFusio...#L172-L184
2. Or something different?
Edited by zizub on 08-02-2020 03:15,
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 4 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

K
K
Kvido 10
Linux-Ubuntu 09.03.60, Linux/Ubuntu, PHP5, HTML5, Mozilla-Firefox 3.6.3, Opera 10.51, IE 8.0.6
https://www.nekecamweb.cz
  • Senior Member, joined since
  • Contributed 524 posts on the community forums.
  • Started 108 threads in the forums
C
C
Chan 0
Lead Developer of PHP-Fusion
  • Super Admin, joined since
  • Contributed 3,842 posts on the community forums.
  • Started 232 threads in the forums
  • Answered 6 questions
L
L
  • Member, joined since
  • Contributed 113 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
Z
Z
zizub 10
  • Member, joined since
  • Contributed 156 posts on the community forums.
  • Started 29 threads in the forums
R
R
Anonymous User 367
  • Veteran Member, joined since
  • Contributed 939 posts on the community forums.
  • Started 2 threads in the forums
  • Answered 20 questions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet