Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Encrypt/Decrypt Confusion - Blank Decrypts
Post: RE: Encrypt/Decrypt Confusion - Blank Decrypts

superior Wrote: (09-14-2021, 02:19 AM) -- Is the original string the same on insert and output? That would be my first thought, inserting can seem to be looking ok but is it also correct. -- Thank ...
456 Views
2 Replies
09-14-2021, 07:42 AM
SoccerGuy3
    Thread: Encrypt/Decrypt Confusion - Blank Decrypts
Post: Encrypt/Decrypt Confusion - Blank Decrypts

New to Encrypt/Decrypt in CI4. Having a strange issue where doing an encrypt/decrypt as a test on the view page works as expected. But if I save the encrypted data into my MySQL table (varchar 255 col...
456 Views
2 Replies
09-13-2021, 04:10 PM
SoccerGuy3
    Thread: Class not found trying to integrate TCPDF
Post: RE: Class not found trying to integrate TCPDF

iRedds Wrote: (09-02-2021, 11:06 AM) -- You are copying code you don't understand and you get an error. And these are the basics of PHP. PHP Code: -- use App\ThirdParty\TCPDF\Tcpdf; -- This line ...
442 Views
4 Replies
09-02-2021, 11:12 AM
SoccerGuy3
    Thread: Class not found trying to integrate TCPDF
Post: RE: Class not found trying to integrate TCPDF

InsiteFX Wrote: (09-02-2021, 04:34 AM) -- Read this one also FIXED. (https://forum.codeigniter.com/thread-76768.html) -- Not sure I understand. I don't see anything in that post about the Class not...
442 Views
4 Replies
09-02-2021, 07:18 AM
SoccerGuy3
    Thread: Class not found trying to integrate TCPDF
Post: Class not found trying to integrate TCPDF

Following the instructions here: https://forum.codeigniter.com/thread-75463-post-377974.html#pid377974 I setup TCPDF, but upon running I am getting an error. As best I can tell I followed the instr...
442 Views
4 Replies
09-01-2021, 03:41 PM
SoccerGuy3
    Thread: Helpers loading with each include statement
Post: RE: Helpers loading with each include statement

Thanks everyone. Ended up changing to "view cells" methodology and lowered my database query count for my dashboard from 61 queries to 11!!
560 Views
7 Replies
08-10-2021, 09:08 AM
SoccerGuy3
    Thread: Helpers loading with each include statement
Post: RE: Helpers loading with each include statement

donpwinston Wrote: (08-10-2021, 03:14 AM) -- Helpers in CodeIgniter are not really necessary anymore. Just use a class to wrap often used miscellaneous functions that don't make sense to include in y...
560 Views
7 Replies
08-10-2021, 08:06 AM
SoccerGuy3
    Thread: Helpers loading with each include statement
Post: RE: Helpers loading with each include statement

Here is the contents of one of my Helpers ("siteinfo") as an example: PHP Code: --
560 Views
7 Replies
08-09-2021, 03:59 PM
SoccerGuy3
    Thread: Helpers loading with each include statement
Post: Helpers loading with each include statement

I have helpers that are loading site wide (menu stuff, message notifications, etc). I just noticed in the debugger that the helpers appear to be firing off on the initial page/view load and with each ...
560 Views
7 Replies
08-09-2021, 02:05 PM
SoccerGuy3
    Thread: iOS Safari Form Submit Reloads Page
Post: RE: iOS Safari Form Submit Reloads Page

Sorry, thought this was a more generic question. CI 4 Bootstrap 5 jQuery 3.6 No errors. Just hit submit and it loops back to the same page. This happens with all forms on the site.
437 Views
3 Replies
07-08-2021, 12:43 PM
SoccerGuy3
    Thread: iOS Safari Form Submit Reloads Page
Post: RE: iOS Safari Form Submit Reloads Page

Followup information... just confirmed that it is working properly on an iPad using Safari. I think I am more confused, not less now.
437 Views
3 Replies
07-08-2021, 12:31 PM
SoccerGuy3
    Thread: iOS Safari Form Submit Reloads Page
Post: iOS Safari Form Submit Reloads Page

Having an absolutely bizarre issue this morning. I have a site (https://dds.taxi) that is running fine on desktop (all browsers) and iOS Chrome. But when using iOS Safari, any form submits just reload...
437 Views
3 Replies
07-08-2021, 10:57 AM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

InsiteFX Wrote: (06-15-2021, 08:53 PM) -- Another way that you can do it is by using View Cells. -- That's interesting. The docs are a little sparse, but if I understand correctly. I could create a...
1,631 Views
16 Replies
06-16-2021, 07:09 AM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

paulkd Wrote: (06-15-2021, 12:48 PM) -- SoccerGuy3 Wrote: (06-15-2021, 07:18 AM) -- Thanks everyone for the help. Just needed a push in the right direction. Somewhat new to CI and the community supp...
1,631 Views
16 Replies
06-15-2021, 12:59 PM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

Thanks everyone for the help. Just needed a push in the right direction. Somewhat new to CI and the community support is great. Now that it is working/returning data, I wonder if there is a better wa...
1,631 Views
16 Replies
06-15-2021, 07:18 AM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

InsiteFX Wrote: (06-15-2021, 01:21 AM) -- In your BaseController just load the helper through the helpers array Then in your view just do this. PHP Code: -- -- Make sure that your helper is n...
1,631 Views
16 Replies
06-15-2021, 07:15 AM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

paulkd Wrote: (06-14-2021, 10:02 PM) -- Can you not use PHP Code: -- -- in your views? -- I missed that you dropped the "$"... now it works!!!!! Thanks!!
1,631 Views
16 Replies
06-15-2021, 07:14 AM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

InsiteFX Wrote: (06-15-2021, 01:21 AM) -- In your BaseController just load the helper through the helpers array Then in your view just do this. PHP Code: -- -- Make sure that your helper is n...
1,631 Views
16 Replies
06-15-2021, 07:04 AM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

ikesela Wrote: (06-15-2021, 12:25 AM) -- why don't make it as Helper (put file in helper folder, procedural function) . accessible on all view. wonder why you using so many controller , should be one...
1,631 Views
16 Replies
06-15-2021, 07:00 AM
SoccerGuy3
    Thread: Making data available in ALL views
Post: RE: Making data available in ALL views

paulkd Wrote: (06-14-2021, 10:02 PM) -- Can you not use PHP Code: -- -- in your views? -- No, when I do I get: Code: -- Undefined variable $siteInfo --
1,631 Views
16 Replies
06-15-2021, 06:57 AM
SoccerGuy3

Theme © iAndrew 2016 - Forum software by © MyBB