Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Is method chaining order significant in query builder?
Post: RE: Is method chaining order significant in query ...

iRedds Wrote: (03-06-2023, 09:10 AM) -- SQL doesn't read minds. The query is executed as written. a AND b OR c  === (a + b) OR c b OR c AND a  === b OR (c + a) The fact that your query works i...
113 Views
2 Replies
03-06-2023, 11:28 AM
dgvirtual
    Thread: Is method chaining order significant in query builder?
Post: Is method chaining order significant in query buil...

When I use this query: PHP Code: -- $mbd = $this->usersModel    ->select('users.id, first_name, last_name, birthday, active')    ->join('users_data', 'users.id = users_data.id', 'left')    ->li...
113 Views
2 Replies
03-06-2023, 06:00 AM
dgvirtual
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

Ok, thanks. I guess it is not much of a problem in dev mode, except that potentially the email filters dislike javascript...
2,447 Views
11 Replies
02-04-2023, 09:09 AM
dgvirtual
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

Is there a way to disable the application of ErrorModalDecorator class decorate method in debug mode? One of my controllers is sending emails and now the test emails get all the decorator's script...
2,447 Views
11 Replies
02-04-2023, 08:46 AM
dgvirtual
    Thread: problem with custom controller constructor
Post: RE: problem with custom controller constructor

I have tried to move the stuff I usually do in __constructor to initController() method. It seems to work (and I can avoid initializing the things again that have been initialized  in the BaseControll...
4,407 Views
14 Replies
01-25-2023, 01:59 AM
dgvirtual
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

OK, so composer installation works now; to install in an existing composer project, run in command line: composer config minimum-stability dev composer config repositories.codeigniter-htmx vcs gi...
2,447 Views
11 Replies
01-21-2023, 04:15 AM
dgvirtual
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

Ah, so changing the vendor in package.json must have been the problem... will revert to original line.
2,447 Views
11 Replies
01-20-2023, 09:04 AM
dgvirtual
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

[quote pid="405307" dateline="1673779217"] I have no plans of supporting PHP 7.4, but you can certainly install this library manually and make the necessary changes. I would search for things like ma...
2,447 Views
11 Replies
01-20-2023, 07:17 AM
dgvirtual
    Thread: Checking if delete operation was successful
Post: RE: Checking if delete operation was successful

InsiteFX Wrote: (01-16-2023, 12:40 AM) -- Code: -- $sqlite = new SQLite3('database.sqlite'); $statement = $sqlite->prepare('DELETE FROM mytable WHERE myclause'); $statement->execute(); echo $sqli...
322 Views
4 Replies
01-16-2023, 05:40 AM
dgvirtual
    Thread: Checking if delete operation was successful
Post: RE: Checking if delete operation was successful

Mni.day Wrote: (01-15-2023, 12:33 PM) -- do not forget about SoftDelete -- I am not using it, but still, soft delete would insert delete date, so affectedRows would normally report the number of soft...
322 Views
4 Replies
01-15-2023, 11:45 PM
dgvirtual
    Thread: Checking if delete operation was successful
Post: Checking if delete operation was successful

In my controller I do PHP Code: -- $meetingsModel->delete(55); $no = $meetingsModel->db->affectedRows(); echo $no; -- or, alternatively: PHP Code: -- $db = db_connect(); $meetingsModel->delete...
322 Views
4 Replies
01-15-2023, 11:44 AM
dgvirtual
    Thread: membership website codeigniter
Post: RE: membership website codeigniter

KamaalJema Wrote: (11-14-2022, 10:11 PM) -- i heard CodeIgniter is the most easy to understand and i don't have more than 2 weeks to complete the task. -- As you are starting from scratch, two week...
557 Views
1 Replies
01-15-2023, 03:49 AM
dgvirtual
    Thread: CodeIgniter HTMX
Post: RE: CodeIgniter HTMX

Looks like a great helper library. The search feature in the demo app, last tab, triggers an error for error handling demoing, I suppose? Is there any way to make it work with php 7.4 ? I dread upg...
2,447 Views
11 Replies
01-15-2023, 03:22 AM
dgvirtual
    Thread: How do you View Cells?
Post: RE: How do you View Cells?

michalsn Wrote: (01-14-2023, 06:19 AM) -- dgvirtual Wrote: (01-14-2023, 06:11 AM) -- Is it possible to disable the debug bar for certain controllers or views, like the ones returned by htmx? I am ge...
4,143 Views
19 Replies
01-14-2023, 05:14 PM
dgvirtual
    Thread: How do you View Cells?
Post: RE: How do you View Cells?

@"michalsn Wrote: (10-02-2022, 01:03 PM) -- HTMX doesn't like our debug bar, and I was working in a development environment. Luckily, I finally figured out what was happening. -- Is it possible to ...
4,143 Views
19 Replies
01-14-2023, 06:11 AM
dgvirtual
    Thread: routes question
Post: RE: routes question

Thanks everyone for suggestions, but those do not seem to work. I guess I need a very coplex solution here, since there is an interplay of the server root .htaccess file rules, the subdirectory .htacc...
231 Views
3 Replies
01-12-2023, 02:24 AM
dgvirtual
    Thread: routes question
Post: routes question

This is only partially a Codeigniter question perhaps, but since I am working with CI, I will give it a shot. My app's public files are placed on a subdirectory of a domain, say: https://mydomain...
231 Views
3 Replies
01-11-2023, 10:30 AM
dgvirtual
    Thread: React and Codeigniter served from same server/port?
Post: React and Codeigniter served from same server/port...

I intend to use Codeigniter as an restAPI backend to a React.js app and serve both from the same shared hosting website, so, same URL/port. The Apache server on that shared hosting gives priority to...
161 Views
0 Replies
12-10-2022, 02:47 PM
dgvirtual
    Thread: Renaming index.php problem
Post: Renaming index.php problem

I run into a problem of renaming index.php to api.php, for though the app/Config.php file comment suggests that it can be renamed PHP Code: --     * -------------------------------------------------...
302 Views
1 Replies
12-10-2022, 09:13 AM
dgvirtual
    Thread: tcpdf configuration
Post: RE: tcpdf configuration

Erwin Wrote: (07-11-2022, 12:07 PM) -- Hi, thanks for your answer. This works with definitions that aren't used in the TCPDF class. In my case, I want to set K_TCPDF_CALLS_IN_HTML to true to be able...
2,125 Views
4 Replies
07-28-2022, 12:59 PM
dgvirtual

Theme © iAndrew 2016 - Forum software by © MyBB