Jetwave Posted March 18, 2015 Report Share Posted March 18, 2015 I'm attempting to get my news to display as: Date | Subject: Body but is coming out as Date | Subject: Body ----- After triple-checking my formatting I looked up the news table in the database - it appears that the body field has <p> tags attached to it when it posts... I dug all through the admin side and even into the SiteCMS files trying to see what I can tinker with to prevent/work around this but no luck. This is a clean install of phpVMS so no other files have been customized. Suggestions? Quote Link to comment Share on other sites More sharing options...
freshJet Posted March 18, 2015 Report Share Posted March 18, 2015 It's just the way the editor works. You could apply display:inline to the text, or you could use str_replace in the PHP code to replace the <p> and </p> tags. Quote Link to comment Share on other sites More sharing options...
Jetwave Posted March 18, 2015 Author Report Share Posted March 18, 2015 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.