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 ForumsRepositoryRepositoryHow to get drop down attribute lists in file upload page?How to get drop down attribute lists in file upload page?
Previous
 
Next
New Post
9/28/2006 6:06 AM
 

Hi, I am trying to create an online business directory, and think the repository module is just the thing to handle it.  I would like anyone to be able to submit a "business card" and I will moderate them before they go live.  I have been reading through the forum for days but so far haven't found a solution to my problems so thought I would ask before I go INSANE!!!

Not being a computer programmer by any means I have run into a slight problem (or three).  I am adding attribute:region, with all the regions of our county (NZ) listed. Then another attribue:city with regions listed again and this time with their local cities linked.

Question 1: Is there an easier way?  Can regions be somehow linked to cities so if someone selects a particular region just the cities in that region will appear?

Question 2: How do I create a drop-down or list menu of attributes in the page where users upload their business cards? Currently just hundreds of tickboxes, looks really cheap and disorganised.  I have managed to create dropdown boxes to sort by attributes in the header.htm & xml and template.htm & xml files - I thought changing the fom.htm & xml files would do it for me but all that did was make my attributes disappear altogether....where is that "UNDO" button when you need it??

Question 3:  Where does all the data go when people submit their ads? Had a quick browse through the database but doesn't look like its in there....I would like to do a bulk upload if possible.

Last one:  can I set the size of the business cards so people don't get greedy and take up a whole page???

If anyone could answer any or all of my questions it would be very much appreciated!! Thanks very much,

 
New Post
10/4/2006 5:24 PM
 

Hi There

Most of the changes you're asking for would require custom modifications to the module. I'll have to look at the code but I think for question two it's currently coded for checkboxes only. As far as Question 3 goes, it's in the database. Look for tables that start with grmRepository.

As far as setting the size, I haven't tried it but you could hard-code a height into the table and it should work. However there's no way to limit how much info people enter into the textbox other than the size of the field itself which is a ntext and I can't remember what the limit is.

 
New Post
10/5/2006 1:20 AM
 

Hi Mike, thanks so much for your reply! You have been a huge help for me. 

I have since found a post which says they hope "nested" attributes to be supported in the next upgrade, so I will have wait for the next release for that part of my question...

If you know any way I can customize my module to get the dropdown boxes in the part where people enter their ad in I would really appreciate an example of some code to use...I have tried modifying the form.xml and form.html a bit but with no success so far. It looks really untidy how it is with tickboxes all over the place in no particular order and quite difficult for anyone to find the right box!

Now I know where in the database I am meant to be looking I will have a go at that after dinner.

Thanks again,

Brigitte.

PS Do you know where the [TAGS] are stored? Having trouble getting the label:text ones showing up.

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryHow to get drop down attribute lists in file upload page?How to get drop down attribute lists in file upload page?


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