Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorycan search box be made bigger?can search box be made bigger?
Previous
 
Next
New Post
7/28/2009 11:01 AM
 

anyone know if it is possible to increase the size of the search box in the repository module?

the seach box and the 'go' button seem to be one complete token.

thanks,
mark

 
New Post
7/28/2009 11:38 AM
 

Yes, the search box control is implemented with a single token, but using the header.xml file you can adjust the separate parts.

You can refer to the User's Guide, in particular the Token reference at the end.

TAG DESCRIPTION XML SETTING Default Values
[SEARCH] Inserts Search control. The control is made up of 3 elements, SEARCH (the prompt), SEARCHBOX (the input box) and SEARCHBUTTON (the push button) SEARCH
CssClass

SEARCHBOX
CssClass
Width

SEARCHBUTTON
CssClass

normal


normal
100


normal

 

 
New Post
7/28/2009 11:43 AM
 

so, to save you the lookup time .. .here's what you would do to change the width of the textbox from the default of 100 to 200

<Object>
  <Token>[SEARCHBOX]</Token>
  <Settings>
    <Setting>
      <Name>Width</Name>
      <Value>200</Value>
    </Setting>
  </Settings>
</Object>
 
New Post
7/29/2009 6:04 AM
 

thanks steve,

can you tell me where this guide is please?

I've looked everywhere i can think of including:
Support >> Documentation >> Downloadable files
Development >> Downloads
Help
Forge

I can't think where else it would be ..?
(I always seem to struggle finding content on DNN site - wouldn't mind being involved in website user feedback if ever there was a user survey)

anyway, I managed to solve the issue.
I thought I was doing something wrong - as the header.xml file you mention - does not have a [SEARCH] or [SEARCHBOX] token in any of my template folders.

I have a [SEARCH] token in header.html, but no [SEARCHBOX] in either header file.

I copied the entire <Object> code supplied above into header.xml and it worked,

thanks,
mark.

 
New Post
7/29/2009 7:03 AM
 

Hi Mark,
sorry, the project downloads are not very easy to find ...

go to the repository project page at
http://www.dotnetnuke.com/Development/Forge/ModuleRepository/tabid/830/Default.aspx

and if you scroll down, on the left side you'll see the "Quick Links" section, click on "Project Downloads".  You'll find the Admin guide in the "Other Project Files" section.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorycan search box be made bigger?can search box be made bigger?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out