[Vtigercrm-developers] open pop up from list view

Andreas Göbel andreas.goebel at a-g-c.de
Sun Aug 23 22:19:38 GMT 2015


Hi Simone,
if you want to have this solved in an upgrade-safe manner:
the "open as new window" feature is part of our custom module
"AGCUsabilityBoost", which will be available on the marketplace as soon as
vtiger has completed its validation.

Kind Regards
  Andreas

-----Ursprüngliche Nachricht-----
Von: vtigercrm-developers-bounces at lists.vtigercrm.com
[mailto:vtigercrm-developers-bounces at lists.vtigercrm.com] Im Auftrag von
vtigercrm-developers-request at lists.vtigercrm.com
Gesendet: Sonntag, 23. August 2015 14:00
An: vtigercrm-developers at lists.vtigercrm.com
Betreff: vtigercrm-developers Digest, Vol 115, Issue 29

Send vtigercrm-developers mailing list submissions to
	vtigercrm-developers at lists.vtigercrm.com

To subscribe or unsubscribe via the World Wide Web, visit
	
http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers

or, via email, send a message with subject or body 'help' to
	vtigercrm-developers-request at lists.vtigercrm.com

You can reach the person managing the list at
	vtigercrm-developers-owner at lists.vtigercrm.com

When replying, please edit your Subject line so it is more specific than
"Re: Contents of vtigercrm-developers digest..."


Today's Topics:

   1. Re: open pop up from list view (Conrado Maggi)


----------------------------------------------------------------------

Message: 1
Date: Sat, 22 Aug 2015 15:55:20 +0200
From: Conrado Maggi <comaggi at gmail.com>
To: "vtigercrm-developers at lists.vtigercrm.com"
	<vtigercrm-developers at lists.vtigercrm.com>
Subject: Re: [Vtigercrm-developers] open pop up from list view
Message-ID:
	<CAF7dwW85mmD_vnB7yY09k=vT16O=wzUYaQpMjpbYFizsYRm=Fw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Simone,

Maybe you need to add prevent default to your on click event. That TR has an
event to open the detail view of the module

Regards


El s?bado, 22 de agosto de 2015, Simone Travaglini <
simonetravaglini at gmail.com> escribi?:

> Hi to all,
> I need to open a pop with record summary from list view, but:
> 1 - POP UP OPENED BUT ALSO CHANGE MAIN PAGE In file 
> Vlayout/modules/vitger/Listviewcontents.tpl,
>
> before this block:
>
> <a href="{$LISTVIEW_ENTRY->getFullDetailViewUrl()}"><i
> title="{vtranslate('LBL_SHOW_COMPLETE_DETAILS', $MODULE)}"
> class="icon-th-list alignMiddle"></i></a>  {if 
> $IS_MODULE_EDITABLE} <a href='{$LISTVIEW_ENTRY->getEditViewUrl()}'><i
> title="{vtranslate('LBL_EDIT', $MODULE)}" class="icon-pencil 
> alignMiddle"></i></a>  {/if} {if $IS_MODULE_DELETABLE} <a 
> class="deleteRecordButton"><i title="{vtranslate('LBL_DELETE', 
> $MODULE)}" class="icon-trash alignMiddle"></i></a> {/if}
>
> I add this line:
>
> <a href="#"
> onclick="window.open('{$LISTVIEW_ENTRY->getFullDetailViewUrl()}','{vtr
> anslate('LBL_SHOW_COMPLETE_DETAILS',
> $MODULE)}',
>
'width=800,height=600,scrollbars,resizable,menubar=1,location=1,toolbar=1');
"
>  class="icon-download alignMiddle">
> </a> 
>
>
> the icon is show correctly, if i click on icon a popup is opened 
> correctly but also main page is changed and point to summary view of
record.
>
> Any Ideas?
>
> also I need to point in popup to summary view, there is a function 
> like
> getFullDetailViewUrl() for summary view?
>
> thanks for helping! :)
>
> --
> Simone Travaglini
> 328 5499846
> Linkedin: Simone Travaglini
>
>
> Rispetta l'ambiente: non stampare questa mail se non ti ? veramente 
> necessario!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150
822/82a90a11/attachment-0001.html>

------------------------------

_______________________________________________
vtigercrm-developers mailing list
vtigercrm-developers at lists.vtigercrm.com
http://lists.vtigercrm.com/cgi-bin/mailman/listinfo/vtigercrm-developers


End of vtigercrm-developers Digest, Vol 115, Issue 29
*****************************************************




More information about the vtigercrm-developers mailing list