Hyperlink Prefix in preview

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mpol_ch
User
Posts: 888
Location: Switzerland

Hyperlink Prefix in preview

Post by mpol_ch »

Hi,
I am using the following hyperlink preview setting to click an url to trigger a custom file code.

  Hyperlink 
  HREF field: Id
  Original field value: unchecked
  Target: _blank
  Prefix: mpol/wordfile?Pid= 

This is working fine when I am at tables list view and the URL is like this:
xxx://localhost/protokoll/mpol/wordfile?Pid=111

But when I am in master/detail view then I am getting this URL:
xxx://localhost/protokoll/protokollview/mpol/wordfile?Pid=111

How can I force to use the same URL form list in preview?

mpol_ch


arbei
User
Posts: 9719

Post by arbei »

You should use absolute path, e.g. /protokoll/mpol/wordfile?Pid=.


mpol_ch
User
Posts: 888
Location: Switzerland

Post by mpol_ch »

Perfect, thank you for the hint.

mpol_ch


Post Reply