Replacing the front-end Joomla edit-icon with F2C edit functionality
This article describes how to override the default Joomla edit functions in the front-end with Form2Content edit functions.
This feature automatically detects whether the article can be edited with Form2Content. When you have the sufficient permissions it will remove the default Joomla edit buttons.
In order to edit the article with Form2Content, you have to include the Edit Article Plug-in in your F2C template.
Please note: This article has been updated for use with Joomla 3.4.1 / F2C Pro 6.5.0 and higher.
- Create a template override for the com_content article view.
- Copy the file components/com_content/views/article/tmpl/default.php to the directory templates//html/com_content/article/
- Open the file for editing.
- Find the following code on line #21:
- Add the following piece of code after that line:
- The code above will only disable the default Joomla edit functionality when it finds an article that can be edited through F2C. In order to edit the article itself through F2C you have to include the Edit Article plugin in your F2C template.