Which and Where on Template

For support and discussion related to templates, themes, and imagesets in phpBB 3.2.
Post Reply
DV1
Registered User
Posts: 333
Joined: Sun Jul 11, 2010 8:49 pm
Location: Nevada
Contact:

Which and Where on Template

Post by DV1 »

I already learned how to do this from a previous post:

viewtopic.php?t=2480156

What I'd like to know is where to do this (which template location) so the text is below the navbar and above the forum. It will be used for brief notices.

text-notice-location.jpg

Thanks

Daniel
User avatar
Mannix_
Registered User
Posts: 1065
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Which and Where on Template

Post by Mannix_ »

it should be overall_header.html or index_body.html
Did I helped You? Consider a donation. I don't drink 🍺 :lol:
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.3.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
DV1
Registered User
Posts: 333
Joined: Sun Jul 11, 2010 8:49 pm
Location: Nevada
Contact:

Re: Which and Where on Template

Post by DV1 »

Mannix, thanks for responding.

As I did before, I used:

Code: Select all

<!-- INCLUDE add_text.html -->
Where would that be placed in the following section of index-body.html to position as mentioned? I'm thinking where the line of question marks is but not sure.

Code: Select all

<!-- INCLUDE overall_header.html -->

??????????

<p class="{S_CONTENT_FLOW_END} responsive-center time<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF S_USER_LOGGED_IN --><p class="responsive-center time">{CURRENT_TIME}</p><!-- ENDIF -->

<!-- EVENT index_body_markforums_before -->
<!-- IF U_MARK_FORUMS -->
	<div class="action-bar compact">
		<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
	</div>
<!-- ENDIF -->
<!-- EVENT index_body_markforums_after -->

<!-- INCLUDE forumlist_body.html -->

<!-- EVENT index_body_forumlist_body_after -->
User avatar
Mannix_
Registered User
Posts: 1065
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Which and Where on Template

Post by Mannix_ »

if you place it where ????? are it would place it above "it is currently..." in the image of your first post
Did I helped You? Consider a donation. I don't drink 🍺 :lol:
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.3.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
DV1
Registered User
Posts: 333
Joined: Sun Jul 11, 2010 8:49 pm
Location: Nevada
Contact:

Re: Which and Where on Template

Post by DV1 »

Then here?

Code: Select all

<!-- INCLUDE overall_header.html -->

<p class="{S_CONTENT_FLOW_END} responsive-center time<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>
<!-- IF S_USER_LOGGED_IN --><p class="responsive-center time">{CURRENT_TIME}</p><!-- ENDIF -->

<!-- EVENT index_body_markforums_before -->
<!-- IF U_MARK_FORUMS -->
	<div class="action-bar compact">
		<a href="{U_MARK_FORUMS}" class="mark-read rightside" accesskey="m" data-ajax="mark_forums_read">{L_MARK_FORUMS_READ}</a>
	</div>
<!-- ENDIF -->

??????????

<!-- EVENT index_body_markforums_after -->

<!-- INCLUDE forumlist_body.html -->
Last edited by Mick on Fri Dec 27, 2019 11:36 am, edited 1 time in total.
Reason: Replaced [c] with [code] for clarity.
User avatar
Mannix_
Registered User
Posts: 1065
Joined: Sun Oct 25, 2015 2:56 pm
Name: Matt
Contact:

Re: Which and Where on Template

Post by Mannix_ »

above forum/category listing but if you want to place it there place it above <!-- EVENT index_body_markforums_before --> so the mark forums read button/text will stay close to forum/category list as it is its integral part
Did I helped You? Consider a donation. I don't drink 🍺 :lol:
-=-=-=-=-=-=-=-=-=-=-=-=-My Styles-=-=-=-=-=-=-=-=-=-=-=-=-
HexagonHexagonRebornCleanSilverProject Durango
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Need help with styling or want me to port a style to 3.3.x etc. contact me here or here.
New version of phpBB has been released? My styles aren't validated for it yet? Check my page for the latest downloads!
DV1
Registered User
Posts: 333
Joined: Sun Jul 11, 2010 8:49 pm
Location: Nevada
Contact:

Re: Which and Where on Template

Post by DV1 »

Ok, I will test it out where you suggest.

Thanks
User avatar
Lumpy Burgertushie
Registered User
Posts: 68544
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Which and Where on Template

Post by Lumpy Burgertushie »

Hi, it is certainly no problem asking for help with this.
however, I am curious why you don't just test things first to see if they work or not.
I usually learn quicker by trying things to see what happens and then if I get in trouble I can
ask for help.
remember, as long as you have a backup copy of a file before you make changes, you are never more
than a couple of clicks away from a complete recovery.

luck,
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
warmweer
Jr. Extension Validator
Posts: 6476
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Which and Where on Template

Post by warmweer »

Lumpy Burgertushie wrote:
Thu Dec 26, 2019 7:29 pm
...
however, I am curious why you don't just test things first to see if they work or not.
I usually learn quicker by trying things to see what happens and then if I get in trouble I can
ask for help.
...
Exactly and in many cases the browsers Inspector allows editing the "cached" templates and css so that one can experiment with layout and formatting, even without having to edit the source files.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.
DV1
Registered User
Posts: 333
Joined: Sun Jul 11, 2010 8:49 pm
Location: Nevada
Contact:

Re: Which and Where on Template

Post by DV1 »

Lumpy Burgertushie wrote:
Thu Dec 26, 2019 7:29 pm
Hi, it is certainly no problem asking for help with this.
however, I am curious why you don't just test things first to see if they work or not.
Some people just don't process things for whatever reasons in the manner that others would expect them to. That's just the way it rolls in real life.

Is there a problem with that?
User avatar
eeji
Jr. Style Validator
Posts: 1356
Joined: Fri Dec 12, 2008 9:08 pm
Location: Manchester, UK
Contact:

Re: Which and Where on Template

Post by eeji »

Have you tried the Board Announcement extension, as this will do what you want: https://www.phpbb.com/customise/db/exte ... uncements/
My phpBB styles: phpbbstyles.oo.gd
My board: iansvivarium.com
DV1
Registered User
Posts: 333
Joined: Sun Jul 11, 2010 8:49 pm
Location: Nevada
Contact:

Re: Which and Where on Template

Post by DV1 »

Mannix

Thank you, it works well. :)

You can see it here.

Daniel
Post Reply

Return to “[3.2.x] Styles Support & Discussion”