Next/Previous Links in Calendar Class |
[eluser]toymachiner62[/eluser]
what is the error you are receiving? and what is the URL before and after you click the prev/next button?
[eluser]toymachiner62[/eluser]
I see an error in my snippet. See updated version. Code: $temp = array (
[eluser]lrussell810[/eluser]
http://www.discipleshipplanning.com/planner then try and click on the prev/next links
[eluser]toymachiner62[/eluser]
it's because it's not loading your method in the url name. It should be http://www.discipleshipplanning.com/plan...YEAR/MONTH. What are you using for the url for next_prev_url?
[eluser]lrussell810[/eluser]
This is in my controller now Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
[eluser]toymachiner62[/eluser]
Your prefs is still wrong. Your method is called "index", not "show". Should be Code: 'next_prev_url' => site_url('planner/index')
[eluser]lrussell810[/eluser]
Ok, I changed it to index and these are the errors I've received http://www.discipleshipplanning.com/planner BTW, thank you for all of your help. You have no idea how much I appreciate it.
[eluser]toymachiner62[/eluser]
You still need to load the URL helper. Just add Code: $this->load->helper('url')
[eluser]lrussell810[/eluser]
I Auto-Loaded the URL helper earlier, but I just tried it as the first thing inside of my index function of the controller Planner, but now I have a new error.
|
Welcome Guest, Not a member yet? Register Sign In |