Hi all,

I love this module and I only have one complaint.

When you create a new project there are some fields in the edit tab that don't get displayed in the final post. IE Date begin and Date end.

Is there any way to get those fields to display on both the individual project page as well as the projects list page?

Thanks

Attached is two images of what I am looking for.

CommentFileSizeAuthor
fdsafdsa.JPG84.85 KBoxiclean
display.JPG87.47 KBoxiclean

Comments

Magnity’s picture

Both of these can be done on a site by site basis.

For the lists, if you use views, you can control exactly the fields that are output and their formats

For the project view, you can override the theme function - something like theme_stormproject_view() with your own [YOURTHEME]_stormproject_view(), and simply copy, paste and edit the code to give the additional fields.

Once Storm is successfully into D7, we will move into using the new Fields API for all fields, and this will mean you have much greater control over this sort of thing (and much easier).

oxiclean’s picture

Hi,

Thanks for the quick reply. I am pretty new to drupal myself.

I have the views module installed but I am just a bit confused as to how to use it. Do you happen to have a link to a good tutorial for this module.

I am glad to hear that D7 will bring some good updates to this module.

thanks!

Magnity’s picture

The best way is to install the module (and views ui which is included in the same download) and have a play around with it!

For Storm, you'll need to base the views on 'nodes' and to show only Storm projects, filter by 'node type' = Project.

Views UI has a live preview so you can see how your settings change the appearance of your view quite easily.

Magnity’s picture

Status: Active » Fixed

Please reopen if you need any more help.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jklina’s picture

Status: Closed (fixed) » Needs review

Hello,

Firstly, this is my first post at Drupal.org and the first time I've used it so I'm still getting my feet wet. I feel guilty posting a help request in a bug tracker, but I wasn't sure where else to seek help for this specific module. If there is a more appropriate place, please let me know :)

My goal is to modify the projects list page to include fields that were created via CCK. I know I can easily add fields that are stock to Storm like including the following in stormproject.theme.inc:

l(date("m.d.y", $project->datebegin), 'node/'. $project->nid),

, but adding a field created in CCK doesn't seem to be as simple, ie:

l($project->field_project_number, 'node/'. $project->field_project_number),
(doesn't work)

I have the views module installed, but even if I create a view I'm not sure how to hook it up to the Storm dashboard. Can I override the default view with one I've created? Or, perhaps there's a way I can modify stormproject.theme.inc to work with CCK fields.

Thank you for looking. :)

juliangb’s picture

Status: Needs review » Closed (fixed)

Hi jklina, welcome to drupal.org and storm, but please could I ask that you post your query in a new issue rather than using this one? It helps to make sure the conversations are easy to follow. To post a new issue, go to http://drupal.org/project/issues/storm and click "Create new issue" (its that, or something similar).