Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Install Wordpress inside CI4 project
Post: RE: Install Wordpress inside CI4 project

wdeda Wrote: (10-06-2021, 09:50 AM) -- I don't believe my case is the ideal one to answer your question, I have a private site, only local, but except for the rules for using a remote server, especia...
2,046 Views
3 Replies
10-07-2021, 05:05 AM
AndreaL
    Thread: Install Wordpress inside CI4 project
Post: Install Wordpress inside CI4 project

Hello all, I have developed a whole site in CI4 but would now like to install wordpress in a subdirectory for a blogging section. I saw online that with the previous version CI3 it was possibile but...
2,046 Views
3 Replies
10-06-2021, 06:56 AM
AndreaL
    Thread: Codeigniter project breaks with PHP 8
Post: RE: Codeigniter project breaks with PHP 8

MGatner Wrote: (06-27-2021, 04:47 AM) -- @"AndreaL" be sure that you read the general upgrade instructions before you dive into the “Upgrade from 4.x to 4.y”. These instructions are specific to your ...
7,371 Views
11 Replies
07-14-2021, 02:06 AM
AndreaL
    Thread: Codeigniter project breaks with PHP 8
Post: RE: Codeigniter project breaks with PHP 8

berendbotje91 Wrote: (06-25-2021, 01:23 AM) -- AndreaL Wrote: (06-25-2021, 12:05 AM) -- ok, I will update my CI4 version then. Thanks for the feedback guys [hr] Hello, sorry to bother again. I was...
7,371 Views
11 Replies
06-25-2021, 10:04 AM
AndreaL
    Thread: Codeigniter project breaks with PHP 8
Post: RE: Codeigniter project breaks with PHP 8

ok, I will update my CI4 version then. Thanks for the feedback guys [hr] Hello, sorry to bother again. I was reading the documentation to update from version 4.0.4 (the one I have) to the latest one b...
7,371 Views
11 Replies
06-25-2021, 12:05 AM
AndreaL
    Thread: Codeigniter project breaks with PHP 8
Post: Codeigniter project breaks with PHP 8

Hello, I have developed a project with Xampp and PHP 7.2. I have updated to PHP 8 and the project broke. Meaning that I get a 404 error. If I toggle across PHP versions I see that up until PHP 7.4.20...
7,371 Views
11 Replies
06-24-2021, 09:42 AM
AndreaL
    Thread: Pagination
Post: RE: Pagination

riqekaqo Wrote: (02-03-2021, 02:49 AM) -- From past few days I have started working in CI4, I would like to know how pagination works with below query? 1. $query = $this->db->query("select * from ...
1,913 Views
3 Replies
02-09-2021, 07:53 AM
AndreaL
    Thread: Pagination with Custom model
Post: RE: Pagination with Custom model

includebeer Wrote: (01-07-2021, 08:19 AM) -- Ok, it wasn’t clear your model do not extend CodeIgniter’s model. We just see one function. If you really don’t want to extend the Model class you can ...
6,798 Views
13 Replies
02-09-2021, 03:41 AM
AndreaL
    Thread: Pagination with Custom model
Post: RE: Pagination with Custom model

includebeer Wrote: (01-04-2021, 05:33 AM) -- What do you mean by custom model? I have examples for pagination in these 2 articles: https://includebeer.com/en/blog/how-to-build-a-basic-web-applic...
6,798 Views
13 Replies
01-07-2021, 02:31 AM
AndreaL
    Thread: Pagination with Custom model
Post: RE: Pagination with Custom model

InsiteFX Wrote: (12-31-2020, 12:27 PM) -- Pagination (https://codeigniter.com/user_guide/libraries/pagination.html#pagination) -- I referred to documentation but there are no examples as to how to ...
6,798 Views
13 Replies
01-04-2021, 03:03 AM
AndreaL
    Thread: Pagination with Custom model
Post: Pagination with Custom model

Hi all, I currently use pagination with Codeigniter Model but I cannot find how to use it with CUSTOM models. Here is my code: CONTROLLER PHP Code: -- -- And here is the MODEL PHP Code: ...
6,798 Views
13 Replies
12-31-2020, 03:59 AM
AndreaL
    Thread: url_title
Post: RE: url_title

InsiteFX Wrote: (12-17-2020, 07:53 AM) -- Then what you need to do is add a field to your table of products called slug varchar 255 you use url_title to create the slug this way you can display it...
2,690 Views
5 Replies
12-18-2020, 04:20 AM
AndreaL
    Thread: url_title
Post: RE: url_title

Hi, probably I did not explain the problem. Here is the situation. When I click on a certain link I call a controller that handles a product page. I want the URL to display the title of that specif...
2,690 Views
5 Replies
12-17-2020, 01:51 AM
AndreaL
    Thread: url_title
Post: url_title

Hi, reading the documentation I see the url_title() function can create human-friendly URL. Using the function I can get whatever string I want but how to display it on the URL?
2,690 Views
5 Replies
12-15-2020, 07:25 AM
AndreaL
    Thread: Hide parameter from URL
Post: RE: Hide parameter from URL

captain-sensible Wrote: (11-16-2020, 03:03 AM) -- you mean get the id of an entry in a database? you can use models ,one for each table to "model data" eg in model public function getArticle($...
4,627 Views
13 Replies
11-16-2020, 07:57 AM
AndreaL
    Thread: Hide parameter from URL
Post: Hide parameter from URL

Hi, I have a controller that requires the ID of a given table. The ID shows up on the URL but I need that to be hidden. Is there a way to pass a parameter to the controller but hiding it from the UR...
4,627 Views
13 Replies
11-16-2020, 02:06 AM
AndreaL
    Thread: Codeigniter 4 development mode returning extra HTML
Post: RE: Codeigniter 4 development mode returning extra...

includebeer Wrote: (11-04-2020, 03:46 PM) -- You can also comment the toolbar in the Filters configuration file PHP Code: -- /** * List of filter aliases that are always * applied before a...
4,562 Views
7 Replies
11-05-2020, 12:47 AM
AndreaL
    Thread: Codeigniter 4 development mode returning extra HTML
Post: RE: Codeigniter 4 development mode returning extra...

T.O.M. Wrote: (11-03-2020, 06:46 AM) -- It is not necessary to switch to production environment. You can disable toolbar in development mode - just disable CI_DEBUG. In "/app/Config/Boot/developme...
4,562 Views
7 Replies
11-05-2020, 12:46 AM
AndreaL
    Thread: Codeigniter 4 development mode returning extra HTML
Post: Codeigniter 4 development mode returning extra HTM...

Hi to everyone, I'm having an issue with Codeigniter 4 in development mode. It is now the second case that, when I send data via Ajax, the code breaks in development mode since, aside from the JSON ...
4,562 Views
7 Replies
11-02-2020, 08:58 AM
AndreaL
    Thread: Codeigniter 4 routing with optional placeholder
Post: RE: Codeigniter 4 routing with optional placeholde...

Such simple solution!! Works perfectly. Thanks so much! You made me save a lot of time
1,617 Views
2 Replies
10-06-2020, 02:02 AM
AndreaL

Theme © iAndrew 2016 - Forum software by © MyBB