This topic is locked

New user - Question - Q4 - Remove / Add Links

7/23/2006 7:49:04 AM
PHPRunner General questions
M
mmponline author
  1. In a project, the user logs on, seeing only his info. He can edit, but not add a new one. I could remove the search and advanced search links, by deselecting it in the page list I did the same with the add page and view pages by removing it from the page list, but the links still show on the opening. Why???
  2. How do I add or edit links on pages going to other pages if needed.
  3. How do I get the save button to also display at the top and/ or even in between, as there are a lot of fields?
  4. How do I add the links for change password, export and printer friendly. to the view or other pages when needed.

J
Jane 7/24/2006

Stephan,

  1. remove add new and view pages on the Choose pages tab (step 5) in the PHPRunner.
  2. edit ..._list.php file manually: find and remove

    this code:
    <input class=button type=submit value="<?php echo mlang_message("SAVE");?>" id=submit1 name=submit1>



and then locate following line

$max_filesize_set=0;



and add this code before it:

?>

<tr height=50><td colspan=2 align=center>

<input class=button type=submit value="<?php echo mlang_message("SAVE");?>" id=submit1 name=submit1> </td></tr>

<?php


2, 4. to add print, export or other links to the edit/view pages modify generated files manully.

For example, to add Printer-friendly link to the view page put this code in the ..._view.php file:

<a target="_blank" href="categories_print.php">

<?php echo mlang_message("PRINTER_FRIENDLY");?></a>