PDA

View Full Version : $post[editlink] not working


cyr0n_k0r
07-13-2004, 03:54 AM
I am trying to make it so I can have an edit link for the news articles I post on the main page.



| <a href="$post[editlink]">$vbphrase[edit_article]</a></if>



That is my code, but the problem is that the link only takes me to my main website, and not the edit.php&do=edit?p=whatever

you know? Any help on makeing the edit post link work?

Merjawy
07-13-2004, 06:30 AM
First the news artical should have an Edit button !!!

without looking at the code itself, I can fix the location for ya


| <a href=$vboptions[bburl]/"$post[editlink]">$vbphrase[edit_article]</a></if>


again wither that code works or not I didn't check, only to make you go to forum instead of home page

Our Sponsors
 

cyr0n_k0r
07-13-2004, 05:31 PM
heres the fixed code. for anyone else that has this problem.


| <a href="$vboptions[bburl]/editpost.php?$session[sessionurl]do=editpost&amp;p=$news[postid]">$vbphrase[edit_article]</a>