Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How can I make this controller DRY?
Post: How can I make this controller DRY?

I have been working on an online newspaper/blogging application with CodeIgniter 3.1.8 and Twitter Bootstrap 4. I am currently working on a lazy loading (of posts) feature. I have added a pager opt...
1,350 Views
1 Replies
01-30-2022, 01:09 PM
Ajax30
    Thread: How do I get the number of pagination items in Codeigniter 3?
Post: How do I get the number of pagination items in Cod...

I have been working on an online newspaper/blogging application  (https://github.com/Ajax30/Bravecms)with CodeIgniter 3.1.8 and Twitter Bootstrap 4. By default, the posts are paginated and displaye...
1,682 Views
1 Replies
10-15-2021, 02:48 AM
Ajax30
    Thread: How do I replace the default pagination with a pager?
Post: How do I replace the default pagination with a pag...

I am working on an online newspaper/blogging application (https://github.com/Ajax30/Bravecms/tree/clean_blog_pager) (link to GitHub repo) with CodeIgniter 3.1.8 and Twitter Bootstrap 4. The applica...
1,891 Views
2 Replies
09-28-2021, 11:56 AM
Ajax30
    Thread: What is wrong with this password update process?
Post: RE: What is wrong with this password update proces...

iRedds Wrote: (03-04-2021, 09:10 AM) -- $token = '' -- What line? What is wrong with it?
3,006 Views
5 Replies
03-04-2021, 01:18 PM
Ajax30
    Thread: What is wrong with this password update process?
Post: RE: What is wrong with this password update proces...

php_rocs Wrote: (03-04-2021, 08:18 AM) -- @Ajax30, What error messages are you getting? -- No error message. Check the branch. :)
3,006 Views
5 Replies
03-04-2021, 08:27 AM
Ajax30
    Thread: What is wrong with this password update process?
Post: What is wrong with this password update process?

I am working on a basic blog application (https://github.com/Ajax30/lightblog/tree/password_reset_system)in Codeigniter 3.1.8 and Bootstrap 4. I have added a registration and login system to this ...
3,006 Views
5 Replies
03-04-2021, 05:55 AM
Ajax30
    Thread: What is the reason updating a user's password fails in this application?
Post: What is the reason updating a user's password fail...

I am working on a basic blog application (https://github.com/Ajax30/lightblog/tree/password_reset_system) in Codeigniter 3.1.8 and Bootstrap 4. I have added a **registration and login** system to t...
821 Views
0 Replies
02-28-2021, 03:21 PM
Ajax30
    Thread: What causes this Page Not Found error?
Post: What causes this Page Not Found error?

I am working on a basic blog application (https://github.com/Ajax30/lightblog) in Codeigniter 3.1.8 and Bootstrap 4. I have added a registration and login system to this application. I am current w...
1,076 Views
1 Replies
02-28-2021, 01:48 AM
Ajax30
    Thread: ? How do I email a LINK from this Codeigniter 3 form? ?
Post: ? How do I email a LINK from this Codeigniter 3 fo...

I am working on a basic blog application in Codeigniter 3.1.8 and Bootstrap 4. I have added a registration and login system to this application. I am current working on a password reset system. ...
1,206 Views
1 Replies
02-21-2021, 02:46 PM
Ajax30
    Thread: How can I get the current post's index by slug?
Post: RE: How can I get the current post's index by slug...

Hey, thanks for the help. Getting the next (newer) post works: PHP Code: -- public function get_next_post($slug) { $this->db->where('id >', $this->get_post($slug)->id); $this->db->limit(1);...
1,798 Views
2 Replies
02-08-2021, 04:28 PM
Ajax30
    Thread: How can I get the current post's index by slug?
Post: How can I get the current post's index by slug?

I am working on an online newspaper/blogging application with CodeIgniter 3.1.8 and Bootstrap 4. At the bottom of the single post view, I want to add a link to the next post (as well as one to the ...
1,798 Views
2 Replies
02-06-2021, 02:38 PM
Ajax30
    Thread: How can I pass a variable from a Twig view to a controller?
Post: RE: How can I pass a variable from a Twig view to ...

sammyskills Wrote: (11-27-2020, 04:08 AM) -- First, where is your Comments controller? Post the code also, so it can be easy to determine how you are getting the $post variable. -- It is that cr...
2,848 Views
2 Replies
11-27-2020, 02:07 PM
Ajax30
    Thread: How can I pass a variable from a Twig view to a controller?
Post: How can I pass a variable from a Twig view to a co...

I am working on a online newspaper/blogging application (https://github.com/Ajax30/twigPress/) with CodeIgniter 3.1.8 and Bootstrap 4. I have decided to add themes to it. The application is not HMVC, ...
2,848 Views
2 Replies
11-26-2020, 02:07 PM
Ajax30
    Thread: How do I use Codeigniter pagination inside Twig views?
Post: How do I use Codeigniter pagination inside Twig vi...

I am working on a online newspaper/blogging application (https://github.com/Ajax30/twigPress/) with CodeIgniter 3.1.8 and Bootstrap 4. I have decided to add themes to it. The application is not HMVC, ...
1,305 Views
1 Replies
11-24-2020, 03:46 AM
Ajax30
    Thread: What causes the “Twig_Environment not found” error?
Post: RE: What causes the “Twig_Environment not found” e...

InsiteFX Wrote: (11-21-2020, 09:11 PM) -- PHP Code: -- @trigger_error('Using Twig_Autoloader is deprecated since version 1.21. Use Composer instead.', E_USER_DEPRECATED); -- -- I have switched...
3,882 Views
7 Replies
11-22-2020, 02:57 AM
Ajax30
    Thread: What causes the “Twig_Environment not found” error?
Post: RE: What causes the “Twig_Environment not found” e...

superior Wrote: (11-21-2020, 02:13 PM) -- Isn't third_party libraries loaded through the $autoload['packages'] array? Autoloading libraries only looks for the /application/libraries/* directory, you ...
3,882 Views
7 Replies
11-21-2020, 04:19 PM
Ajax30
    Thread: What causes the “Twig_Environment not found” error?
Post: RE: What causes the “Twig_Environment not found” e...

InsiteFX Wrote: (11-19-2020, 05:05 PM) -- The library should be installed in the ThridParty folder. Then in you controller. PHP Code: -- // If you don't use Composer, uncomment below /* requ...
3,882 Views
7 Replies
11-20-2020, 01:30 AM
Ajax30
    Thread: What causes the “Twig_Environment not found” error?
Post: What causes the “Twig_Environment not found” error...

I am working on a online newspaper/blogging application (https://github.com/Ajax30/twigPress/) with CodeIgniter 3.1.8 and Bootstrap 4. I have decided to add themes to it. The application is not HMVC, ...
3,882 Views
7 Replies
11-19-2020, 06:52 AM
Ajax30
    Thread: How do I load a view from outside the default views folder in this application?
Post: RE: How do I load a view from outside the default ...

InsiteFX Wrote: (10-30-2020, 11:22 AM) -- Great, glad you got it to work. -- There is another question (https://forum.codeigniter.com/thread-77880.html).
2,898 Views
4 Replies
10-30-2020, 12:13 PM
Ajax30
    Thread: Why can't I pass this variable to a Twig view?
Post: Why can't I pass this variable to a Twig view?

I am working on a online newspaper/blogging application (https://github.com/Ajax30/twigPress/) with CodeIgniter 3.1.8 and Bootstrap 4. I have decided to add themes to it. The application is not HMVC, ...
1,506 Views
1 Replies
10-30-2020, 04:26 AM
Ajax30

Theme © iAndrew 2016 - Forum software by © MyBB