arbitter Posted April 17, 2011 Share Posted April 17, 2011 Hi there, This isn't really a bbcode parser problem, but it kind of is. And I am awful at explaining things, as you have noticed. The problem is that I'd like to allow input for the main page of a site. But the part has this structure: <div class='mainheader'>TITLE</div> <div class='content'> The content of the webpage blabla</div> I'd like this whole page to be changeable, so also the title and the content. But how can I ensure that people use the content div after the mainheader div? I would like it if it were possible that they only needed to 'select' the header, how can I do this? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/233995-bbcode-problem/ Share on other sites More sharing options...
dcro2 Posted April 17, 2011 Share Posted April 17, 2011 ... You are trying to do something like this? [header]title[/header] [content]The content of the webpage blabla[/content] Quote Link to comment https://forums.phpfreaks.com/topic/233995-bbcode-problem/#findComment-1202718 Share on other sites More sharing options...
arbitter Posted April 18, 2011 Author Share Posted April 18, 2011 ... You are trying to do something like this? [header]title[/header] [content]The content of the webpage blabla[/content] Yes I am! But I want it without the [content] tags, though they should appear... Quote Link to comment https://forums.phpfreaks.com/topic/233995-bbcode-problem/#findComment-1202886 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.