?
avatar Jaironlanda
Jaironlanda
15 May 2018

Steps to reproduce the issue

Write article and insert/edit code simple. Example PHP code:

public function __construct()
{
        parent::__construct();
        $this->load->database();
        $this->load->helper('url');
        $this->load->library('session');
        $this->load->library('form_validation');        
        $this->load->model('Member_model');
}

Expected result

show green pop up success save article.

Actual result

Redirect to home page and my article not save. :(

System information (as much as possible)

Joomla! 3.8.7

Additional comments

avatar Jaironlanda Jaironlanda - open - 15 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 15 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 May 2018
avatar joomla-cms-bot joomla-cms-bot - edited - 15 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 15 May 2018
Category com_content
avatar brianteeman
brianteeman - comment - 15 May 2018

It's an article editor not a code editor. Probably your attempt at injecting code in an article was correctly blocked.

avatar Jaironlanda
Jaironlanda - comment - 15 May 2018

I just want show example code in my article. How to fix it? or any plugin to replace insert/edit code?

avatar brianteeman
brianteeman - comment - 15 May 2018

There are several.available.extensions for this at the extension directory.

avatar brianteeman brianteeman - close - 15 May 2018
avatar brianteeman
brianteeman - comment - 15 May 2018

Closed.as.not.a bug

avatar brianteeman brianteeman - change - 15 May 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-05-15 15:10:15
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment