hyperlink in custom template

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
farichte
User
Posts: 30

hyperlink in custom template

Post by farichte »

how to use hyperlink in customtemplate-->table-specific-->list-page-->customtemplatebody?

i've tried

<?php
$tblname->no->LinkCustomAttributes = "";
if (!ew_Empty($tblname->no->CurrentValue)) {
$tblname->no->HrefValue = "//.../webname/webedit.php?no=" . $tblname->no->CurrentValue; // Add prefix/suffix
$tblname->no->LinkAttrs["target"] = "_blank"; // Add target
if ($tblname->Export <> "") $tblname->no->HrefValue = ew_ConvertFullUrl($tblname->no->HrefValue);
} else {
$tblname->no->HrefValue = "";
}
$tblname->no->TooltipValue = "";
?>

but it just gave me a blank page
anyone know how to fix this?
thanks


mobhar
User
Posts: 11660

Post by mobhar »

Please enable the Debug mode from "Tools" -> "Advanced Settings" and then regenerate ALL the script files again, and see whether any PHP error message.


Post Reply