Actions

Difference between revisions of "Require Approval For Web Link"

From Joomla! Documentation

Line 20: Line 20:
  
 
[[Image:Web_Link_Published_Option_Code_Commented.gif]]
 
[[Image:Web_Link_Published_Option_Code_Commented.gif]]
 +
 +
[[Category:Tips and tricks]]

Revision as of 06:02, 14 July 2008

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 web links form:

comment out lines 59 - 68 of components/com_weblinks/views/weblink/tmpl/form.php

change from

Web Link Published Option Code.gif

to

Web Link Published Option Code Commented.gif