Create 'Edit' link directly from Articles

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
shmooth
Posts: 2
Joined: Sat Jan 21, 2012 7:13 pm

Create 'Edit' link directly from Articles

Post by shmooth »

Is it possible? I'm confused as to how phpMyFAQ works. It is only possible to edit an article after you are logged-in as an Administrator, or can I do something WordPress-like and do this:

<?php

if (user_has_appropriate_privileges()){
// show the 'Edit' link -- what goes here?
}

?>
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Create 'Edit' link directly from Articles

Post by jason102178 »

Hi,

Yes you can only edit an article onces logged in as administrator, wordpress is the same you can only edit article once logged in.
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Post Reply