Yes. You don't need a view file to display a page and vice versa. Pages with the same location as a view take precedence though. Have you by chance changed the value of the 404_override in the routes.php file?
Right before "return $post;", add:
$this->CI->calendar_posts_model->debug_query();
This will output the query that's being displayed and may make it easier to debug. If you don't see any output, then it may be that it's not hitting this met…
To filter the list view, there is a "filters" and "filter_join" model parameters you can set. The filter_join can be used to specify whether to use "and" or "or" in you filtering:
public $filters = array('category');
Similarly, to add a filtering co…
If you have .htaccess enabled, you should set the index_page to '':
$config['index_page'] = 'index.php';
With regards to checking .htaccess, you'll need to change some things in your Apache config file:
http://tildemark.com/enable-htaccess-on-apache/
try using the img_path() function in one of the following methods depending on if the image code is in a field in the CMS or if it is in a static view file:
View Code
Can you confirm the following (sorry if they seem silly, but need to ask):
1. Is .htaccess enabled
2. Is mod_rewrite enabled
3. What is the current setup you are testing for the .htaccess... in particular, are you using RewriteRule .* index.php/$0 …
That fuel/index.php file is there because if you go to the following url, it will redirect to the FUEL login page. This is because the directory exists and the .htaccess won't pick it up and route it to the main CI index.php bootstrap file:
http://l…
FUEL likes to break the typical MVC approach especially when it comes to CodeIgniter. The reasoning is that CI's implementation of creating a controller and method to display a view is overkill for most websites and only seems logical for pages that…
Did you specify a "preview_path" for you module of 'showcase/project/'.$this->slug? And if so, is there a view file setup under fuel/application/views/showcase/project.php? If so, be sure to do ONE of the following:
1. Add the following to your …
Is there any special settings on the "meetings" module's permission parameter? The default value is array($this->module, 'create', 'edit', 'publish', 'delete', 'export'). Also, I'm assuming this user you are logged in as has that permission assig…
I'm not entirely sure I follow but I'll give it a shot. If you are wanting to create a page in the CMS and want to output it's content in a controller, you can use something like:
$this->fuel->pages->render('mypage', $vars);
http://docs.get…
When you create a page in FUEL that has multiple languages there is only one entry for the page location. The actual page variables get associated with the language. So the representation in the tree and list view is that you only see the page and t…
There are a few ways to do this depending on where all you want the settings to apply:
1. The fuel/application/config/MY_fuel.php file has a "ck_editor_settings" configuration parameter you can change
2. There is a "editor_config" you ca set as a …
You should also add the line:
$this->form_builder->load_custom_fields(APPPATH.'config/custom_fields.php');
You may also need to define some other javascript configuration variables that FUEL uses too for paths. You may also need to create a gl…
It usually has something to do with it trying to parse a function that may not be set as an allowed function in fuel/application/config/parser.php. Is it perhaps some javascript { } causing the issue?
Below is what I would recommend doing to the Fuel_calendar::get_posts_by_date() method. Note the commented area and that I substituted the model name to "calendar_posts_model" where I thought it necessary:
function get_posts_by_date($year = NULL, $m…
The easiest way to setup permissions is to run the generate/simple command explained under the generate section in the documentation:
php index.php fuel/generate/simple meetings
http://docs.getfuelcms.com/modules/generate
This line shouldn't be necessary in the posts.php file since the controller is already making the database query with "get_posts_by_date" before sending the returned array of posts to the view (posts.php):
<?php $posts = fuel_model('calendar_pos…
Yes. You can use the model property "filters" and specify an array of model fields you want to include in the search. There is also a "filter_join" property which can be either "and" or "or" or an array with the key being the field name and the valu…
For the blog, the fuel/modules/blog/controllers/blog.php controller provides an array of $posts using the Fuel_blog::get_posts_by_date() method (you'll see it in the main _remap method around line 73). That array gets passed on to the posts.php file…