Search found 12 matches
- Sun Nov 15, 2020 3:17 pm
- Forum: Modules/Add-Ons
- Topic: Unwanted blank character
- Replies: 1
- Views: 530
Re: Unwanted blank character
Got it. $handlers = ob_list_handlers(); for ($cnt = 0; $cnt < sizeof($handlers); $cnt++) { ob_end_clean(); } header('Content-Type: text/calendar; charset=UTF-8'); header('Content-Disposition: attachment; filename=ics.ics');echo "hello";die(); Odd because I don't need the first two lines wh...
- Sun Nov 15, 2020 2:58 pm
- Forum: Modules/Add-Ons
- Topic: Unwanted blank character
- Replies: 1
- Views: 530
Unwanted blank character
I have a module in which I want to add the ability to save ics file that would look like so: BEGIN:VCALENDAR VERSION:2.0 PRODID:-//hacksw/handcal//NONSGML v1.0//EN CALSCALE:GREGORIAN BEGIN:VEVENT LOCATION:123 Fake St\, New York\, NY DESCRIPTION:This is my description DTSTART:20201116T090000Z DTEND:2...
- Mon Apr 27, 2020 3:24 pm
- Forum: Developers Discussion
- Topic: Show message and redirect.
- Replies: 0
- Views: 5985
Show message and redirect.
if I do this echo $this->ShowMessage("Saved!!"); $this->RedirectToAdminTab('Registraire',$params=['hid'=>$ri->id]); I get the redirect I want, but no message. If I do this: echo $this->ShowMessage("Saved!!"); //$this->RedirectToAdminTab('Registraire',$params=['hid'=>$ri->id]); We...
- Sun Apr 26, 2020 12:16 am
- Forum: CMSMS Core
- Topic: Saving data to CSV.
- Replies: 3
- Views: 1611
[SOLVED] Re: Saving data to CSV.
Jo Morg.
Thanks. That solved the problem.
Thanks. That solved the problem.
- Fri Apr 24, 2020 5:13 pm
- Forum: CMSMS Core
- Topic: Saving data to CSV.
- Replies: 3
- Views: 1611
Saving data to CSV.
I have this very basic function that saves records as csv, but when it saves, it also inlcudes the page content, header, etc. There has to be a trick, probably stupid, but I cannot figure it out. public function toXL(){ $this->GetMatches(); echo $this->_totalmatchingrows. "Lines found<br>"...
- Sat Apr 18, 2020 9:30 pm
- Forum: CMSMS Core
- Topic: Dragged something by mistake?
- Replies: 2
- Views: 1148
Re: Dragged something by mistake?
@DIGI3, thank you. I will keep your post in my bucket, I did not know it is possible to do a "freshen" install. I do run 2.2.12.
It turns out the culprit was admin/lang/ext. It was empty. I put the language files back in, and everything is fine.
It turns out the culprit was admin/lang/ext. It was empty. I put the language files back in, and everything is fine.
- Fri Apr 17, 2020 8:19 pm
- Forum: CMSMS Core
- Topic: Dragged something by mistake?
- Replies: 2
- Views: 1148
Dragged something by mistake?
While working within CPanel on my ISP, I think I dragged some file or folder without noticing. Now I have nothing on the screen, no error when I go on the site. I poked at index.php and it seems to break here at $tpl->fetch();: else { debug_buffer('process template top'); $tpl_id = $contentobj->Temp...
- Fri Apr 17, 2020 8:11 pm
- Forum: CMSMS Core
- Topic: Naming convention.
- Replies: 2
- Views: 1054
Re: Naming convention.
@velden
I indeed read the document you referenced. I used it as a model I followed. It's a very good starting point, but does not elaborate on best practices although it touches on directory structure.
Thanks.
I indeed read the document you referenced. I used it as a model I followed. It's a very good starting point, but does not elaborate on best practices although it touches on directory structure.
Thanks.
- Mon Apr 13, 2020 7:17 pm
- Forum: CMSMS Core
- Topic: Naming convention.
- Replies: 2
- Views: 1054
Naming convention.
I am working on my first module, and I am trying to be consistent with naming files.
I see different prefixes: action., method., function., method.,. Probably others exist.
Is there a convention? Is this documented somewhere?
Thanks.
I see different prefixes: action., method., function., method.,. Probably others exist.
Is there a convention? Is this documented somewhere?
Thanks.
- Mon Apr 13, 2020 7:12 pm
- Forum: CMSMS Core
- Topic: URL Rewrite for anchor link
- Replies: 5
- Views: 1675
Re: URL Rewrite for anchor link[Solved - somewhat]
Not interested in breaking things down for now. Maybe when I get more familiar with the innards.
- Thu Apr 09, 2020 1:03 pm
- Forum: CMSMS Core
- Topic: URL Rewrite for anchor link
- Replies: 5
- Views: 1675
Re: URL Rewrite for anchor link
There is not much in the {metadata} tag. TinyMCE simple add #AnchorName. But in reality, it should do something like #CurrentPagePath/PageName.
I will do that manually for now. Thanks.
I will do that manually for now. Thanks.
- Wed Apr 08, 2020 12:27 pm
- Forum: CMSMS Core
- Topic: URL Rewrite for anchor link
- Replies: 5
- Views: 1675
URL Rewrite for anchor link
Good day. I am using URL rewrite, it works fine except for anchors. It redirect to the home page. I use TinyMCE interface to create the anchor which let me pick an anchor from the page. A link with anchor that should be like: https://www.mariostg.com/club/Nous_connaitre/autres_ressources#Quebec resu...