Hey guys,
I'm using footermap on a page with the Marinelli Theme... So basically all my menus are in the main menu (it's a drop-down type thing called "Megamenu" in Marinelli...)
The module works like a charm, but because I have a lot of menu items in the main menu, the footermap is basically as long as the whole page...
Is there any way to force the footermap to make a 2nd column (like when you parse several menus) after, say "x" list items? And then a third and so on if the list gets longer...
I tried reading through the code already, but I really can't figure it out as I'm not really a big codemonkey...
A bit of help would be really appreciated! Thanks in advance!
With best regards
enderep12
Comments
Comment #1
mradcliffeDoes the new theme patch help theming in #637734: Footermap Theming: The Next Step?
Comment #2
enderep12 CreditAttribution: enderep12 commentedHey,
thanks for the answer.
I tried applying the patch (wow, takes some time as a coding noob) and did it (probably) successfully in NetBeans...
Now the footermap is completely gone... It's activated in Modules though and I also put the block in the footer in the block menu...
If I put back the original files, everything works fine again...
Edit: Okay, I went to the .dev release and tried patching again... After the patch there's a new folder "/dev/" with a "null" file in it. Is this correct? Or am I failing at applying the patch?
When I upload the footermap now and reenable it in modules, it gives me the following error:
Well, it says "failed opening": footermap.theme.inc
That might very well be, because the file is not even there.
Comment #3
enderep12 CreditAttribution: enderep12 commentedAnother edit:
I could read from the .patch file, that the stuff in the "null" file was the content of the 2 missing files.
I also was able to create them manually and now it works again. I might get into theming now.
Comment #4
enderep12 CreditAttribution: enderep12 commentedAnother update ;)
I resolved the problem.
How-To for anyone who wants to know:
Using footermap: 7.x-1.x-dev
Edited "div.footermap-col" in "footermap.css" to:
Result:
http://dl.dropbox.com/u/17080466/col-layout.jpg
Exactly what I wanted! I'm not even sure if you'd need the update for this... But it looks like I want it to and I'm not gonna roll back now ;)
So thanks for your help!
Comment #5
enderep12 CreditAttribution: enderep12 commentedComment #6
mradcliffeI might put that in the README actually.
Thank you for giving it a shot.
Comment #7
enderep12 CreditAttribution: enderep12 commentedNo problem, only thing is that only Opera, FF and Chrome can read this CSS tag.
IE (even the newest version) can not read the Column stuff... So it's going to be a normal textbox for IE users...
You might consider adding the -moz and -webkit tags beforehand, so that really every CSS3-compatible browser can use those tags.
Something along that lines:
If you know any other solution to make it possible in Internet Explorer too, let me know.
See you.
Comment #8
mradcliffeThe other way would be to modify the render array and split things up in the template how you want them. This is more the coder's approach rather than the CSS themer's approach.