UPDATE: hack upgraded to work with phpLD4.0.0, please download from here
Hi,
i was requested by some to write a small hack similiar to my last about the full path appearing in the approve section;
a similiar thing needed for the editing
section also!
So here it goes!
1. This will only work after you apply the full path in approve section mod
2. Will only work for phpLD3.1 and phpLD 3.2
Open /admin/dir_links_edit.php and search for the following code:
case 'E' : //Edit
if (empty ($_REQUEST['submit']))
{
$data = $db->GetRow("SELECT * FROM `{$tables['link']['name']}` WHERE `ID` = ".$db->qstr($id));
}
Replace the whole block by :
case 'E' : //Edit
if (empty ($_REQUEST['submit']))
{
##$data = $db->GetRow("SELECT * FROM `{$tables['link']['name']}` WHERE `ID` = ".$db->qstr($id));
$data = getFullLinkInfo($id);
}
2. Now open /templates/Core/admin/dir_links_edit.tpl and find the code:
<label for="OWNER_EMAIL">{l}Owner Email{/l}:</label>
<input id="OWNER_EMAIL" class="text" maxlength="255" name="OWNER_EMAIL" type="text" value="{$OWNER_EMAIL|escape|trim}" />
{validate form="dir_links_edit" id="v_OWNER_EMAIL" message=$smarty.capture.invalid_email}
Add after that:
<label for="CACHE_URL">{l}Category Path{/l}:</label>
{$CACHE_URL|escape|trim}
Done!
lemme know how this goes!
Regards,
M.

My directory use phpLD 3.2.0 vs and i tried to use “show full category Path while editing sites” mode.
Never works for me. When i login to admin section…nothing happend: is the same pannels and categories. I tested on phpLD 3.3.0 – the same = not works.
You have updated this mode?
Thanks
have u installed Show Category Path while approving sites, without that it will not work.
M.