tiny_mce affect all the text area in my page - php

i downlaoded a tiny_mce folder and implemented it in my page. it's work fine, My problem is that all the textarea in my page looks like tiny mce , i want only one textarea looks like tiny mce and left of all in normal textarea . what will i do to do this???
Please replay urgently
Thanks in advance...........

If you are finding tinymce hard to use there is an alternative called ckeditor at www.ckeditor.com. It is easy to customise though the default design is terrible but easy to change.

maybe if you looked at the tiny_mce site and their exhaustive and helpful examples you would discover it's easily done via class attributes, if you so desire .. check here

Related

How to format text in a textarea for blog/news article

I've designed a basic blog app using php. For the entry, I've used a html form and used < textarea > for the main article of the blog. All works fine. The data is saved to a database and called up by other pages.
However, I'd like to be able to add formatting to this so other users who don't know to wrap tags around things can also post an entry. The type of thing I'm after is pretty much EXACTLY what is used here to post replies etc.
I'm guessing this would be either Javascript or php, but I don't have a clue how to go about it.
Probably you are looking for a web based Javascript HTML WYSIWYG editor, like
TinyMCE
NicEdit
among many others...
Here you have a few ones:
10 best WYSIWYG Text and HTML Editors for Your Next Project
15 Really Useful Web-based HTML Editors
Google: Javascript HTML WYSIWYG
Good luck!
You can use ckeditor or tiny mce editor

PHP Tab implementation

I am trying to implement tabs within one tab and I would like some help with it.
I found some codes for the upper tab and tried to implement them into the lower set of tabs. These codes are not mine. I simply put them together to display what I wanted which obviously doesn't seem to work properly...
The following is what happens:
1) If you click on the upper tab, the page doesn't refresh itself.
2) If you click on the lower tab, the page refreshes itself and changes the "id=?" on the address bar which is what I DO NOT want.
Will it be possible for this problem to be fixed?
This is a SAMPLE website so it will not be tidy
http://www.swan10.nl/stuff/testie/testie.php
The CSS were made to display classes however the PHP website only works if these codes are used class="TabView" id="TabView". I know you cannot use "id" more than once so I even made another set of CSS & Javascript for id="Tabview2" etc but it didn't work so I didn't bother uploading them to save space.
I don't know if this is the best code to use but if they aren't please give some suggestions for better codes. Or I may have just missed something tiny and silly.
Please help & thank you in advance!
I highly recommend you look at the Tabs feature of jQuery UI. It will seriously remove all the headaches of trying to figure out logic yourself, it's super easy to set up and use, and LOTS of people use it so there is plently of good information and support floating around on them.
http://jqueryui.com/demos/tabs/

Where do I start with a changing homepage?

I'm building a website with a homepage that has a different article everyday. I know how to change it using html, but that requires daily maintenance. Is there anyway I can change a picture and text daily without changing code everyday? I'd also like to be able to see the previous days' article by using an 'older' button or something.
I'm not asking for the whole code by the way, just for someone to point me in the right direction. Thank you
It sounds like you're looking for WordPress.
How about a Content Management System like Joomla? If you're just doing static content updates, that may work well for you
You probably need to utilize CMS to match your needs.
You Can Make this by adding the article and images into the database. or images in the folder.
You can google for better article for doing this.or you can use cms e.g. joomla , wordpress.
Thanks

How do I get this web-based word processor?

I was wondering if I could get a web-based word processor just like the one here on stack overflow, that shows a view of what you are typing in.
The editor used on StackOverflow is a modified version of WMD: http://wmd-editor.com/
http://wmd-editor.com/examples/splitscreen
TinyMCE has a lot of the same functionality. I think SO wrote their own, though.
You could use TinyMCE and make a function that gets the content of the TinyMCE editor box and creates a preview below it on every keystroke :)

PHP wordpress style related posts

Do you know how wordpress decides which related posts to show?I mean I know if it has tags, then it's easy but if it doesn't?
Best Regards,
Generally the 'related post' function of a Wordpress Blog is created by the owner of the blog, or using a plugin. I can imagine that those plugins either look for new posts with similar tags or in the same category as the post it is displaying.
As far as my knowledge extends, I do not believe that Wordpress has a show_related_posts function, although I may be wrong. If it does, it would be simple enough to look it up on the documentation at wordpress.org.
Also, another good part about OpenSource programming is that you can simply go in and look at any of the code that you are curious about. I personally use Notepad++, and when I find a function in Wordpress or any other CMS I am not famillar with, I simply copy and paste the function name, and do a Multi-File search on the function to figure out where it is declared.
I'm going to have to go with Chacha102, as far as I know this can only be done using plugins or by hacking the code yourself.
I did something similar by falling back on the post's category if it had no tags, works pretty well too.
This guy has the leading plugin for related posts. I'd download that and take a peek at his code and see how he does it. Then you can reverse engineer it and make it your own. The beauty of opensource.
http://wordpress.org/extend/plugins/wordpress-23-related-posts-plugin/

Categories