Actions

Difference between revisions of "Require Approval For Web Link"

From Joomla! Documentation

(Basic procedure on how to require approval for web link submission in Joomla! 1.5.3)
 
Line 6: Line 6:
  
 
to $weblink->approved = 0;
 
to $weblink->approved = 0;
 +
 +
  
 
'''To remove the published option from the web links form:'''
 
'''To remove the published option from the web links form:'''
Line 11: Line 13:
 
comment out lines 59 - 68 of components/com_weblinks/views/weblink/tmpl/form.php
 
comment out lines 59 - 68 of components/com_weblinks/views/weblink/tmpl/form.php
  
to change from
+
change from
 +
 
 +
[[Image:Web_Link_Published_Option_Code.gif]]
 +
 
 +
to
 +
 
 +
[[Image:Web_Link_Published_Option_Code_Commented.gif]]

Revision as of 22:27, 15 June 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