|
|
stackoverflow.com
- 2012-04-19 13:05:54
- Similar
- Report/Block
I am new to codeigniter. I made a simple controller to load the three views: header, body and footer. My header contains links to several javascripts and CSS which have a relative paths. I kept all the css and js relative to file in views folder. The problem is that the controller loads everything properly but images, js and css are not g...
|
|
|
stackoverflow.com
- 2013-01-31 11:18:38
- Similar
- Report/Block
I am trying to pass a variable from a controller to a view. I have some code but in order to understand what is the problem I made it simple. Here is my controller: load->view('welcome_message',$p); ?> Variable p is declared in the view. Welcome to CodeIgniter! When I try to display the $p value, I obtained the error: ERROR Parse error...
|
|
|
stackoverflow.com
- 2012-04-11 15:31:30
- Similar
- Report/Block
I am simply trying to increment the amount of page views per visit with CodeIgniter's active record. For some reason, the following code is incrementing twice. So it adds 2 page views per visit. What is strange is that this is used on another website that shares the same table and the same method code and it works properly on the other we...
|
|
|
|
stackoverflow.com
- 2012-04-10 21:55:35
- Similar
- Report/Block
I cannot get the jQuery UI Accordion to work inside one of my very simple CodeIgniter Views, not sure what is going on but I suspect it has something to do with how I linked the files. I have tried every possible combination of relative URL I can think of. Here is my Controller that loads my header view and then the primary view. This is...
|
|
|
stackoverflow.com
- 2013-03-13 10:54:35
- Similar
- Report/Block
I am writing a web application using codeigniter. I want to authenticate the privilege of our users before they access the page. Actually nearly all controller action except the log in page need to call the model and use $this->Users->validate($username, $password) I want to make it general for every controller. Do I need to inherit the c...
|
|
|
stackoverflow.com
- 2012-07-12 21:58:43
- Similar
- Report/Block
I need to run a cron job on a file using CodeIgniter but CodeIgniter won't let me run a file directly. i.e. I can run the controller in the browser with: api.example.com/index.php/cron My hosting only lets me run PHP files and I can't do it via the command line because it won't let me run wget or curl. How can I make CodeIgniter run a fil...
|
|
|
stackoverflow.com
- 2012-03-24 02:08:41
- Similar
- Report/Block
I'm try something from this comment idea Code Igniter Controller/Model name conflicts find class name varible on core/CodeIgniter.php : $class = $RTR->fetch_class(); and change like that: $class = 'Controller' . $RTR->fetch_class(); now change controller name: class ControllerUser extends CI_Controller { ... it's work. now I can...
|
|
|
|
stackoverflow.com
- 2012-06-09 02:57:30
- Similar
- Report/Block
In my different script (not using Codeigniter on this, but its on the same domain) I'm setting my session data this way: <?php session_start(); $_SESSION['something'] = 'test'; How comes it does works in that separated file but it doesn't in the Codeigniter session? When I'll var_dump( $this->session->all_userdata() ); in any Co...
|
|
|
stackoverflow.com
- 2012-03-10 13:33:08
- Similar
- Report/Block
I have been working on a custom made MVC in PHP. It's made from scratch, but i have encountered a problem: My view controller is quite simple one, but when I call method products() , it includes the view products infinite times. What could be causing this? //this is the autoload method in view controller public function __autoload() f...
|
|
|
stackoverflow.com
- 2012-04-10 21:42:59
- Similar
- Report/Block
I've been looking at this error for a while and can't see what I'm doing wrong with my codeigniter sql query, can anyone advise? Unknown column 'album_images.album_id' in 'field list' $this->db->select(' albums.id as album_id, albums.album_title, album_images.album_id, album_images.image_id, AVG(views.id) as views_id, views.v...
|
|
|
stackoverflow.com
- 2012-06-13 19:36:09
- Similar
- Report/Block
I need to check if the user_id that was inserted exists. I was going to use callbacks in Codeigniter form validation but they require the function that does the validation be in the controller. I'm using this on many pages across multiple controllers so I thought I would do it in a model. Codeigniter doesnt support this though. http://co...
|
|
|
dezinews.com
- 2012-12-26 12:05:33
- Similar
- Report/Block
A simple forum CMS created using codeigniter and Twitter Bootstrap with very minimalist features, it si great for you to learn how to code in codeigniter.
|
|
|
|
stackoverflow.com
- 2013-03-23 11:07:42
- Similar
- Report/Block
I have a website created with the codeigniter framework in php. It's fully working on localhost and other server, but controller file is not called on my own server. Url rewrite is working. When I click on the link then the url is changed perfect, but contains display of home page in every clicked link. so anybody can help me ? Thanks.
|
|
|
stackoverflow.com
- 2013-03-18 12:23:42
- Similar
- Report/Block
I'd like to set as default page some script from views directory, for example pplication\views\index.php and delete index.php file from the root of application. IS it possible? (I tried to change value of config['index_page'] to what i would like, but it gives me error that page not found). Or maybe codeigniter has so strict project stru...
|
|
|
theawesomer.com
- 2012-10-24 14:00:48
- Similar
- Report/Block
This awesome looking gun controller designed for FPS games has motion control and even a kickback effect. Designed by David Kotkin, the man who made the Avenger . Skip to 3:17 in the video for the good part. Hat Tip Link Price: $89+ More Awesome Stuff for You to Click On: Super Angry Birds Controller The Controller Shop New Xbox 360 Contr...
|
|
|
stackoverflow.com
- 2012-05-03 22:36:29
- Similar
- Report/Block
Application is an MVC3 application with RAZOR view engine. Controller being used here is TestController. I am using Nested Views. Base view(Item Listing) goes like this, //Listing.cshtml @model ItemsList @for (int i = 0; i < Model.Items.Count(); i++) { @Html.DisplayFor(x => x.Items[i], new { RowPosition = i}) here is the template...
|
|
|
stackoverflow.com
- 2013-02-25 15:55:35
- Similar
- Report/Block
hi i have been able to upload image path to database with codeigniter, but i cant seem to pass the option of category to database. i have dropdown menu with 2 option and then i want to pass it to controller so i can insert it to the database. here is my code: my view Upload Form // my dropdown list Album Staff Gallery and this is my c...
|
|
|
stackoverflow.com
- 2012-05-26 01:13:31
- Similar
- Report/Block
Here is a simple view that i want to instantiate : Ext.define('myapp.view.Home',{ extend 'Ext.Panel', xtype : 'testpanel' , config: { title:'home', iconCls:'home', cls : 'home', html: [ '<h1> Hello Guys </h1>', '<p> some text goes here </p>' ].join("") } i have added the view to my controller as follows...
|
|
|
|
techguy.org
- 2012-09-04 07:48:11
- Similar
- Report/Block
i can't find drivers for PCI Simple communication Controller. hardware id PCI\VEN_8086&DEV_1C3A&SUBSYS_04B 01028&REV_04. please help...
|
|
|
stackoverflow.com
- 2012-05-13 05:42:40
- Similar
- Report/Block
Question: How do I extend a controller of a module and then call that extended class in Codeigniter's URI Router? Details: I have a class events stored in /application/modules/events/controllers/ events.php . I would like to extend into courses conferences which would provide specific functionality to those respective controllers. I woul...
|
|
|
webmastertalkforums.com
- 2013-06-06 14:54:15
- Similar
- Report/Block
I have developed many websites with CodeIgniter. But, it has been so long since there was a new version of CI. People are bashing CodeIgniter since many months. I agree it lacks latest features if compared to other frameworks like Laravel.
|
|
|
|
stackoverflow.com
- 2012-04-12 23:42:46
- Similar
- Report/Block
I'm here cause I ask me some questions about emberjs framework and the best way to built an app with it... There are some questions that I hope someone can answer to me : Is there any built-in system to manage memory efficiently ? How to manage the controllers/views/models to be instanciated and destroyed during the app lifecycle ? Have w...
|
|
|
stackoverflow.com
- 2012-04-09 13:12:10
- Similar
- Report/Block
i want to do simple URL re-writing in Umbraco 5 like we used to do in previous versions i-e changing the UrlRewriting.config file, or we used to do it in Asp .Net <rewriter> <rewrite url="~/en/faq.aspx" to="~/faq.aspx" /> </rewrite> I know we can create new area in the application and then add new routes in areaRegister...
|
|
|
stackoverflow.com
- 2013-02-28 08:16:33
- Similar
- Report/Block
I have this error in my view and can't find out what is the problem. A PHP Error was encountered Severity: Notice Message: Undefined variable: c Filename: views/commentsList.php Line Number: 10 Here is my view code $comments is array coming from controller. $c is loop variable, so i can't understand why it is catching undef var error.
|
|
|
|
stackoverflow.com
- 2013-02-27 11:12:07
- Similar
- Report/Block
I'd like to Remove the default controller name from the URL Remove index.php from the URL Convert method_name with underscores to method-name with hyphens In the following example fudev is the subdirectory off the root, and preview is the directory that codeigniter is in. Currently: http://devsite.com/fudev/preview/index.p hp/controllernam...
|
|
|
stackoverflow.com
- 2012-03-21 07:58:50
- Similar
- Report/Block
I have a pretty basic 'User' model, control & views for a Rails app. I am trying to add a 'profile' section where the user can update their user info after logging in (and storing their user_id as a session variable). I have scaffolded a basic 'profile' model, controller and views (_form, index and edit all using simple_form). The m...
|
|
|
sevenforums.com
- 2013-03-25 06:05:56
- Similar
- Report/Block
I had to reinstall Windows 7 Home Premium 64-bit on a computer I had built for me a year ago and was surprised that I couldn't get on the internet. In my Device Manager I am missing: Ethernet Controller HP Scanjet PCI Simple Communications Controller SM Bus Controller 2 - Universal Serial Bus (USB) Controllers I assume I need the Ethernet...
|
|
|
|
stackoverflow.com
- 2012-05-02 09:41:34
- Similar
- Report/Block
I have some partial views in my controller. The problem is that users can visualize my partial views if they put in url: (www.mydomain.com/mycontroller/mypartial view). How can I deny direct access... and allow work with partial views only from base view? Thank's!...
|
|
|
stackoverflow.com
- 2013-04-26 10:04:47
- Similar
- Report/Block
My url is http://mydomain.com/controllername/metho d/ Now I need the site url like. http://mydomain.com/method mydomain name wants to access as a controller name . for example. url like www.testing.com/pages. 'testing' act as a controller in codeigniter. Explain how to get the controller name from the domain name. and also how to remove th...
|
|
|
thebotnet.com
- 2013-05-01 20:18:06
- Similar
- Report/Block
I have made a bot and want to test it. I have checked it out on my channel, it seems working. Just to make sure I'd like to test it on other people :gusta: Im going to add exactly 100 views. First one to post a link wins the 100 views.
|
|
|
|
stackoverflow.com
- 2012-05-14 19:26:40
- Similar
- Report/Block
I'm a very newbie on CodeIgniter, and while I go on I run into problems that, in the procedural coding, were easy to fix The current issue is: I have this controller class Basic extends Controller { function index(){ $data['title'] = 'Page Title'; $data['robots'] = 'noindex,nofollow'; $data['css'] = $this->config->item('css');...
|
|
|
stackoverflow.com
- 2012-05-27 17:06:23
- Similar
- Report/Block
I'm using Codeigniter with dataTables Jquery plugin. I have about 3000 rows of record to be displayed in a table. But i don't want the entire records to be loaded in the first time (it will slow the page load down). Instead. I prefer to make it separated into several pages and load it according to user action when user hit the next butto...
|
|
|
stackoverflow.com
- 2012-04-24 21:09:54
- Similar
- Report/Block
I am working on invitations per this railscast and I am using devise for authentication in my app. I would like to get this bit of code implemented: def new @user = User.new(:invitation_token => params[:invitation_token]) @user.email = @user.invitation.recipient_email if @user.invitation inside of devise. This involves overriding th...
|
|
|
|
stackoverflow.com
- 2012-03-14 05:37:27
- Similar
- Report/Block
I'm using Codeigniter 1.7. Does anyone have any experience of creating web services with PHP, particularly within the CodeIgniter framework? What are security measures need to consider while implementing web services? How to provide authentication with API keys? Any Ideas?...
|
|
|
eightforums.com
- 2013-02-28 10:51:23
- Similar
- Report/Block
I am on a HP ProBook 6460b running Windows 8 Enterprise and in Device Manager I see a yellow exclamation on the "PCI Simple Communications Controller". Can anyone suggest what this could be? :think: Regards, Vikram...
|
|
|
stackoverflow.com
- 2012-03-17 00:56:54
- Similar
- Report/Block
all I know that the CI way of doing this is to validate against the rules in the controller, but I think this is not a good way of doing it. What would you recommend me to do follow the CI way or validate incoming data in the Model, so my model will always be protecting itself against bad data. My understanding of MVC is that controller d...
|
|
|
|
stackoverflow.com
- 2013-02-28 09:06:17
- Similar
- Report/Block
I am using CodeIgniter for sending mail. The data goes to the controller but the problem is in the coding. Script used: $(".alert_button").click(function(){ var emailmy= $("#emailmy").val(); $.ajax({ url: "", data: { emailmy: emailmy }, // context: document.body, success: function(ret) if(ret=="0") $(".login_alert").show(); $(...
|
|
|
stackoverflow.com
- 2012-03-22 23:24:15
- Similar
- Report/Block
Okay so I am using MVCContrib TestHelper to unit test my controllers, which works great. Like so many people though, by unit test I really mean integration test here and I want to at least make sure my views render without error given the model provided...otherwise I can miss a whole class of bugs basically related to the model even thoug...
|
|
|
stackoverflow.com
- 2013-03-15 16:12:37
- Similar
- Report/Block
I have a CodeIgniter driven website. I want to implement a web chat based on NodeJS+Socket.IO. I have the chat working on other local domain at the main folder, but when I moved it to the CodeIgniter it stopped working. I guess it is because I changed the folders relation to suit CodeIgniter's structure. I have placed the node_modules at...
|
|
|
|
codeigniter.org.cn
- 2013-01-22 15:34:00
- Similar
- Report/Block
CodeIgniter 中国社区官方微信目前主要提供搜索服务,陆续会根据大家的建议开发新的功能。 微信号: codeigniter-cn 关注后会提示大家如何使用,谢谢!...
|