Hi Admin,
Any luck here.. I tried allowing certain characters in the config/config.php file's permitted_uri_chars but still the same result.
I tried debugging around :any in the Pages controller of the fuel folder but didn't find anything relevant…
No {director-name/any-other-word} -> this was just for representation purpose, that If I use anything in the final uri_segment then I am getting the page same as
about-us/board-of-directors/enterprises/
Do I have to make any change to the loca…
Yes, I go to the asset module, select image and select folder location each time.
Also, similarly I go to the file upload field in my custom created page and select file and select folder. The page has the block attached, as shown above.
Thanks.
I added the above line in the config file.
Now,
about-us/board-of-directors/enterprises/:any in the browser gives the desired page
about-us/board-of-directors/enterprises/{director-name/any-other-word} in the browser gives the page at "about-us/boa…
Hi Admin,
I have got this issue from asset module and right now I trying to upload from the page.
Here is the code for the page block.
$config['blocks']['sub_about_menu'] = array(
'fields' => array(
/*Some fields*/
'background_image' => a…
Hi Admin,
I tried adding only :any at the end of the URL but still I am not getting the page. I am getting a 404 for any fragment I use at the end of the URL.
about-us/board-of-directors/enterprises/:any in the browser gives the desired page
about…
I sorted the Issue, I was trying to call the section_1 in my layout file like we call general fuel_vars. <?php echo fuel_var('section_1'); ?>
instead when I replaced the above code with the one below, things worked <?php echo fuel_block('…
Does your layout / view file have that variable passed to it?
I am using the admin panel for passing data, the only code that I am using is the above my_fuel_layout.php code shared.
So you suggest that for accessing the variable values inside the b…
Yes, $award_list returns an array when passed find => 'all' with fuel_model function.
No, I don't have an Award_items_model specified, the above shared code is the only model code I am using.
Thank you very much admin, I guess the virtual host was not configured properly.
I made the below changes to the virtual host, referring the link:
https://www.digitalocean.com/community/questions/how-to-set-the-default-virtual-host-on-apache-2
Yes, the case is the latter one.
Where can I specify the layout with field names for the variable import to function properly? Any links for reference ?
I already have layout file under _layout folder with the below code
<?php $this->load-…
If you have page specific variables, I'd recommend setting them up as a page in the CMS.
- When I try to setup a page in the admin page and select my custom layout (code shared above in my previous code), I am not getting the variables associated to…
So here is the thing that I am trying to do. I am trying to shift the _variable file dependent pages to the database. I am trying to put the current structure below:
I used the opt-in controller method to get my routes working and passed all the de…
I guess this works, now I don't see modules section in the left side bar but this caused another issue to pop-up right on the dashboard
A PHP Error was encountered
Severity: Notice
Message: Undefined index: modules
Filename: libraries/Fuel_admin.…
Awesome, I have a section now which reads my_group but still all the modules are visible under modules section. Here is my code!
//$config['nav']['modules'] = array();
$config['nav']['my_group'] = array('healthcare' => 'healthcare');
If I ca…
Hi Admin,
I tried to implement your solution by adding the below line
$config['nav']['modules'] = array('My Group' => array('healthcare' => 'healthcare', 'benefits' => 'benefits'));
But I received the below error: Can you suggest an al…
Hi Admin,
Again sorry for the delayed response!
So the file fuel\modules\fuel\config\fuel.php consist of the variable $config['assets_allow_subfolder_creation'] = TRUE;
When the above variable is set to true and when I try to upload the image …
Hi Admin,
Extremely sorry for the delayed response, as I had some deployments lined up!
I tried commenting each one of the modules but still not able to figure out what was causing the session error to popup.
I tried to work-around the issue by c…
I don't know, what qualifies for fresh install. Initially on the fresh install there is only one home page. I logged in to admin panel, but I guess there is not much happening on a fresh install, so there is no session related issue.
The issues star…
I guess the issue here was the pdf files I was trying!! I wasted the entire day looking for the solution. These pdf's where not getting uploaded on the very first place. Tried with some other pdf's and the pdf's were visible in the directory
On de…
Ohhk coming to the main issue of the image not been uploaded in the directory and the data being saved in the database:
I tired the following code to debug
function on_after_post($values){
$CI =& get_instance();
if (!empty($CI->upload)…
Are you certain that the mimes being returned are "application/pdf"
I tried few of the online tools to check the mime-type, I am not sure how concrete is the methods and I got application/pdf
This issue is secondary - some files are giving positive …