Hi ,

I am new to Drupal , i have installed Drupal 7

I am developing Magazine Site and i have below Requirement and i am unable to figure out how to do that ?

I have created one content type 'Magazine' which has following fields 'Title' , 'Cover Image' , 'Number Of stories' .

Now What i want is when ever administrator selects 'Number Of Stories' let say he has selected '3 stories' then 3 sets of fields opens up Each having respective fields .

Please help me , i am in urgent need i have to be up and running by day after tommorrow

Comments

ravinder.261987’s picture

Please Reply my query fast ,

how do i do that i have mentioned above

dougthelegoman’s picture

Ravinder, if you keep reposting your question without waiting at least 24 hrs, you'll just annoy the volunteers who answer these posts. If something is really urgent, get on the IRC at http://drupal.org/irc

ravinder.261987’s picture

Please Answer my query if you can

chunty’s picture

I can get you some of the way with this.....the tricky bit (to me) is limiting the number of stories you attach.

To link one node type to another you could use the node relationships module with modal frame this will allow you to add "stories" to your "magazine" node type. However it will NOT let you limit the amount someone can add.
The only way around this I can think of is to show the linked stories using a views block display but even then this will work from a fixed number rather than the number some selected in a drop-down. You might be able to programatically change the views page size but I've not done that before.

Chris