Hi,
I have a function that pulls rows from a database, the content->id and content->type are them used to dynamically call amethod in an already loaded model to get and format the objects details. Once the object is returned it is added to array. All is well except that when i come to use the array although it has the correct number of ...
Hi. I followed this tutorial:
http://codeigniter.com/wiki/PDF_generation_using_dompdf/
However, I can't seem to set the path right. On the config file of dompdf (config_dompdf.inc.php) I did the following:
define("DOMPDF_DIR", realpath(dirname('./system/plugins/dompdf/')));
I get this error:
Message: require_once(/var/www/myApp/sy...
I'm looking for a good way to get autocomplete and click-for-reference (whatever that's called) for libraries in codeigniter working in Zend Studio for Eclipse.
for instance, if i do
$this->load->library('dx_auth');
$this->dx_auth->get_user_id();
zend studio doesn't know what it is..
There is this sortof hacky way to do it (see below...
I'm building a website where many of the pages are very interactive without having any communication with the web server. Basically, a page represents a kind of DHTML interface, where users can click on various divs to move them around and perform other actions. In the end, the user is able to save the "state" of all divs on the screen a...
Hey guys. I'm re-creating a registration for my website using codeigniter. On my previous page I did it in simple php and HTML. Now that I'm trying to recreate it in codeigniter I seem to be running into difficulties.
The following code is a function that is called to validate an email address that the user puts in. It is supposed to q...
Hey guys, I'm trying to create user profiles for my site where the url is something like
mysite.com/user/ChrisSalij
Currently my controller looks like so:
<?php
class User extends Controller {
function user(){
parent::Controller();
}
function index(){
$data['username'] = $this->uri->segment(2);
if(...
I am creating a calendar list system, that has tabbed dates on top, with data listings below it. I think I know how to use JSON and load the data with JQUERY into a div, but I am not sure how to load it dynamically, based on which tab I selected.
How would I do this, and what's the best practice? I am using the codeignitor framework.
...
I need a codeigniter route so all of the following urls:
admin/users/page/:num
admin/accounts/page/:num
members/results/page/:num
products/page/:num
are forwarded to
admin/users/index
admin/accounts/index
members/results/index
products/index
respectively. I'd like just one regexp which could do the trick rather than me setting the ...
Hello All,
I'm working on a survey system for my company and I have it setup in the system so that there are two ways to take the survey.
1) New Survey Taker no prior information
2)Survey was already sent out and a session was created.
In case one I would like my URL to look like:
mydomain.com/SurveySystem/index.php/survey/$surv...
Hello All,
I'm about to start a very large project of rebuilding my companies intranet. The plan is to have most of the intranet live in a CI application. I chose to use CI because i'm very familiar with all the CI methods. Some sections of the intranet are going to be wordpress blogs. For example the Human Resources Dept. and the M...
hi
im using codeigniter framework but im not able to use database with codeigniter im following this tutorial but when i open in our localhost 404 page not found come
...
I have been using the CodeIgniter system for a while now - but it has it's short comings. I am grateful for what it taught me, but now I need a library for a new non-codeigniter project and so I am looking around for ideas on which libraries have things right and which don't. I will probably have to take pieces from several libraries to ...
I found this? Is this the best way to do it?
http://weblogs.asp.net/dwahlin/archive/2009/05/03/using-jquery-with-client-side-data-binding-templates.aspx
I'm looking to use some sort of repeat loop with variables that throw in JSON data.
I am using Codeignitor and jquery.
Thanks
...
I created an RSS Link today with the help of Code Igniter, and when I go to click on the RSS link, Firefox tries to download the file. The first few times, I downloaded it and made sure there were no errors (there were at first, but now that's sorted). Does anyone know why it keeps trying to download the file, instead of going to the "Ad...
I am attempting to setup codeigniter with eclipse but am getting project errors. From what I understand this should be as simple as creating a new project in eclipse and pointing to the root directory of codeigniter. This properly loads up the codeigniter files but eclipse reports several errors. Looking into the files, it seems like ...
I am in the process of creating an input form on a record specific page e.g. (property/rentals/rec_id). On submission, the data should be inserted, validated and return to the original page from which it was sent with any relevant messages.
If the validation fails, reload the form page a re-populate the form
Echo the specific validati...
How can I implement RSS 2 in Code Igniter?
...
I am using CodeIgniter to build an application.
The app is having many AJAX requests on setTimeoutInterval, which fires every few seconds.
Now the situation is:
If a user has a page kept open. The page sends ajax requests at intervals.
At that point of time I have updated my application in the server.
So I want to keep a version chec...
I'm new to development, and I'm getting into it as a hobby. (currently a student).
I'm wondering what you guys and girls advise.
There's greater support for PHP, I realize. But Ruby looks like it offers a great deal more flexibility...and it's prettier.
This is a question from a noob, so if this is a bad question, please excuse me!
...
I have a PHP web application built with CodeIgniter MVC framework. I wish to test various controller classes. I'm using Toast for unit testing. My controllers have no state, everything they process is either saved into session or passed to view to display. Creating a mock session object and testing whether that works properly is straight...