Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Rest of cell content in a popup after trimlen?

phpMyEdit General     Rest of cell content in a popup after trimlen?
Odoslať novú tému   Odpovedať na tému    
 
stanneo     Založený: 03.02.2011   Príspevky: 14  
Príspevok Zaslal: 2011-07-09 19:23
Návrat hore  Odpovedať s citátom     

Hi,
is there a possibility to turn the last shown word in the cell (after applying-> trimlen = 30;) into a link to a popup window with the rest of the content?

Thanks for suggestions

Greetings

Stanneo

 
doug     Založený: 10.02.2003   Príspevky: 1013   Bydlisko: Denver, Colorado (USA)
Príspevok Zaslal: 2011-07-10 20:41
Návrat hore  Odpovedať s citátom     

Consider, instead, locating
Kód:
if($this->view_enabled()){ ... }
inside
Kód:
function list_table()
and adding
Kód:
target="_blank"
to the A HREF tag.

This will pop up the same form and selected record in view mode (which might be easier than messing around with Javascript popups and creating a custom link via virtual field). This assumes trimlen is set for only List and Filter modes, e.g.
Kód:
'trimlen|FL' => 50,



Naposledy upravil doug dňa 2011-07-10 20:45, celkom upravené 1 krát

 
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