PDA

View Full Version : hook adding issue


jasharen
10-19-2008, 03:02 AM
Ok I am trying to add a bit of code to the vba_links_addlink_doedit hook location. I have made sure the hook is active.

For pure test I did:

$myTemplate = "Test";

I then added $myTemplate to the ADV_LINKS_ADD_EDIT template.

When I go to edit a link using addlink.php, I would expect to see Test show up in the location I placed the variable?

I had this working but altered the value, and now I can't get anytihng to populate through to the screen.

Any idea's on what I'm doing wrong?

jasharen
10-19-2008, 12:03 PM
Ok disregard my post, middle of the night blues.

I was using the wrong hook.

Thanks :)