General forum information/Events requests

Discussion forum for Extension Writers regarding Extension Development.
User avatar
Sniper_E
Registered User
Posts: 790
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: General forum information/Events requests

Post by Sniper_E » Mon Aug 31, 2015 4:23 am

VSE wrote:They all append their template code to it. It is currently done in the order extensions are loaded, which I believe is by vendor name / extension name
According to the order listed above these extensions would load in this order...
PayBas wrote:ext/her/her_mod/styles/all/template/event/overall_footer_after.html
ext/him/his_mod/styles/all/template/event/overall_footer_after.html
ext/me/my_mod/styles/all/template/event/overall_footer_after.html
So if you had to have yours load first, then his, then hers you would have to rename each...
Sniper_E wrote:ext/1me/my_mod/styles/all/template/event/overall_footer_after.html
ext/2him/his_mod/styles/all/template/event/overall_footer_after.html
ext/3her/her_mod/styles/all/template/event/overall_footer_after.html
Then change the name in all the ext files listing the author name.
I'm just saying, not suggesting, that would be crazy to do.

I hope phpbb can come up with a solution to order the loads of ext using the same events.
Or they would have to have a row of events in one place for this like in the index_body.html...
Sniper_E wrote:<!-- EVENT index_body_markforums_before1 -->
<!-- EVENT index_body_markforums_before2 -->
<!-- EVENT index_body_markforums_before3 -->
and
<!-- EVENT index_body_forumlist_body_after3 -->
<!-- EVENT index_body_forumlist_body_after2 -->
<!-- EVENT index_body_forumlist_body_after1 -->
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

User avatar
david63
Registered User
Posts: 16795
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: General forum information/Events requests

Post by david63 » Mon Aug 31, 2015 8:05 am

@Sniper_E

Whilst what you say is true a search for "extension priority" would have revealed several topics on this subject and how to handle it - for example this topic viewtopic.php?f=461&t=2322261
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Sniper_E
Registered User
Posts: 790
Joined: Wed May 09, 2007 12:18 am
Location: Shreveport, Louisiana
Name: Ed Humphrey
Contact:

Re: General forum information/Events requests

Post by Sniper_E » Mon Aug 31, 2015 2:52 pm

Thank you David but it's not important enough to me searching unless they come up with a solution.
It's all good the way it is for now. We can all deal with this priority issue. No huge deal.

With two extensions using <!-- EVENT index_body_markforums_before --> conflicting priority...
I just changed one to <!-- EVENT overall_header_content_before --> so it would show up first.

Some extensions can be altered in their event names once you download and install them.
I have all the faith in these brainiacs at phpbb that they will work through it. Good luck guys!
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
:!: Sniper_E Styles | phpbbmodders :!:

Post Reply

Return to “Extension Writers Discussion”