MyBB Community Forums

Full Version: I am trying to edit html of a page, and not the template.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
	find_replace_templatesets(
         "showthread_poll",
         "#" . preg_quote('<form action="polls.php" method="post">') . "#i",
 	    '<form action="newvote.php" method="post">'
 	);

normally I would do that to edit, but it would edit everything in the template, I just want to edit the html when I load the page, I also tried str_replace and preg_replace and it don't do the job.

nvm I think i got it.