Problem with JPATH - Joomla! Forum - community, help and support


hi there,

i'm creating component load different flash movies controlled view file. i'm having slight problem using jpath function. when use jpath_root or jpath_site returns /homepages/12/d279542429/htdocs/site/ rather /site/.

the site folder in root of server. have suggestions?

simond_86 wrote:hi there,

i'm creating component load different flash movies controlled view file. i'm having slight problem using jpath function. when use jpath_root or jpath_site returns /homepages/12/d279542429/htdocs/site/ rather /site/.

the site folder in root of server. have suggestions?


i suggest not using jpath constants, used refer files in local filesystem via php, , instead use juri::base or juri::root, intended render urls browser.

ian





Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO