It is currently 20 Feb 2018, 11:35

GIMP/GL Interestsphpbb Forum image/icon showing next to title on view topic page. (Showcase | Slideshow)

GIMP or GIMP LEARN Forum Interests
Post Reply
User avatar

View: Showcase | Slideshow
Topic Posts: 1/1
Posts: 2162
Joined: 26 Sep 2016, 00:16
Cash on hand: 7,946.37 GLP
Bank: 51,356.25 GLP
Gender: Guy
Location: Victoria, BC
Operating System: Windows
GIMP Version: 2.8.22
My Personal Blog
My FineArtAmerica
x 1207
x 256

phpbb Forum image/icon showing next to title on view topic page.

Post#1 by tim » 26 Aug 2017, 18:11

To keep it consistent with showing forum-image in front of forum title.
I have decided to show forum-image (forum icon) in front of topic title while viewing topic as well.
forum_image_showing_next_to_topic_title_on_viewtopic_page.jpg # (28.62 KiB) Viewed 255 times (Watermarked | Thumbnail)
Steps performed in phpbb, (Very simple):
in viewtopic.php.
Find code:

Code: Select all

'FORUM_NAME' 	=> $topic_data['forum_name'],
Add after:

Code: Select all

'FORUM_IMAGE'         => $topic_data['forum_image'],
in style/prosilver/template/viewtopic_body.html.
Find code:

Code: Select all

<h2 class="topic-title"><!-- EVENT viewtopic_topic_title_prepend -->
Add before:

Code: Select all

<!-- display forum image in viewtopic mod -->
<!-- IF FORUM_IMAGE --><span class="forum-image"><img src="{FORUM_IMAGE}" alt="" /></span><!-- ENDIF -->
0 x

aka Tin

Registered members enjoy ads-free content
Post Reply

Last 20 Members Who Visited This Topic

User avatar Issabella (1), User avatar tim (7), User avatar Pat625 (1), User avatar gnerd (2), User avatar RJKD (1)

  • Similar Topics
    Last post
• Featuring Members' Works (Image Attachments Only) •
1: gnerd
2: Ella
3: Pat625
4: dinasset
5: Pat625
6: Issabella
7: tim

Who is online

Users browsing this forum: No registered users and 1 guest