![]() |
|
#1
|
||||
|
||||
Using text widgetsI've been trying for quite a while to create "custom" widgets using the text widgets available in the admin section. I'll drag the text widget to the template area, open it, and then copy & paste Javascript.
Supposedly this is supposed to work, but it doesn't work for me. Every time I click "Save Changes" and view the updated site, the widget doesn't appear. When I check the text widget again, the Javascript I put in there wasn't saved; the widget is blank. However, if I just put in straight text, it appears just fine. What am I doing wrong or what do I need to do differently to have my Javascript run correctly? __________________
Start Programming with Python-A beginner's guide to programming and the Python language. ------------- Common Sense v2.0-Striving to make the world a little bit smarter. |
|
#2
|
||||
|
||||
Re: Using text widgetsThis is so some unscrupulous person can't put "bad" javascript onto a page. Maybe you are "bad to the bone" and don't even know it?
Randomly allowing for scripts to be executed has been deemed not safe for a multiuser MU installation. Anything in a <script> tag will be removed. Contact the site admin with the JS you want to put up and perhaps something can be worked out. Mark __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
|
#3
|
||||
|
||||
Re: Using text widgetsGreat, he's going on vacation for 2 weeks.
Thanks, Mark! __________________
Start Programming with Python-A beginner's guide to programming and the Python language. ------------- Common Sense v2.0-Striving to make the world a little bit smarter. |
|
#4
|
||||
|
||||
Re: Using text widgetsQuote:
Of course what I meant to say was for multiuser WP installation. Glad to help, such as it was. Mark __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
Recent GIDBlog
Writing a book by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to read unknown total of int data from text file to a 2-dim array in C or C++? | ladyscarlet99 | C Programming Language | 2 | 09-Sep-2005 15:07 |
| need help on text file analyser | ffantasy | C Programming Language | 1 | 05-Sep-2005 14:44 |
| saving html text | dopee | MySQL / PHP Forum | 1 | 17-Jan-2005 05:15 |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 11:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 12:28 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The