41
patagon
article 1.0 - How to create dropdown
  • 2007/6/8 3:23

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I'm using article module and I would like to create a dropdown (or modify an existing field so that its a dropdown). Now, I dont have to populate this dropdown with anything from XOOPS database or similar, I just want a field where a user can select one of 3 options I show them (say a dropdown where you can only choose A, B or C). I guess this is easy but I dont know how to do it...anyone?

thanks



42
patagon
Re: Article module - customize submit screen
  • 2007/6/2 0:16

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks Dona! I was about to loose this project but I managed to solve most of my problems with your advice. BTW, not that I make any money on this, but I put a lot of work that I didnt want to see fade away (besides believing in the cause, and my personal opinion that a website could help).

anyway, my remaining issue is that I would need to be able to 'tag' each article with 'open', 'pending' or 'solved' (or something similiar). Whenever someone posts an 'article' the status would be 'open' and then they can edit the post and change that to 'pending' or 'solved'. Since I dont use all the fields in the article submit I figured one of them (say 'source') could hold this, but I'd need to make sure users can only input one of these 3 options (for example a dropdown) and then do an if on the article page (if the option selected in the dropdown equals 'open', show an image saying open). Maybe there is another way, or something I'm overlooking, since I'm not a programmer...

hope this is clear, and maybe someone can give me an idea on how to do this. thanks



43
patagon
Re: Article module - customize submit screen
  • 2007/6/1 16:08

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


anyone? I really need this...



44
patagon
Re: Article module - customize submit screen
  • 2007/6/1 7:23

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


and the icing on the cake: on advanced mode I see that I have a few options for the main text area (koivi, dhtml form, plain text, etc). I'd love to make 'plain text' the default (withouth the ability to choose the others, is this posible?). Since users will only see the 'basic' mode, without the ability to choose advanced or custom, this should be the default for all 3 (or just basic).

At last, I'm using articles for a non profit organization where users submit issues or problems they have, so I'd need them to be able to 'tag' their problem/article, by selection from a dropdown (similar to how you can label a post on CBB). when the article is initially posted, the status would be 'open', and then users can change that (by editing the article) to 'in process' and 'solved', is this possible?

guess thats too many questins, but any help or guidelines will be appreciated.



45
patagon
Re: Article module - customize submit screen
  • 2007/6/1 7:03

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


I'll try to simplify my questions:

1- what I'd need is the 'basic' form (when submitting I see the option of basic, advanced and custom, I'd like to delete the last two from that page, since so many option will confuse my users).

2- in that basic form I'd like to include two fields that are in the advanced mode: the 'Source' and the 'Article spotlight image' (so that uses can upload images).

3 - at last, and this is not that important, i'd like to also delete from 'basic' mode the 'Text options' (enable html, smiley, etc).

Is this possible? I can maybe find my way with a little guidance..

thanks again



46
patagon
Article module - customize submit screen
  • 2007/6/1 3:28

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I'm using article (by phpbb). When I go to 'submit article' I see 3 options on top on a field named 'form mode': basic, advanced and custom. I want to get rid of the custom one and change the name of basic and advanced (to something else). I found a workaround for this, see my other posts below



47
patagon
Re: phpbb article and submenu
  • 2007/5/28 16:44

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks phppp! that worked perfectly



48
patagon
Re: phpbb article and submenu
  • 2007/5/28 16:44

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks phppp! that worked perfectly



49
patagon
Re: phpbb article and submenu
  • 2007/5/28 1:23

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


up..i need this, maybe I can modify the module so that it only writes all the options for the webmasters (so registered users see only 'article' and 'submit' as a submenu, but I dont know where to look...



50
patagon
Re: XOOPSFAQ
  • 2007/5/28 1:21

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


thanks, it works. I hope there arent security issues since it doesnt seem to be supported, but it works perfectly.




TopTop
« 1 2 3 4 (5) 6 7 8 ... 17 »



Login

Who's Online

247 user(s) are online (157 user(s) are browsing Support Forums)


Members: 0


Guests: 247


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits