Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 28 2019 13:35

    UserApplePie on master

    Update README.md (compare)

  • Jul 28 2019 13:28

    UserApplePie on master

    Update README.md (compare)

  • Jul 24 2019 20:18

    davarravad on v4.3.0

    (compare)

  • Jul 24 2019 20:16

    davarravad on master

    Update Header.php Lost the the… Merge pull request #155 from Us… (compare)

  • Jul 24 2019 20:16
    davarravad closed #155
  • Jul 24 2019 20:16
    davarravad opened #155
  • Jul 24 2019 20:11

    davarravad on staging

    Update Header.php Lost the the… (compare)

  • Jul 23 2019 23:51

    UserApplePie on 4.3.0

    (compare)

  • Jul 23 2019 02:55
    davarravad closed #138
  • Jul 23 2019 02:54

    davarravad on master

    Additions and Updates Added Te… Merge pull request #154 from Us… (compare)

  • Jul 23 2019 02:54
    davarravad closed #154
  • Jul 23 2019 02:54
    davarravad opened #154
  • Jul 23 2019 02:54

    davarravad on staging

    Additions and Updates Added Te… (compare)

  • Jul 21 2019 02:08
    davarravad closed #102
  • Jul 21 2019 02:08
    davarravad closed #136
  • Jul 21 2019 02:08

    davarravad on master

    Updates Added Auto Friend feat… Merge pull request #153 from Us… (compare)

  • Jul 21 2019 02:08
    davarravad closed #153
  • Jul 21 2019 02:07
    davarravad opened #153
  • Jul 21 2019 02:07

    davarravad on staging

    Updates Added Auto Friend feat… (compare)

  • Jul 19 2019 16:19

    davarravad on master

    Site Routes URL fix Setup Site… Merge pull request #152 from Us… (compare)

Tiago Lauletta Modesto
@TiagoLaMo
Just because I am curious, I would like to post here to: DaVaR, I am quite new with HTML and PHP.
I tried to search on the web but couldn't find out how my html rootfolder goes from uap/public (where my index.php are) to uap/public/../app. I know this magically happens because all resources loaded from html code consider that it is inside app folder as been the rootfolder, right?
DaVaR
@davarravad
Are you trying to use a sub dir?
If so make sure you edit the .htaccess file from / to /subfolder/
Same in config.php
Oh and I need to update the forum post. It cut out some code.
DaVaR
@davarravad
@TiagoLaMo I updated the forum post about using UAP in a sub directory. http://www.userapplepie.com/Topic/45
Tiago Lauletta Modesto
@TiagoLaMo
I saw. But I might have posted my question in the wrong thread. I did install the uap in the root folder of the virtual host. My config is:

<VirtualHost 127.0.0.1:80>

<Directory "/Applications/AMPPS/www/userapplepie.local/public">

however what I didn't understand is how my root folder for the html code is the ../userapplepie.local/public/../app
I don't know how this happens.
Is there any place that redirect the html root folder tor app folder?
DaVaR
@davarravad
oh ok...
should not be. The app folder should not bee above the public folder
can you send me a screen shot? just drag and drop into gitter
Tiago Lauletta Modesto
@TiagoLaMo
hum, what exactly should I screen shot?
I let the folder organisation as the original
DaVaR
@davarravad
The browser window...
Tiago Lauletta Modesto
@TiagoLaMo
/Users/tiagolamo/Desktop/Screen Shot 2016-06-08 at 10.53.16 PM.png
DaVaR
@davarravad
is the site loading?
Tiago Lauletta Modesto
@TiagoLaMo
nope
DaVaR
@davarravad
the image did not load
any errors?
Tiago Lauletta Modesto
@TiagoLaMo
Ok. let me try to explain again.
DaVaR
@davarravad
sure
Tiago Lauletta Modesto
@TiagoLaMo
Everything works fine
the site loads fine
DaVaR
@davarravad
oh ok
are you talking about the index.html file that is in most of the folders?
Tiago Lauletta Modesto
@TiagoLaMo
nope
I am talking about the index.php that it is inside uap/public
this should be the root folder, right?
DaVaR
@davarravad
yes
according to Apache yes
Tiago Lauletta Modesto
@TiagoLaMo
ok. but when I right any html code considering that this is my root folder and try to load a resource from app folder, I should say ../app/Templates/Default/Assets/css for example.
however if I try to do that, it fails to reach the file.
DaVaR
@davarravad
oh ok
I see
Tiago Lauletta Modesto
@TiagoLaMo
but if I consider app folder as my root folder, everything magically works...
;)
I just don't know why!
how my root folder changes to app?
so if I want to load something in the html code I just tell /Template/Default/Assets/css and it do reach the file.
DaVaR
@davarravad
are you using the Url::templatePath() to load files from the assets folder?
Tiago Lauletta Modesto
@TiagoLaMo
yes
and it also detects if I use the http://uap/Template/Default/Assets/css
DaVaR
@davarravad
so if you want to load from css folder you use.... Url::templatePath().'css/style.css',
Tiago Lauletta Modesto
@TiagoLaMo
what doesn't make any sense to me.
yes
DaVaR
@davarravad
What detects?
Tiago Lauletta Modesto
@TiagoLaMo
None, that is my problem. lol...