Featured post
i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.
php - htaccess configuration - With CodeIgniter - A3M library -
i downloaded a3m, comes packaged ci 1.7.2 went ahead , removed of files needed run , put them in pre-existing installation. after going a3m controller on site received: message: undefined property: ci::$session
so assume it’s because of htaccess looking a3m files in a3m folder, here’s a3m htaccess:
rewriteengine on rewriterule ^$ /a3m/index.php [l] rewritecond $1 !^(index\.php|css|img|js|scripts|system|uploads|robots\.txt|favicon\.ico) rewriterule ^(.*)$ /a3m/index.php/$1 [l] and existing htaccess mod rewrite follows:
<ifmodule mod_rewrite.c> rewriteengine on rewritebase /beta/ #removes access system folder users. #additionally allow create system.php controller, #previously not have been possible. #'system' can replaced if have renamed system folder. rewritecond %{request_uri} ^system.* rewriterule ^(.*)$ /index.php?/$1 [l] #when application folder isn't in system folder #this snippet prevents user access application folder #submitted by: fabdrol #rename 'application' applications folder name. rewritecond %{request_uri} ^application.* rewriterule ^(.*)$ /index.php?/$1 [l] #checks see if user attempting access valid file, #such image or css document, if isn't true sends #request index.php rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ index.php?/$1 [l] </ifmodule> <ifmodule !mod_rewrite.c> # if don't have mod_rewrite installed, 404's # can sent index.php, , works normal. # submitted by: elliothaughin errordocument 404 /index.php </ifmodule> as commenting shows, used site while back, how can combine 2 guess i’m trying ask i’m quite enthused using a3m.
thanks guys.
it doesn't you've loaded session library.
check in system\application\config\autoload.php if have library loaded: [42] $autoload['libraries'] = array('database', 'session');
you can controller: $this->load->library('session');
- Get link
- X
- Other Apps
Popular posts from this blog
c# - Usage of Server Side Controls in MVC Frame work -
i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.
html - Difference between button and input? -
possible duplicate: <button> vs. <input type=“button” />. use? are there major differences between <button type="button" name="thebutton">submit</button> , <input type="submit" value="submit" name="thebutton" /> also, can use <button type="submit" name="thebutton">submit</button> ? here's page describing differences (basically can put html <button></button> and other page describing why people avoid <button></button> (hint: ie6) reference: <button> vs. <input type="button" />. use? also have @ slideshow button .
javascript - Problem in loading a document in the same page using href="" in Jquery-mobile -
i have list view. in which, every list item document(.pdf, .xls , .doc etc.). after clicking list item, need open document in same page. used anchor tag without target="_blank". not working. using target attribute, works fine , opens in new tab. need in same tab. here code used. $('div').live('pageshow',function(event, ui){ var parent = document.getelementbyid('listview'); var listitem = document.createelement('li'); listitem.setattribute('id','listitem'); listitem.innerhtml = "<a href='testdoc.doc' >my word document</a>"; parent.appendchild(listitem); var listitem = document.createelement('li'); listitem.setattribute('id','listitem'); listitem.innerhtml = "<a href='contacts.pdf' >my pdf document</a>"; parent.appendchild(listitem); ...
Comments
Post a Comment