Welcome Guest, Not a member yet? Register   Sign In
Request for Help: CodeIgniter 3 to 4 Migration
#1

I'm currently working on migrating a website from CodeIgniter 3 to CodeIgniter 4 and facing several challenges. I have very limited experience with this framework and have been using AI tools to assist me.
Current Situation:
  • The website is organized into Frontend and Backend sections
  • I've already migrated CSS, JS, and images to the public directory
  • The homepage has animations that aren't loading properly (likely JavaScript-related)
  • Some pages don't follow the standard MVC (Model-View-Controller) structure
Specific Issues:
  1. I'm unsure if I've correctly placed all CSS and JavaScript files
  2. Pages without the standard MVC structure aren't working
  3. Homepage animations are broken
I would greatly appreciate any guidance on:
  • Properly organizing assets in CodeIgniter 4
  • Handling pages that don't follow the standard MVC pattern
  • Troubleshooting the JavaScript animation issues
Thank you in advance for any assistance you can provide!
the structure
Reply
#2

(This post was last modified: 03-31-2025, 11:59 PM by InsiteFX.)

Open and check your css files img to see if it is using a link, you may need to change it.

For assets we use them like this, this is most standard for CI.
Code:
// Assets

ROOT:
-- app
-- system
-- Public
---- assets
------ css
------ js
------ images
------ img
------ icons
------ etc;
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB