Results 1 to 2 of 2
Jul 13, 2006, 05:38 #1
HELP!: Button for Adding tags to CMS post
I've created a PHP content management system for a client and have made it so that the PHP recognises tags such as [B], [I], [URL], [U], [IMG] etc. How do i make it so that, like in these posts, you can click a button to automatically insert the tags to create emboldened/italicised/underlined/linked text?
Also, On the posting page will be a list of image thumbnails that have been uploaded to the site which I want for the user to be able to click on an image and the [IMG] tag gets added to the post with the correct link to the image.
Thank you for any help you can give.
Jul 13, 2006, 06:53 #2
- Join Date
- Jul 2006
- 0 Post(s)
- 0 Thread(s)
Honestly I would suggest you seek out some of the Rich Text editor plugins used in blogs like Wordpress. Since all these plugings are written in PHP - and most are open source, it shouldn't be too hard to rewrite them for your uses. Why reinvent the wheel?