i did also considered block way. However because i do not want to scatter the codes around, thus still prefer to put it in controller. as for the mentioned way such as
$vars['my_var'] = 'My Variable';
$this->fuel->pages->render('my_page',…
basically, i want to create an editable page at the backend, but on this page there are parts use data records from other tables in the table such as user information table.
I am not thinking to directly coding php mysql queries in this editable pa…
Call to undefined function find_one() in /Applications/XAMPP/xamppfiles/htdocs/cms/fuel/application/controllers/api.php on line 13
hmm, still same error
then in the view file ( not the layout file), i used fuel_set_var('js','a,b,c'); on layout file i used <?php
echo $this->asset->js($js);
?>
beside these,
are also not parsed.
The flow is there is a signup.php controller a…
how to make them work on parsing variables in layout?
function index(){
if(!isset($_SESSION)) session_start();
if(isset($_SESSION['LoggedIn'])){
header('Location: profile');
exit;
}
$vars['parse_view']=TRUE;
…
errr, i am not sure what is the way you mention in 0.93, but think one of the usual way is to get the url and append as a parameter after /login, e.g. /login?redirect=abc.com and then u just need to check redirect parameter from url after login then…
there is another problem:
The multiple image upload for the "asset" field type not adding a comma is a bug that I just pushed a fix for in the develop branch on FUEL:
https://github.com/daylightstudio/FUEL-CMS/commit/6d3fed52fed35902fc41a13c61c9f85…
Thanks, a side topic, i just realized that while i am on this forum page, when u reply my post, there is a pop up saying " you have just made a comment", is this forum using node.js or other technologies to do this thing?
yes, basically want the asset field type to handle multiple images upload too, and i need to do some parsing on this field, as i need to store the images selected in a seperate table
yes, but i want it to have select image abilities, otherwise users are forced to upload the product images everytime even the images already exist in the assets, how can i let the image field to handle both upload and select image in this case?
if i set the field type to "file" there are two buttons appear beside the field when viewing the form. One is upload the asset and another is select image.
Because this product form has other fields ( not only to do upload), so if i am editing the …
but when i am selecting image, i dont think i can access $this->fuel->assets->uploaded_data() to get the data? i checked, seem it is not working. Also if i am saving it in another table using on_after_post, when i edit the multip-upload pag…
I dont get this, where can i add this param?block'=>array('type'=>'block', 'block_name'=>'about_related_article_block','display_label'=>FALSE)? this is a repeatable block which we can add by click the "add more" button, i dont think i ca…
solved by modify config/routes.php, however, this kind of changes can only done by hard coding, is it possible i make an editable pages with only "location" as page variables. so that by changing this location param i am able to route any modified p…
i dont get this part, i thought if i create a home.php controller with home class, then i can only access this page by http://localhost/cms/home, i cant access it using http://localhost/cms/en/home. As you said to use a route, how can i do that?
i tried to make the assets folder and sub folder all to 775, but the dropdown is still not populated. Another thing if you notice in module overwrites i changed to 'module_name'=>"hello", but the assets name in the admin control panel is not refl…