thanks for your reply.
but its not working, it is not translating {album_name} to the value stored in it.
let me post the entire code i have so far
function form_fields($values = array())
{
$fields = parent::form_fields($values);
…
It works when i substitute {album_name} with a known directory.
So please how can i get {album_name} to be a working variable ? {album_name} is dynamic.
{album_name} works when i am not using the image manipulation class.
Thanks in advance.
Dear everyone,
for some reason this is not working for me
$thumb_img = assets_server_path('galleries/{album_name}/thumb/'.$data['file_name'], 'images');
I get make sure the directory or image is wirteable.
please what do i do ?
Thank you very much.
This is very interesting. I am enjoying fuel cms big time. I love all the helpers and the optin controller, everything.
I cant wait till i am good at this.
Dear Admin,
Please the snippet you posted above is wonderful, but please can you explain it some more, such as:
$upload_path = assets_server_path('work/{image_folder}/', 'images');
what is "{image_folder}" how would i implement something simila…
Thank you but please can you show me an example on how to do it.
like with these
define('THUMBSTEXT', 'Toggle Thumbs');
define('GALLERIESTEXT', 'View Galleries');
define('INFOTEXT', 'View Info');
define('PLAYTEXT', 'Play Slideshow');
define('PAUSE…
Thank you so much, that worked.
for those trying to do the same thing, this is what i did
<?php if(is_ajax()){
echo fuel_var('body', '');
}
else {
?>
<?php $this->load->view('_blocks/header')?>
<?php echo fu…
basically what i have detected, is that none of my layout variable overrides are working, for cms pages.
and even for one of my controller pages even though i have declared the layout override in its view file and variable file.
thanks again
I am really greateful for you taking your time to respond. Do you have a donate button or something so i can give back.
This is both intresting and furstrating. I decided to go with the ajax helper, and this is what i did.
I first of all tested to…
Ok sir, what i did was i created another view file and placed
<?=fuel_set_var('layout', '')?>
this worked flawlessly.
But leads me to anew problem, so do i have to duplicate all my view files just for ajax requests ?
is there a way to pass in…
Thank you for your reply, but if i did that, what about degredation ? how would i pass the layout variable if its an ajax request and if its not an ajax request (mean while i am still not sure if i should create controllers or i can still use the op…
Hi there i have narrowed down the problem to this line
{$textarea = array ("name" => "message", "cols" => "21", "rows" => "8")}
if i get rid of the line above, then fuelcms is able to load the page.
Thank you so much for fuel cms, Same problem here, using a form i made in ci, using ci form helper.
I have auto loaded it
i also changed the page render to cms.
and allowed form_open and form_input in the parser.php file.
Now the error i am gettin…