Closed (fixed)
Project:
Storm
Version:
6.x-1.27
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2009 at 13:40 UTC
Updated:
3 Feb 2010 at 14:18 UTC
Jump to comment: Most recent file
Comments
Comment #1
qriz commentedComment #2
Magnity commented@qriz,
Take a look at the code in theme_storm_link (storm.theme.inc) and a function like theme_stormorganizaton_view (stormorganization.theme.inc).
You should be able to use that code to recreate the links, and you'll need to know the nid and node type of the node that you are linking from.
Comment #3
Magnity commentedWondering whether you've managed to solve this?
Comment #4
qriz commentedI cleared all the (for this site) unneeded code from the stormorganizations body, so that just the menu and taxonomie images are left and set the floating to the left. Then I created a new panel for type stormorganizations and reused the body as a block (marked in yellow). I also moved most of the menu directly to the type stormproject, since that's how the work flows in that company. It might not be the most sophisticated way to handle this but at least all functions are still working after messing with the code. I'm still working on it as you can see in the snapshots.
And like I said before this module is awesome .... thank you guys so much for sharing it!
Comment #5
Magnity commentedGreat. Looks like this support request can be closed.
If any of the code turns out to be reusable, please do share it here in case others want to do a similar thing!
Comment #6
qriz commentedSure ;-)
Comment #7
Branjawn commented@qriz, can you share exactly what you did to achieve this in a step-by-step tutorial?
Comment #8
qriz commentedIt's NOT recommended to do what I did because all changes will be overwritten by the next update!!!
What i did was: uncommenting pretty much every entry beginning on line 43 in storm/stormorganizationstormorganization.theme.inc
and line 48
storm/stormproject/stormproject.theme.inc
what includes any fields (since I had build mine with CCK way before i learned about storm)
Then i had just the menu in the body of each node and could reuse it through panels but like I said, the fact that updates overwriting all changes, is making that a bad approach!