![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| "Submit story" link on queued stories page Hi All, I have modified my installation of Pligg Beta 5 to display the "Submit story" button not only on the frontpage, but also on the queued page. I figured it would be handy to have that button there also, as people who go through the queue, may come up with something and I do not want them to have to go back to the front page to submit. I think the submit function should be available at the click of a button throughout the site, to encourage people to submit new stories. To do this, you have to modify shakeit.php. It's really easy. In shakeit.php, find this piece of code: Code: function do_sidebar_shake() {
global $db, $dblang, $globals;
echo '<div id="sidebar">';
echo '<div class="note-temp" id="note-temp">' . "\n";
echo '<p>'._(PLIGG_Visual_Pligg_Queued_Message).'</p></div>';
echo '<ul class="main-menu"><li><div class="boxed"><div>';
echo '<span><strong>'._(PLIGG_Visual_Pligg_Categories).'</strong></span>';
echo '<ul class="category-list">'; Code: function do_sidebar_shake() {
global $db, $dblang, $globals;
echo '<div id="sidebar">';
echo '<div class="note-temp" id="note-temp">' . "\n";
echo '<p>'._(PLIGG_Visual_Pligg_Queued_Message).'</p></div>';
echo '<ul class="main-menu">';
echo '<li id="main-submit"><a href="/submit.php">Submit a new story</a></li>';
echo '<li><div class="boxed"><div>';
echo '<span><strong>'._(PLIGG_Visual_Pligg_Categories).'</strong></span>';
echo '<ul class="category-list">'; Best, Arno |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| user page login link is wrong | Xanatos | Bug Report | 1 | 01-08-2006 11:36 AM |




Linear Mode

