SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot maffp's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question HELP!: Button for Adding tags to CMS post

    Hi!

    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.

    Any ideas?

    Please help!

    Thank you for any help you can give.

  2. #2
    SitePoint Member
    Join Date
    Jul 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    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?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •