Welcome Guest, Not a member yet? Register   Sign In
CMS best practice on CI
#7

[eluser]Felipe Deitos[/eluser]
Guys i guess i not expressed myself well.
So i uploaded my test site and you guys can see what i have now and what i really want.

http://www.zephyr.com.br/previews/homespa/admin/login
(You guys probably will not understand what is written there because its portuguese, im from brazil, sorry about my freaking bad english by the way)

This is the login page
When u login you will be redirect to: (user: test pass: [email protected] [try it])
http://www.zephyr.com.br/previews/homespa/admin

The login system is working great (i guess hehe)

When u guys login theres only one link working click in "Banners" and then "Visualizar"...
The url now will be:
http://www.zephyr.com.br/previews/homespa/admin/banners (THATS PERFECT... is perfect because u really inside the admin in the url)

Like i said the url is perfect, but the files and folders not yet.

/controllers
-----admin.php
/views
-----/banners
----------admin_view.php

I want something like that


/controllers
-----admin.php
-----banners.php (all the banners code here)
/views(the views are okay i got a good template library)
-----/banners
----------admin_view.php

Thats easy to do... but if i doo this the url will be wrong

http://www.zephyr.com.br/previews/homesp...edit,view)

Any idea?
I like the Mr.pickle idea to use routes but i dont even know how to use them...

Sorry about making you guys read that much hehehehehe
Thansk for your help! Cheers!


Messages In This Thread
CMS best practice on CI - by El Forum - 10-22-2012, 05:23 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:41 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:48 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:56 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:57 AM
CMS best practice on CI - by El Forum - 10-22-2012, 05:58 AM
CMS best practice on CI - by El Forum - 10-22-2012, 06:58 AM
CMS best practice on CI - by El Forum - 10-22-2012, 07:06 AM
CMS best practice on CI - by El Forum - 10-22-2012, 07:15 AM
CMS best practice on CI - by El Forum - 10-22-2012, 09:24 AM
CMS best practice on CI - by El Forum - 10-23-2012, 02:31 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:08 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:49 AM
CMS best practice on CI - by El Forum - 10-23-2012, 04:55 AM
CMS best practice on CI - by El Forum - 10-23-2012, 05:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB