484 Topics

Member Avatar for
Member Avatar for mohammed_22

hi...iamb struggling with this code please help me my controller is this .. public function men_clothing() { $data['active_mn']='men_clothing'; $data['men']=$this->roxmodel->get_category_by_parent($p_id=8); $data['kids']=$this->roxmodel->get_category_by_parent($p_id=9); $data['galllery']=$this->roxmodel->get_galleryImages($p_id=10,11); } my model page looks like this... public function get_galleryImages($p_id) { $this->db->where('gallery.category_id',$p_id); $query = $this->db->get('gallery')->result(); return $query; } my view page looks like this... <?php foreach($galllery as $row){?> <img …

Member Avatar for gentlemedia
0
170
Member Avatar for UK-1991

I tried to make a custom php shortcode coverter for my own cms but the shortcodes are not converting in a proper way in the output its not displaying anything though as in replacement of corusel it should display Rollercoaster but right now I am getting output as This is …

Member Avatar for rubberman
0
413
Member Avatar for Muhammad_104

anybody can help me??, if the structure form like this. <input type="file" name="image_1"> <input type="file" name="image_2"> <input type="file" name="image_3"> <input type="file" name="image_4"> i want to upload multiple image with a single action to codeigniter and save it to database, my database table image coloum : image_1, image_2, image_3, image_4,

0
114
Member Avatar for wolfgang1983

Currenlty on my editor I can wrap text in any tag. But I am un able to unwarp the selected text also. My question is lets say if I select / highlight text which is wrapped in '<b>' something '</b>' and then I go and click on the bold button …

0
132
Member Avatar for wolfgang1983

I have a small problem when I clone my editable div into my iframe. Each time I click on my code view button it copys the content from my editable div and then displays it in my iframe But each time I do that it copys the same content multiple …

0
143
Member Avatar for wolfgang1983

If my slected text is wrapped in bold or iltalic or pre tag and then if i click on the revert button it should remove the tags around the selected text. But for some reason will not with my code. Question when I select/highlight some text and then click my …

Member Avatar for wolfgang1983
0
293
Member Avatar for brispea

Alo All, I am really really tired of searching for a simple file manager for PHP/Code Igniter. I am not looking for advanced one at all: 1. No MYSQL 2. NO user tracking 3. Basic File Operations (copy, move etc) 4. Multi upload (in anyway) I have tried fileman and …

Member Avatar for cereal
0
3K
Member Avatar for UK-1991

Just started learning codigniter and as far I learned from tutorials and by reading documentation I got and idea a basic about how to develop websites using codigniter as far as we see by using MVC framework there are many advantages so my questions is let suppose if we start …

Member Avatar for cereal
0
1K
Member Avatar for shany0786

I have a strange problem here is code snippet for form having bootstrap tab when after filling all form fields i submit the form no error or form fileds are posted,there is something wrong with my html however my validations and other backend code is working for other form but …

Member Avatar for diafol
0
10K
Member Avatar for rakesh.r1024

I have enabled the Facebook re-authentication for my site (done in codeigniter) when the user is visiting a specific page. Here is my code : $(window).load(function() { $("a.facebook_reauth_login").on("click", function(e) { var t = $(this); e.preventDefault(); FB.usingButton = !0; var n = base_url; FB.login(function(e) { if (e.authResponse) { FB.api("/me", function(e) { …

0
107
Member Avatar for samertaha

hello i have an online gallery i used blueimp plugin to get the good features in it like lightbox and touch support ... you can look on it here : [www.aburaga.com](http://aburaga.com/en/gallery) as you see its a big cakes gallery with many categories and pagination ( i built it with codeigniter/php …

Member Avatar for samertaha
0
556
Member Avatar for praba_web

Hi there, Routing is not working in codeigniter hostgator shared hosting. When i login www.doamain.com/admin this redirects to www.domain.com am using below in my config.php <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); /* |-------------------------------------------------------------------------- | Base Site URL |-------------------------------------------------------------------------- | | URL to your CodeIgniter root. Typically …

Member Avatar for praba_web
0
4K
Member Avatar for LibraryCode

Hi all would like to ask technical question what are the prons and cons of using and not using codeigniter shopping cart class? Heard is better to use functions and sessions and do not use cart class as it is depricated or limited with doing certain functionality .Thanks

Member Avatar for cereal
0
149
Member Avatar for Ritesh_4

Hello I am currently building a login form using HTML/PHP/Codeigniter, and would like to add some visual effects, like for example, if a user enters the username, either a tick or a cross is added beside the field when the user moves to the "password" field for example, and the …

Member Avatar for diafol
0
418
Member Avatar for UK-1991

Helo, I have a confussion and I need to get it solved in core php we used to create a url parameter through which we would be able to get values from the url so hwo this could be happend in codigniter for example <a href="index.php?add=1">Add page</a> //setting up a …

Member Avatar for UK-1991
0
287
Member Avatar for brispea

Hiya all, I really need your help with understanding. But first, please avoid offering wordpress or so as a solution. I have a couple of templates (more to come) done from scratch to meet a specific business type (very specific). My problem if a customer selects one template, how do …

Member Avatar for brispea
0
127
Member Avatar for praba_web
Member Avatar for shany0786

i am facing small problem, i am not very good with ajax.what i want to check is email avaliblity through ajax and show no or yes.png code: <script type="text/javascript"> $(document).ready(function(){ $("#email_id").keyup(function(){ if($("#email_id").val().length >= 4) { $.ajax({ type: "POST", url: "<?php echo base_url();?>Traveller/email_is_taken", data: "email_id="+$("#email_id").val(), success: function(msg){ if(msg=="true") { $("#email_verify").css({ "background-image": …

Member Avatar for mangel.murti
0
245
Member Avatar for prafful_panwar

I want to use the instance of ckeditor. when user click on add more button it will create the instance of ckeditor, but that instance of ckeditor is not editable. I mean user is not able to enter anything there. Need help...Thanks in advance :) fiddle : http://jsfiddle.net/pkz7auLy/

Member Avatar for diafol
0
1K
Member Avatar for shany0786

here is my code for simple validation but i can't able to why this happening but validation always fails no matter what i input? <div class="signup-form"><!--sign up form--> <h2>New User Signup!</h2> <?php echo form_open('login/register');?> <input type="text" name="name" placeholder="Name"/> <input type="email" name="email" placeholder="Email Address"/> <input type="password" name="password" placeholder="Password"/> <button type="submit" class="btn …

Member Avatar for cereal
0
176
Member Avatar for shany0786

I am always short of logic when every things works fine then i come up with new problem? **PROBLEM** There are generally 6 user type accounts.Everyone has their own "edit profile page".Now i want to know how can i handle this.user login then directed to home page then in navbar …

Member Avatar for shany0786
0
280
Member Avatar for jwausi

Hi, Am developing my website using codeigniter and got stuck when i tried to make the backend. Am using CMS backend that comes with its own folder with everything (.htaccess, its own MVC etc) so I put all my frontend folders into one folder called frontend withinn the application folder …

Member Avatar for diafol
0
4K
Member Avatar for shany0786

There is no problem in my code it's running fine but i want some suggestion.I have edit profile page for user when user is login he can click on edit profile button to edit his profile but i have what i we generally see is when user click on edit …

Member Avatar for shany0786
0
2K
Member Avatar for LibraryCode

Hi all , could you help me to create update function from these code: Controller: <?php class BooksController extends CI_Controller{ public function __construct() { parent::__construct(); // $this->load->helper('url'); // $this->load->helper('form'); // $this->load->library('form_validation'); // $this->load->helper('html'); // $this->load->model("BooksModel"); } function getAuthors(){ $config['base_url']=site_url("/BooksController/getAuthors/"); $config['total_rows']=$this->BooksModel->record_count(); $config['per_page']=3; $this->pagination->initialize($config); $data['Authors'] = $this->BooksModel->getAuthors(3,$this->uri->segment(3)); foreach ($data['Authors'] as &$row) { …

Member Avatar for diafol
0
398
Member Avatar for praba_web

Hi there, I want to make rest api in codeigniter .Already have created backend for web app.I need to fetch json data from third party(Request Response).Can you give me the idea how to integrate rest api in backend?

Member Avatar for cereal
0
443
Member Avatar for iamthwee
Member Avatar for LibraryCode

![NetbeansCI.png](/attachments/large/4/aad0aaa52fdee4151cdd4fc9b8eab22c.png "align-center") I have netbeans,xampp is running,database is ok.All functions running no problem,but this one,keep getting 404 error.Double checked the spelling and the code.Can not figure out the problem.

Member Avatar for cereal
0
168
Member Avatar for iamthwee

Hi, I can successfully use the upload form in codeigniter without jquery/ajax, trouble is I need it for a rich text editor. Any ideas how to go abou this. Ta.

Member Avatar for Freddy_2
0
4K
Member Avatar for farah ashikin

hi i just want to ask and ask your help . can you guys help to make timer in my quiz page. seriously i have no idea how to do it. plus im still new in this field around 7 month , so i dont know where to put the …

Member Avatar for farah ashikin
0
2K
Member Avatar for ita_info

I am using CodeIgnitor and oracle db at model function add_new_emp_test( $x, $y) { $conn=$this->db->conn_id; // Execute the call to the stored procedure $stmt = "BEGIN emp_pkg.add_account(:x1,:y1); END;"; $lob = oci_new_descriptor($conn, OCI_D_LOB); $lob = oci_new_descriptor($conn, OCI_D_LOB); $stid = oci_parse($conn, $stmt); oci_bind_by_name($stid, ':x1', $x, 100); oci_bind_by_name($stid, ':y1', $lob, -1, OCI_B_BLOB); $lob->writeTemporary(base64_encode($y)); …

Member Avatar for ita_info
0
154

The End.