Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  path to images and other add-on files...

phpMyEdit Configuration     path to images and other add-on files...
Odoslať novú tému   Odpovedať na tému    
 
gschenk     Založený: 10.12.2003   Príspevky: 4  
Príspevok Zaslal: 2004-01-23 18:19
Návrat hore  Odpovedať s citátom     

Just a thought:
in my "scenario" (maybe not just mine:-) there´s all the PhpMyEdit - files (including images etc) in one folder, but my personal configuration files are located in different directories (has to be that way, just for having my database related php-stuff organized).
Right now I did tweak the phpmyedit class, so that the related images (those edit etc icons, you know) are getting displayed, when my config files are located in "outside" directories (right now it´s just the general database functions which work) -- but I suggest that setting a general global variable within a configuration file (like e.g. $path_to_phpmyedit = "../phpmyedit/";) would surely make sense, because this tweak would generate proper links to add-ons like the JS-Date Picker as well, and it allows for having the main class and all its related files "centralized". Hmmm, good idea?

Günter

 
hbernard     Založený: 23.03.2003   Príspevky: 159   Bydlisko: FRANCE
Príspevok Zaslal: 2004-01-23 19:33
Návrat hore  Odpovedať s citátom     

Did you try
$opts['url'] = array('images' => 'path_to_images/');

;-)

 
gschenk     Založený: 10.12.2003   Príspevky: 4  
Príspevok Zaslal: 2004-01-23 19:58
Návrat hore  Odpovedať s citátom     

Uh no I didnt´t - shame on me :-)

Thanks !!!

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov