You need to Register for free and Login to post a message in the forum.

Forum

Subject: Custom Textbox Size
Prev Next
You are not authorized to post a reply.

Author Messages
Mike O'Malley
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:3

09 Feb 2010 12:56 AM  
Hello everyone,

Do you know if there is a way to customize the size of a textbox control on the Manage Profile tab of the Edit User Accounts page?  I have a custom profile property that I want to store up to 500 characters in, so I would like to be able to make the associated textbox control on this page wider and have multiple lines if possible. 

I have also tried changing the type of the profile property to RichText so I could have access to the RichTextBox control, but when I used token replacement on the profile property it displayed HTML along with the text I wanted to store.  For example it displayed "

Thank you for registering for an account!

" instead of "Thank you for registering for an account!"  Is there a way to make the RichTextBox not store HTML and just store the raw text?

A solution to either of these issues would be very helpful.  Thank you.

-Mike O'Malley
Joseph Craig
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5345


09 Feb 2010 6:11 AM  
For the second part, you can switch the editor to source mode and enter unstyled text.

For the first part, you will need to identify the styles that are applied to the profile elements and then add styles to portal.css to modify them. I've never tried this for profile properties, so I'm not sure is this is easy or hard.

Joe Craig
DNN Creative Support
Subscribe to the website
Lee Sykes
DNN Creative Staff
Nuke Master V
Nuke Master V
Posts:5302


09 Feb 2010 11:24 AM  
I can't see an easy way to do this with a standard text box, I've tried CSS styling the id and can't find an ID to just target that textbox, it's possible to target all of the textboxes, but I'm sure that is not useful!

One other thing to try is:

Use the RichText editor
This should bring up the FCK Editor
Go to view your profile (logged in as admin)
Click on Show Custom Editor Option
Settings type at the top - select "instance"
Other editor options
HTML Encode Output select No
Reverse HTML select no
Force width and height, you can specify the dimensions you require
Editor toolbar view options - in there you can remove the toolbars to strip down the editor

At the bottom, select Instance and click on Apply - These settings will just be applied to the FCK Editor used for Profile Properties.

You may find it useful looking at these tutorials for further configuring the FCK Editor:
Let us know if this works, thanks,


Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/leesykes

Lee Sykes's Facebook Profile
Mike O'Malley
DNN Creative Magazine Subscriber
Nuke Newbie
Nuke Newbie
Posts:3

09 Feb 2010 5:19 PM  
I didn't see the options you mentioned at first, so I upgraded my FCK Editor and then they were present.  It appears to work the way I had hoped.  Thank you very much for the help!

-Mike O'Malley
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Custom Textbox Size



ActiveForums 3.7

Latest Forum Posts

RE: Run exe/dll from DNN? by jncraig
I did this several years ago, so I think that what I found must have been in the "Professional DotNe...
RE: Run exe/dll from DNN? by ollivogt
excellent!!! scheduled task looks good - do you have any hint where to start the search? Many tha...
RE: Employee Absent Indicator by dkemp@karrtuttle.com
I suppose I could do an Events module with everyone's vacation schedule in there. Then the receptio...
RE: Run exe/dll from DNN? by jncraig
Do you want to do this on a schedule, or in response to an event such as a mouse click? If the fo...
Run exe/dll from DNN? by ollivogt
Hello, is it possible to run an external application from within DNN - for instance doSomething.d...
Employee Absent Indicator by dkemp@karrtuttle.com
Hello everyone. Our new DNN intranet is going well. It's a good indication of success, I think, wh...
RE: Request Tutorial on using Flash by robmacker
Hey Joe. Well, i want to get the accompanying flash file working. It uses javascript only to confirm...
RE: Flash in the HTML Module by jncraig
I commented on another post you made. Here is some more. You probably will be more successful if...
RE: Fun? with styling of Home.aspx by jncraig
You can also warn bloggers to use the Paste from Word tool.  It's often helpful.  For major things, ...
RE: Fun? with styling of Home.aspx by jncraig
You can also warn bloggers to use the Paste from Word tool.  It's often helpful.  For major things, ...
RE: Request Tutorial on using Flash by jncraig
I usually use DigFlash, a free module, when I want to put a flash file on a page. It's quite simple...
RE: Skin missing banner and menu when ctl is used in the url by jncraig
Can you point me to a specific page on the site and particular problem?
Request Tutorial on using Flash by robmacker
Either the one's that know how to do it are keeping quiet or there just isn't enough general knowled...
RE: Links Directly To Files With Login Prompt by jncraig
It's probably easier to put links to the protected files on a protected page. Then, email the link ...
RE: DNN Live site not displaying by jncraig
If this is not a large site, you can do a fresh install and start from there.   Since you have the b...
RE: Server Error in '/' Application. by jncraig
You will want to make that change to web.config and see if you can get some more details.
RE: Server Error in '/' Application. by michellb
Here is the entire text on the page: Server Error in '/' Application. Runtime Error Descrip...
RE: DNN Live site not displaying by michellb
Yes, I can access the data in my database. The web.config file is setup with the correct connection...
RE: DNN Video Player module by acandael
great module. I had trouble playing an .mp4 movie. After purchasing and installing the DNN Video Pla...
Links Directly To Files With Login Prompt by ALPAdnnUser
Is there any tool/module that is out there that will let me email a link to a file (that is secured ...
AppTheory
RSS Feeds