Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 18, 2026
About Us
O nás
Magazine
Magazín
Open Source
Otvorený softvér
CVS
CVS
Services
Služby
Index  »  Projects  »  phpMyEdit  »  Forum  »  Rest of cell content in a popup after trimlen?

phpMyEdit General     Rest of cell content in a popup after trimlen?
Post new topic   Reply to topic    
 
stanneo     Joined: 03 Feb 2011   Posts: 14  
Post Posted: 2011-07-09 19:23
Back to top  Reply with quote     

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     Joined: 10 Feb 2003   Posts: 1013   Location: Denver, Colorado (USA)
Post Posted: 2011-07-10 20:41
Back to top  Reply with quote     

Consider, instead, locating
Code:
if($this->view_enabled()){ ... }
inside
Code:
function list_table()
and adding
Code:
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.
Code:
'trimlen|FL' => 50,



Last edited by doug on 2011-07-10 20:45, edited 1 time in total

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Odkazový formulár · Application form · Prihláška
Report bug on PLATON.SK website · Upozorniť na chybu na PLATON.SK webstránke · Terms of use · Podmienky použitia · Privacy policy · Ochrana osobných údajov