Adding configuration settings into an article
Permalink
Hello everyone,
I have an article where I need to place some example apache server configuration as part of the howto I'm putting together. The problem I am running into whenever I add this into the article and do a save, I can then see it. But if go back into the article to make some edits these parts disappear <IfModule mpm_itk_module>, </IfModule>. And I have to re-enter then save to bring it back. Could someone point to me what I am doing incorrectly? Thanks!
<IfModule mpm_itk_module>
AssignUserId ${USER} ${GROUP}
</IfModule>
I have an article where I need to place some example apache server configuration as part of the howto I'm putting together. The problem I am running into whenever I add this into the article and do a save, I can then see it. But if go back into the article to make some edits these parts disappear <IfModule mpm_itk_module>, </IfModule>. And I have to re-enter then save to bring it back. Could someone point to me what I am doing incorrectly? Thanks!
<IfModule mpm_itk_module>
AssignUserId ${USER} ${GROUP}
</IfModule>
Have you tied Remo's code block?
http://www.concrete5.org/marketplace/addons/highlighted_code_block/...
This might be exactly what you're looking for.
Another option would be to make your code on a generic .html page and then use an Iframe (http://www.concrete5.org/marketplace/addons/iframe/) to grab that page and display it on your site.