Require Approval For Web Link

From Joomla! Documentation

Revision as of 10:10, 28 January 2011 by Mvangeest (talk | contribs) (Adjusted layout)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 1.5

To require approval for new Web Links[edit]

In Joomla! 1.5.3

Change line 105 of components/com_weblinks/views/weblink/view.html.php from

$weblink->approved = 1;

to

$weblink->approved = 0;

To remove the published option from the New Web Link form[edit]

Comment out lines 59 - 68 of components/com_weblinks/views/weblink/tmpl/form.php. Change from

</tr>
<tr>
    <td valign="top">
        <label for="jformpublished">
            <?php echo JText::_( 'Published' ); ?>:
        </label>
    </td>
    <td>
            <?php echo $this->lists['published']; ?>
    </td>
</tr>
<tr>

to

<!-- <tr>
    <td valign="top">
        <label for="jformpublished">
            <?php echo JText::_( 'Published' ); ?>:
        </label>
    </td>
    <td>
            <?php echo $this->lists['published']; ?>
    </td>
</tr> -->