Search found 17 matches

by Blitze
Fri Feb 08, 2013 3:25 am
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Extensions
Replies: 113
Views: 186040

Re: [RFC|Merged] Extensions

I also have similar questions:

1.) If my extension requires it, how do I add a CSS or JavaScript file in acp?
2.) If my extension adds new permission masks, how do you add the permission language file from my extension?
by Blitze
Thu Feb 07, 2013 4:07 am
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC] Migrations
Replies: 122
Views: 125703

Re: [RFC] Migrations

How about a board setting like so:

Backup database before installing/uninstalling extensions?
  • Yes (Recommended)
    • Prompt
    • save locally
  • No
With No = 0, Prompt = 1, and save = 2, or something like that. This way, the user can decide what's best for his/her board
by Blitze
Sun Dec 23, 2012 7:12 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Template locator and path finder
Replies: 19
Views: 28469

Re: [RFC|Merged] Template locator and path finder

Well, I'm either not expressing myself correctly or I'm just not understanding how this is meant to work. So I'll stand back and watch how this turns out ;)
by Blitze
Sun Dec 23, 2012 5:26 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Template locator and path finder
Replies: 19
Views: 28469

Re: [RFC|Merged] Template locator and path finder

May be I don't understand how this is meant to work but say I have the following controller: public function foo() { $this->template->assign_var('BAR', 'baz'); if (true === false) { $this->helper->error('True is somehow identical to false. The world is over.', 500); } return $this->helper->render('f...
by Blitze
Sat Dec 22, 2012 4:50 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Template locator and path finder
Replies: 19
Views: 28469

Re: [RFC|Merged] Template locator and path finder

This is a tricky issue. Thank you for the detailed report. The first important point probably is that "all" style is, currently, not a fallback. It is as a matter of fact not a full fledged style at all. It is simply a place where extensions can put non-style-specific event implementations. The use...
by Blitze
Sat Dec 22, 2012 12:49 am
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Template locator and path finder
Replies: 19
Views: 28469

Re: [RFC|Merged] Template locator and path finder

Sorry folks, I was at work, and posted using my cell phone. Say I have the following extension structure: root - ext - test - mypage - controller - --- - styles - all - template - page_body.html - main_body_before.html (*custom template event added as <!-- EVENT main_body_before --> in overall_heade...
by Blitze
Fri Dec 21, 2012 8:36 pm
Forum: [3.1/Ascraeus] Merged RFCs
Topic: [RFC|Merged] Template locator and path finder
Replies: 19
Views: 28469

Re: [RFC|Merged] Template locator and path finder

ext/ext3/styles/all/templates currently does not work because $names[] = 'all'; (includes/style/style.php, line 101). Is this by design our an oversight?