if you want to demo fuel based search in action take a look at marlin.ac.uk
It's pretty certain that something in your setup isn't right. Have you initialised the search table within the Fuel dashboard with data? Have you set up a div container in …
just add
function results($id) {
$vars['profile'] = $this->my_model->find_one("id = {$id}");
// pass $vars to view
}
to your sportscenter controller and have a view display the data
url = http://do…
LOL. Yeah. Me!
It's been one of those iterative improvements things so maybe I need update the repo... [bandwidth!] Fundamentally, it shouldn't be far off but I can't remember what I've done tbo. Juggling routes and paths was a ball-ache. It's prob…
You can add to ./fuel/modules/fuel/assets/js/editors/ckeditor/plugins
You can edit ./fuel/modules/fuel/assets/js/editors/ckeditor/config.js
The most useful thing is ./fuel/applications/config/editors.php
Edit the $config['ckeditor']['default'] …
To be honest, I quite like the cut and thrust of forum discussions to get to a solution. The first answer is not always the best one...
StackOverflow are quite good at that. I don't often see stuff in there for Fuel but there's lots of CI stuff w…
I don't think ngix supports .htaccess files. Fuel/CodeIgniter relies on .htaccess
What happens if you navigate to http://localhost/index.php or http://localhost/fuel/index.php?
Have you converted the Fuel .htaccess stuff to ngix equivalent?
if it was me, I'd create a new custom field based on the multi field type and add javascript to count the selections on each change.
Maybe there's already a similar selection widget out there that does that? Perhaps incorporate that as a custom fie…
find_one() will return a single database record based on your $where criteria. By default it should be an array of nodes - each node being a database field.
To iterate the nodes:
foreach ($array as $key => $val) {
echo "$key => $val \n"…
Yeah. There's a form element wrapping everything, the "correct"(?) [div] container for the first form and then a [form] container for the 2nd form. There's two formBuildFuncs stanzas but both use the ID of the first form.
Loading the formbuilder li…
A simple module will have a controller called "products". That URL is pointing to a function in your controller called "slug". What is the URL behind the view button?
Why would you have a menu item published but pointing to an unpublished page?
Navigation is decoupled from pages (rightly so), you need to manage both.
If you really want to have live menu items pointing into the wilderness, I guess you'll need …
wrap your main layout in a div with an id attribute.
in the footer block, write an ajax call to a controller function to load the html into the div
write a controller function that returns a view contents as a string
$string = $this->load->…
It will be a ckeditor plugin question for their forums. Fuel's ckeditor settings should be in ./config/editors.php - is that getting loaded? Does it have the correct settings?
I don't think it's "switched on" globally in the first place.
Just make sure your server locale and database tables are all set to UTF-8 and you should be good to go as long as you use the Fuel & CodeIgniter Active Database functions for CRUD.
Add to ./config/editors.php
$config['ckeditor']['default'] = array(
...
'contentsCss' => WEB_PATH.'assets/css/ckeditor.css'
);
And add whatever CSS you want for your editor