How to make a class, in a class :/ |
[eluser]Unknown[/eluser]
Hi, i explain my situation : I avec an administration on www.example.com/Admin/. I want to do a news administration with url like that : www.example.com/Admin/News/ But, in News, there's 3 action : add, edit and remove. So News have to be a class.. How can i do something like that ? Thanks.
[eluser]ReGeDa[/eluser]
.htaccess: RewriteRule ^Admin/News/(add|edit|remove)$ /index.php?/News/$1 [L]
[eluser]Pascal Kriete[/eluser]
Alternatively, you could make a subfolder called Admin and put it in there.
[eluser]Unknown[/eluser]
oh, i havent thought at this. Thank you very much ReGeDa.
[eluser]ReGeDa[/eluser]
[quote author="inparo" date="1215483462"]Alternatively, you could make a subfolder called Admin and put it in there.[/quote] subfolder in "system/application/controller" ?
|
Welcome Guest, Not a member yet? Register Sign In |