Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Hooks - pre_controller vs. post_controller_constructor
Post: RE: Hooks - pre_controller vs. post_controller_con...

I tried but, after I attached hooks pre_controller, there was no DB connection available. Im not exactly sure, but CI autoloads libraries before controller constructor BUT after hooks. This seem to b...
4,178 Views
4 Replies
03-28-2017, 08:44 AM
Sezu
    Thread: Hooks - pre_controller vs. post_controller_constructor
Post: Hooks - pre_controller vs. post_controller_constru...

I got two hooks. "guardian" and "orm" both of them are now starting as "post_controller_constructor" beacuse I need db connection.  But side effect is, that I can't use Orm and Guardian methods in co...
4,178 Views
4 Replies
03-28-2017, 12:27 AM
Sezu
    Thread: Authentication
Post: RE: Authentication

Sorry boys. This looks like epic battle between dragons and egos. But I just want to vote (not even know if this is about vote :-D). And I vote AGAINST auth lib. Reason: I would never use security ...
63,011 Views
51 Replies
01-27-2017, 12:51 AM
Sezu
    Thread: change GET query string
Post: RE: change GET query string

If I understood you good, you have need to delete 'brand' segment because it's empty and it brings you to troubles BECAUSE it is empty. But there must be a place where you handle with _GET array an...
7,178 Views
11 Replies
01-25-2017, 06:52 AM
Sezu
    Thread: change GET query string
Post: RE: change GET query string

It is possible that I'm stupid:dodgy: but I really do not understand what do you need. "I search page which gets filter using GET method. in some cases I can get  ?brand=&model=2   this kind of que...
7,178 Views
11 Replies
01-25-2017, 05:52 AM
Sezu
    Thread: change GET query string
Post: RE: change GET query string

I'm not sure if this is what you want, but you can use codeigniter ability to parse uri uri_to_assoc(); http://whatever.com/brand/foo/model/bar (         'brand' => 'foo',         'model' => 'bar...
7,178 Views
11 Replies
01-25-2017, 01:47 AM
Sezu
  Smile Thread: few applications on the same server
Post: RE: few applications on the same server

I was fighting with similar situation for few month. I needed these situations. 1. clean codeigniter system folder where to upgrade CI3 if needed 2. application folder where to put controllers/mod...
3,040 Views
2 Replies
01-21-2017, 02:19 AM
Sezu
    Thread: Codeigniter - Slovak Community
Post: RE: Codeigniter - Slovak Community

j-cup Wrote: (06-15-2016, 05:47 AM) -- Ale veľa nás asi nebude. -- No jo. Ale dvaja je stále lepšie ako jeden. Čau.
5,213 Views
3 Replies
09-26-2016, 09:33 PM
Sezu
    Thread: CodeIgniter4.0.0-dev Reaches Milestone 1
Post: RE: CodeIgniter4.0.0-dev Reaches Milestone 1

It is nice to see this. It is great to see such great ideas in CI are becoming true.
133,169 Views
67 Replies
08-23-2016, 04:45 AM
Sezu
    Thread: Autoload idea
Post: RE: Autoload idea

When you use something like: $this->username = 'gogo'; You should declare property "username" in the class before use it. If you don't, PHP sets it "on the fly". It's called magic. And it is ver...
8,385 Views
8 Replies
03-22-2016, 08:11 AM
Sezu
    Thread: Autoload idea
Post: RE: Autoload idea

Narf is right.  I did not realised the facts.  My idea was bad.
8,385 Views
8 Replies
03-22-2016, 07:30 AM
Sezu
    Thread: Autoload idea
Post: Autoload idea

Hi. I have this kind of code in many places .... $this->load->library('some_library'); $this->some_library->some_method('some_string'); It would by good to make some sort of "magic" autoload...
8,385 Views
8 Replies
03-22-2016, 12:05 AM
Sezu
    Thread: Using CodeIgniter as git submodule . . .
Post: RE: Using CodeIgniter as git submodule . . .

I DID IT :idea: It works now.  I got isolated submodule/ folder where are: untouched CI system and my classes in application folders where they belong. Now it is just about git. I have to set ...
4,657 Views
6 Replies
03-17-2016, 09:05 AM
Sezu
    Thread: Using CodeIgniter as git submodule . . .
Post: RE: Using CodeIgniter as git submodule . . .

Composer smells to me. I love CI because it doesn't need composer. Once I start using composer or other dependency manager, everything what offers CI will go to  Lar..v.l  hell. I hate situation when ...
4,657 Views
6 Replies
03-17-2016, 07:21 AM
Sezu
    Thread: Using CodeIgniter as git submodule . . .
Post: RE: Using CodeIgniter as git submodule . . .

You didn't understood what I want. It is not about modifying system classes. Let's explain once again. Now I have application/ folder with all subdirectories. Let's show an example. In library,...
4,657 Views
6 Replies
03-17-2016, 07:04 AM
Sezu
    Thread: Using CodeIgniter as git submodule . . .
Post: Using CodeIgniter as git submodule . . .

Hi  Have you ever tried using CodeIgniter as git submodule? I use CodeIgniter as main framework for more projects/webs/apps. It's very easy to update CI to higher version. Just overwrite system ...
4,657 Views
6 Replies
03-17-2016, 05:48 AM
Sezu
    Thread: Defined constants - FCPATH
Post: RE: Defined constants - FCPATH

Of course that word "problem" is not used very well. Let's say "inconvenience".  :rolleyes: When I have been checked if directory exists like : if(isset($blabla))... I got wrong answer. But only...
11,736 Views
4 Replies
03-13-2016, 12:12 AM
Sezu
    Thread: Defined constants - FCPATH
Post: Defined constants - FCPATH

Hi I got a problem with defined constant. FCPATH... ... // Path to the front controller (this file) define('FCPATH', dirname(__FILE__).'/'); ... exactly the part '/' makes problem to me. in w...
11,736 Views
4 Replies
03-12-2016, 02:50 AM
Sezu
    Thread: Codeigniter - Slovak Community
Post: Codeigniter - Slovak Community

Je tu niekto slovensky hovoriaci?
5,213 Views
3 Replies
02-03-2016, 01:31 AM
Sezu

Theme © iAndrew 2016 - Forum software by © MyBB