Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 11. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Tinybrowser standalone

phpMyEdit Configuration     Tinybrowser standalone
Odoslať novú tému   Odpovedať na tému    
 
guppy     Založený: 17.03.2009   Príspevky: 9  
Príspevok Zaslal: 2009-04-02 07:09
Návrat hore  Odpovedať s citátom     

After testing different options to insert images I succeeded with Tinybrowser (With Tinymce integration). But as I only need the picture in the fields it should not be necessary to use the Tinymce and it gives one more 'window' in the selection process. But I don't know where I can add the call for Tinybrowser as standalone for a particular field.
The readme guide says:
Citácia:
Place the following javascript link within the <head> tag on the page you
require TinyBrowser:
<script language="javascript" type="text/javascript"
src="/tinybrowser/tb_standalone.js.php"></script>

That's easy and I adapt the path to my situation.
Then to launch Tinybrowser the readme guide says:
Citácia:

To launch TinyBrowser use the following javascript function:
tinyBrowserPopUp('type','elementid');
'type' can contain 'image', 'media' or 'file' - corresponding to the type of file you want TinyBrowser to manage.
'elementid' is the id of the page element you want populate with the file url TinyBrowser returns - this is generally a form text input. If you want to immediately display the image then create an <img> tag with the same element id, only suffixed with img - e.g. elementidimg.

I have no clues for the launch as I don't know where to put the tinybrowserPopUp - I imagine 'elementid' should be the name of a field in the databasetable.
Any idea of where to place the call and how to express the field - perhaps the pure name is not enough without defining a variable - so that it would be '$fieldname' and not 'fieldname'

 
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