Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: I dont like composer, am I a bad person?
Post: RE: I dont like composer, am I a bad person?

Quote: -- Why does the vendor directory bother you?  If your app is working fine with the dependencies that composer installs, why worry about it?  I don't understand why anyone would want to waste...
6,044 Views
9 Replies
11-19-2020, 12:03 PM
jnar
  Shocked Thread: I dont like composer, am I a bad person?
Post: I dont like composer, am I a bad person?

I see composer growing up so much, never used until now just because I love CI so much and I think v4 is so awesome but after trying composer and seeing that vendor folder full of things I prefer to p...
6,044 Views
9 Replies
11-19-2020, 07:24 AM
jnar
    Thread: How to access entity method?
Post: RE: How to access entity method?

includebeer Wrote: (11-15-2020, 06:01 PM) -- But you no longer have "Trying to get property 'name' of non-object" ? -- Well you are right on that... Anyways I found my answer with help of another t...
2,439 Views
4 Replies
11-15-2020, 08:22 PM
jnar
    Thread: How to access entity method?
Post: RE: How to access entity method?

includebeer Wrote: (11-15-2020, 04:52 PM) -- That's because find() doesn't find anything. You need to pass the id as parameter: PHP Code: --     public function view( $user_id=false )     {      ...
2,439 Views
4 Replies
11-15-2020, 05:52 PM
jnar
    Thread: How to access entity method?
Post: How to access entity method?

Hello. I've followed myth's auth extend guide to add some fields https://github.com/lonnieezell/myth-auth/blob/develop/docs/extending.md I have this in my entity: Code: --
2,439 Views
4 Replies
11-15-2020, 01:19 PM
jnar
    Thread: User placeholder user picture if not set?
Post: RE: User placeholder user picture if not set?

Ok nevermind I just created a helper function to handle this
2,074 Views
1 Replies
11-13-2020, 02:10 PM
jnar
    Thread: User placeholder user picture if not set?
Post: User placeholder user picture if not set?

Hello. I extended myth auth to have user picture, so I can acces that property like this: PHP Code: -- -- What would the best approach display a stock image if picture is not set?   Should i...
2,074 Views
1 Replies
11-13-2020, 09:47 AM
jnar
    Thread: Please Help with routing
Post: RE: Please Help with routing

Ok just to update if anyone is interested, i decided I was overcomplicating this with the prefix I wanted to separate app from website now Im going with a structure like this: /app --/controllers ...
2,196 Views
4 Replies
11-04-2020, 08:12 AM
jnar
    Thread: Please Help with routing
Post: RE: Please Help with routing

Thank you so much for your guide captain-sensible, already had my project installed even with layout but Im going to do everything again to give composer a try
2,196 Views
4 Replies
11-04-2020, 06:19 AM
jnar
    Thread: Please Help with routing
Post: Please Help with routing

Hello all,  I'm starting with CI4 (used CI3 for some projects) but this is my first time using routes and I want to know what do you recommend for this: In my new project I want to have a website, ...
2,196 Views
4 Replies
11-03-2020, 02:46 PM
jnar

Theme © iAndrew 2016 - Forum software by © MyBB