Ok got it! It seemed to be a browser issue. I was using and older Firefox (version 10.x) on one of my dev computers. I hadn't tried to replicate the problem in another browser (* head slap *). Once the browser was updated, the problem disapeared.
S…
Blog specific categories. They (the categories) are also not listed in the categories section of the main blog view although the information is in the fuel_blog_categories table. All that is listed under "categrories" is "uncategorized".
Has anyone made some headway on a French translation for the backend. If not, I'll work on it in my spare time. I just don't want to reinvent the wheel...
Ok,
I've tested a few more variations with more languages...
$config['languages'] = array( 'en' => 'English', 'fr' => 'French', 'gr' => 'Greek', 'ar' => 'Arabic', );
Regardless of which language appears as default in the drop-down …
Hi,
I'm also experiencing this issue. It seems to be happening only in modules where I've set a custom ID using the key_field property. I'm on 1.0 branch.
I've dowloaded the latest files from 1.0 branch.
Yes, adding the '_upload' suffix does transfer the filename to that field's value. However, using the 'file_name' parameter does not change the transfered filename.
So even if I've set 'file_name' …
That's great news!
I was indeed already renaming the file in an on_after_post hook. I also put together some logic in an on_after_save hook to update some fields with the ID created during the (first) save. Your placeholders would, I think, greatl…
In other words, I would like to be able to insert the value of an ID field into any other field upon first creating the entry (first save) when the ID is actually created.
I'm sorry, I don't want to overly confuse the issue. Yes, I'm working with image uploads but I would like to understand the principle so I could to the same thing with a simple PRODUCTS table with a 'products_id' field and a 'product_filename' field.
OK, it's running this query on my 'types' table:
UPDATE `types` SET `precedence` = 2 WHERE `types_id` = '2' UPDATE `types` SET `precedence` = 3 WHERE `types_id` = '1'
My 'types' table has only three fields: 'types_id' (INT), 'types_name' (VARCHAR…
A step in the right direction! The custom key is accepted.
Instead of doing nothing and throwing an error, it now reloads the list. However, it is only reloading and ordering using the old precedence values.
In other words, if I drag ITEM1 (preced…
Ok, I've found the problem: my key field was not named 'id'.
The console was showing a Database Error because "Unknown column 'id' in 'where clause'" (DB_driver.php line 330). If I rename my key field to 'id', rearranging works.
However, I usually…
I've included a 'precedence' field in my table (set to INT) and it shows up fine when I list the items. However, when when I click "Rearrange" and drag the elements around, they change position but the 'precedence' column is not updated.
Do I have …
Hi,
Check out comment 3679 at http://www.getfuelcms.com/forums/discussion/comment/3679/#Comment_3679.
I also had problems with image uploads and the fix to the bug admin is refering to is near the bottom of the thread. Hope this helps.
Is there a way of setting css link attributes when using page variables (i.e. in the global variables file)?
My problem: I need to set different print only css files for different pages.
Thanks.
Regardless of the key I use in editable_asset_filetypes (i.e. what folders I add, how they are named, how many there are) all the filetypes listed as values in the array are allowed for any upload field.
By specifying, for example...
... 'beeblebro…
Hi,
I've set up my asset filetypes like so, in config/MY_fuel.php:
$config['editable_asset_filetypes'] = array( 'images' => 'jpg|jpeg|jpe|gif', 'pdf' => 'pdf', );
In one of my simple module forms, I want to be able to upload images, so I u…
If I use a multifile class on my image upload field, how can I access the path for each uploaded image inside my on_after_post hook for processing (using a loop, I guess)?
Thanks admin! That was exactly what I was looking for.
Keep up the excellent work! The more I use Fuel, the more I realize how great it is. Not only is Fuel a solid piece of work but you, sir, are an amazingly available and competent resource for t…
Is it possible to easily do this "split form" trick in the create/edit view of a simple module? I have a PORDUCTS module with a lot of fields and I would like to display them over 2 columns (for example).
I've created a custom view based on the mo…
Thanks admin, that did it!
I was using a very basic model for my table and, since I didn't need any special formating or rendering, I hadn't defined the list_items method.
Setting it up and specifically declaring $col as "division_id" in its param…
When I click on the Divisions module in the dashboard I get:
A Database Error Occurred Error Number: 1054 Unknown column 'id' in 'order clause' SELECT `divisions`.* FROM (`divisions`) ORDER BY `id` asc Filename: C:\wamp\www\1-durapac\fuel\codeignit…
I gave that a try in my test site and, if I remember correctly, it worked. However, I can't get it to work now in my work project.
Here is my model code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Division…