Ok, here we go. A small - and silent video - about the idea of the "page modules":
i hope its recognizable.
may i can add later another video to show the functionality in the view
Thank you so much for your try to help me!
It's almost that, what i ment. I also used the linked table feature in other models, so im informed about that.
But the problem with all those solutions is: I has to define it as webmaster. I want to gi…
Hey Tallowman, thank you for your reply.
But it's little bit more complex:
Example (We love examples today! ):
My customer has a big company with about 200 workers. In my "Contact" modul, my customer has added all 200 workers. -> perfect.
N…
mhmm...
ok then, i need for every repeating section a own module. I'm a Band, so i need a
- "tour" module
- "press" module
- "news" module
- "video" module
- "media" module
- "contact persons" module
then in some cases i need two modules in one…
ok.
maybe both questions are answered by myself!
i start in the user_model -> on_after_insert an try to add a record with the user_profiles_model ($this->user_profile_model->insert($value));
Thats not quite possible because the user_pro…
@erik
you save the page variables thru the page controller with the private _save_page_vars method, right?
$where = array('page_id' => $id, 'lang_id' => $langID) ;
Hey @all.
@admin: location/slug? you mean at the frontend? such as www.page.com/en/page?
yes of course.
at the admin panel, it works mostly with ajax:
As a example, my navigation page: If i trigger the select, it will open a ajax request to …
hey pierlo. in the end, there was a lot of things to do.
You need to consider a lot of things, before you start. such as the page_variables (there must be a lang_id)
Thats my 'Pages' Site: (in german)
in my db, i've extended the pages table li…
ok. made that.
also there is a understanding-problem from my side, i guess.
In the navigation model, we do have a 'location', and a 'nav_key'. Can you explain me the function eg. the difference of those two keys?
tank you
thats great. because of my logical global structure, i want to make that feature accessible to the whole fuel environment. Where do i have to add a hook, to upload predefined image-versions?
hey mike.
thank you so much for your time. actually, i am already over that.
i stuck at the save part.
let me show you my example:
my entry_model:
- id
- first_name
- last_name
- etc.
my entry_meta_model:
- id
- entry_id (the id from entry_m…
but how do i set the ID?
entries_table: id => auto_increment title => varchar entries_meta_table: id => auto_increment entryID => int
how do tell the meta_model the recent entry ID?
really?
i need then a short advise:
how can i include the form_fields from one module into another?
$fields = array(); $meta_fields = $CI->meta_model->form_fields(); array_push($fields, $meta_fields);
and to save?
$CI->meta_model-&…
fyi: i've created in my module/controllers an ajax.php which extends the fuel_base_controller. to make the hole stuff flexible, i added to the index() method a case statement which checks the request and redirects the request to the required method.…
ok. to add a good multilingual option, it's quite impossible to add all that stuff only with hooks. you need to change the extending of the MX_Lang and add a MY_Config to the core.
also there is another question: for the frontend we need some default language values.
please correct me:
in page_router.php after the check if cms or frontend i will load a languagefile
$this->lang->load('default', $this->multilang-&g…
okay, i did it.
its a bit of work, but with your great logic not that hard.
// config
i've created a new config file with an array (array(0=>array('id'=>0, 'langCode=>'en' ...)))
// library
i've created a autoload library with some fun…
I also want to extend fuel cms to an multilingual cms.
The easiest part i guess, is to add to the fuel_page_variables table a "langID" row. after that i extend the pages controller and add a multi_lang controller. (pages contains a dropdown with a…
okay. i guess that's not possible. i only can extend the mx_config itself (Like your module_load) function (instead of parent::load i could do $this->loadCoreConfig).
anyway. my real problem - missing fuel.php config file, when i try to create a…
hey admin,
thank you for your response.
i can't extend my_config in application/core to mx_config.
but i can create - like you said - a config.php in third_party/fuel:
require_once(APPPATH.'third_party/MX/Config.php');
class Fuel_Config extends …
ok.. i've found it.
i changed the third_party->mX->config.php from:
class MX_Config extends CI_Config
to:
class MX_Config extends MY_Config.
--
when i create a controller in application->controller-> eg. welcome.php
and i want to…
actually i think i'm wrong.
Also i think this is not a fuel question. I tried to to extend the core->config.php file to overwrite the load(); function. But it wont recognize it.