Actions

Difference between revisions of "Require Approval For Web Link"

From Joomla! Documentation

m (Changed category)
Line 21: Line 21:
 
[[Image:Web_Link_Published_Option_Code_Commented.gif]]
 
[[Image:Web_Link_Published_Option_Code_Commented.gif]]
  
[[Category:Tips and tricks]]
+
[[Category:Tips and tricks 1.5]]

Revision as of 09:38, 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