How to stop PHP and some HTML from being stripped out of article when saved?
Very new hub here. One of my first tasks was to move a working php form (a questionnaire) from a previous website onto our new hub website. I logged in as a super-administrator and edited one of the articles on the example front page to place the working php form there. However, when I saved the article the PHP open tag was stripped out. Next, I tried to embed a youtube video into an article with the html command, but that command was also stripped when the article was saved.
I tried to change to “no editor”, but that didn’t seem to help. I thought I was trying to do something simple, but I must be doing something really wrong. Can someone put me on the right track?
0 Like 0 Dislike
Leigh Noble @ on
I see now that adding the php the way I was trying to do it is not the right way. It seems I need an extension to do this.
In any rate, my question about the youtube video embedding still stands. How can I embed a youtube video? It seems like the HTML is stripped out when the article is saved. What is the proper way to do this in a hubzero implementation?
Reply Report abuse
Please login to answer the question.