Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: url routing, friendly url
Post: RE: url routing, friendly url

really thankful to you, that route resolve my issue clearly, would you add me to your skype: waqaspuri mario Wrote: (10-26-2015, 12:53 AM) -- It depends what you want to do in your application and w...
7,867 Views
5 Replies
10-26-2015, 12:59 AM
waqaspuri
    Thread: url routing, friendly url
Post: RE: url routing, friendly url

Thanks a lot mario, thanks once again for the good help, It work all the way I required, Is it a good way to do the slug in this way ? $segment = $this->uri->segment(1); $get_...
7,867 Views
5 Replies
10-23-2015, 02:23 PM
waqaspuri
    Thread: url routing, friendly url
Post: RE: url routing, friendly url

mario Wrote: (10-23-2015, 04:41 AM) -- Try this: $route['default_controller'] = 'web'; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; //everything goes to web/index besi...
7,867 Views
5 Replies
10-23-2015, 02:21 PM
waqaspuri
    Thread: url routing, friendly url
Post: url routing, friendly url

my route file has route['(:any)'] = “web/index/$1″ to bring URL friendly: localhost/my-slug-url, it works good (am using slugs from database), but my dashboard class does not work if I use the route['...
7,867 Views
5 Replies
10-23-2015, 04:06 AM
waqaspuri
    Thread: how to make it little more clean
Post: RE: how to make it little more clean

$route['(:any)'] = 'web/$1'; //send requests for "home" to the "web" controller, "home" method works perfect
11,039 Views
7 Replies
04-10-2015, 12:44 AM
waqaspuri
    Thread: how to make it little more clean
Post: RE: how to make it little more clean

CroNiX Wrote: (04-09-2015, 11:15 AM) -- waqaspuri Wrote: (04-09-2015, 02:59 AM) -- Thanks -> but helpful am not using __contruct() in my site -> i can load my function in this way localhos...
11,039 Views
7 Replies
04-10-2015, 12:43 AM
waqaspuri
    Thread: how to make it little more clean
Post: RE: how to make it little more clean

Thanks -> but helpful am not using __contruct() in my site -> i can load my function in this way localhost/web/home (web = is a class) problem: how do I load it in this way -> localhost/h...
11,039 Views
7 Replies
04-09-2015, 02:59 AM
waqaspuri
    Thread: how to make it little more clean
Post: RE: how to make it little more clean

Explain in details how does it works in few lines??
11,039 Views
7 Replies
04-09-2015, 02:26 AM
waqaspuri
    Thread: how to make it little more clean
Post: how to make it little more clean

Hey;- > on each controller function, am loading the SQL data, as you can see below in a code box Code: --
11,039 Views
7 Replies
04-09-2015, 01:45 AM
waqaspuri
    Thread: css loading delay
Post: css loading delay

Hey Friend :-) after uploading a site to the cpanel hosting, site using codeigniter framework - > works perfect but each time I click on the page link it loads without CSS, a second delay loads css...
2,328 Views
0 Replies
04-06-2015, 03:40 AM
waqaspuri
    Thread: tree menu & sub-menu using codeigniter
Post: RE: tree menu & sub-menu using codeigniter

Could you please explain this code Code: -- function ordered_menu($array,$parent_id = 0) { $temp_array = array(); foreach($array as $element) { if($element['parent_id']==$parent_id)...
19,299 Views
0 Replies
04-02-2015, 11:05 PM
waqaspuri
    Thread: tree menu & sub-menu using codeigniter
Post: RE: tree menu & sub-menu using codeigniter

Avenirer Wrote: (04-02-2015, 01:11 PM) -- You can find help here (note: is a tutorial of mine): http://avenir.ro/multi-level-unlimited-menu-php-sub-menus/ It doesn't explain it for CodeIgniter, but ...
19,299 Views
0 Replies
04-02-2015, 11:04 PM
waqaspuri
    Thread: tree menu & sub-menu using codeigniter
Post: tree menu & sub-menu using codeigniter

Hey, SQL structure of ---------------- id,parent_id_menu_name,link_id ------------------------------- for Social -> Facebook, Google Plus for Contact -> Email How to fetch the menu that shou...
19,299 Views
0 Replies
03-31-2015, 11:00 PM
waqaspuri

Theme © iAndrew 2016 - Forum software by © MyBB