Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

onegun

About

Username
onegun
Joined
Visits
116
Last Active
Roles
Member

Comments

  • Actually if it could, I hope there is a preview button beside save which could preview whole form input instead of previewing text area input only Could u point me a direction, maybe I could try to write this as plugin to further my understanding of…
  • Thanks guys
  • i think that is one of fault in my architecture design of the site, i think i will abandon this idea and change at the root. Thanks
  • i searched but cant find the code, most probably converted to short hand syntax?
  • I have explained in my september 5 post, please read and digest, thanks
  • thanks all, how can i make a "multi" field allow sorting only, which means there will not have two box side by side to select left side items to right side then sort, but only left box allow sorting?
  • It does said new fuel.min.js script is generated, but I did not see the change. Although method one work perfectly but I believe minimized fuel.min.js is better for loading
  • render_type: options are basic, breadcrumb, page_title, collapsible, delimited, array. Default is 'basic' but i believe to change ul>li to img etc you can use container_tag: the html tag for the container of a set of menu items. Default is ul …
  • that is because page parameter is missing from your url as i have explained earlier in my posts. There are two ways for you to solve the problem one is to change the url from /furni/photogallery/type-picture/galcategoryid-12 to /furni/photogallery/…
  • strange method two is not working
  • errr, no sure why it is still there restore from previousversion Navigation Create navigation want to get rid of all these
  • Hi, i take a look of the script. The flow of the script follows by 1. reach loader.php 2. loader.php then load a group of script 3. loader.php first check url for option parameter if there is then redirect to "option" folders under /modules. If op…
  • it seems the add all button is not triggering the jquery.repeatable.js as there are not changes happening. even i do $(document).on('click', '.' + options.addButtonClass, function(e){ e.preventDefault(); e.stopImmediatePropagation(); ale…
  • under config folder, check MY_fuel_modules.php configure module by include table_headers parameter $config['modules']['products'] = array( 'module_name' => 'Products', 'table_headers' => array( 'id', 'product_name', 'tinyurl', 'a…
  • Thanks a lot, but seem there are another error. In this block, now i set $tag_options=array('must-haves'=>'Must-Haves','exclusives'=>'Exclusives','videos'=>'Videos'); $block->add_field('tag', array('label'=>'Tags', 'type'=>'multi',…
  • ok, u can upload to an online drive then share me the link through pm http://forum.getfuelcms.com/messages/add/onegun
  • i checked this solution, but there are some other side effects. For example, if there is an asset field in the block such as $block = new Fuel_block_layout('whatsnew_article_block'); $block->set_label('Whatsnew'); $block->add_field('title', a…
  • for options here a). http://localhost/furniture_n/photogallery b).photogallery_office furniture: http://localhost/furniture_n/photogallery/type-picture/galcategoryid-12 c) photogallery_office furniture-executive chair: http://localhost/furniture_n/…
  • no sure which script you are using, so i am hard to guess the architecture of the whole system. the .htaccess rules above only route to loader.php with $_GET parameters ( as you requested in first post). In loader.php, you will then need to get thes…
  • If loader.php is under furniture_n directory you can put the .htaccess like below to redirect a),b),c) above to loader.php by Options +FollowSymLinks RewriteEngine On RewriteBase /furniture_n/ Order Deny,Allow Deny From All # Allo…
  • i will try to help, but need more info on this question 1. you are using fuel cms?? 2. you want to redirect http://localhost/ft/photogallery/galleryimage/galleryid-71/galcategoryid-12 to loader.php?option=galleryimage&page=71&storeid=12?? 3…
  • hi, if you are using fuel cms, i would suggest you to use route.php under config folder to do the job. which means for example if you have a gallery.php in /controller folder and there is a loader function such as public function loader($option,$pa…
  • no actually, i use pdo raw query to insert into the table...i removed on_before_insert, the program now identify both on_after_insert and on_after_update...
  • i believe page is also number, maybe can try ^([a-zA-Z0-9_\s]+)/([0-9]+)/([0-9]+)$ loader.php?option=$1&page=$2&storeid=$3 [L]
  • storeid will always be number? or is alphanum?
  • yeah, during the lunch, i thought of same idea, am modifying the scripts. but still thanks
  • ouch, could you tell me which file i can edit? i will try to twist it myself. The reason why i want to do this is because if there are validation on these template fields( validate if there are such fields present in the key of submitted data), it w…
  • hmmm ([a-zA-Z0-9._,()&/\s]+) anyproblem on this part? i thought / is special character and need to escaped with '\/'??
  • i did another check on this problem. and i discover that if there are three functions in the program on_before_insert() on_after_insert() on_after_update() if on_before_insert function runs, then on_after_insert will NOT be excuted but straight …
  • solved because i forgot to set label to the layout object. Thanks for help