Is there anyway to make flexisquares have a 3rd column? I know on the component layout you can do that. I was wondering if it was possible on here
( Read more... )
I think she's talking about this or maybe this. There are a couple others listed at component_help, but it's probably one of those 2, I'm thinking. I may try to figure it out, but man those things are soooo long! O_O;
Probably the first one, and it looks intimidating but as far as I can tell, the only thing you'll need to adapt is this part, to make it print the normal MonthPage for Flexible Squares:
else { # normal page_layout($this); # end normal }
If I understand what I'm reading correctly, everything else is concerned with setting up the searching, etc, and is non-stylespecific.
(The entire bottom part, on the other hand, has to do with stuff you need to do on the other site XD)
I might try it when I get back ( if no one beats me to it :D) but I have to go sleep soon, and I won't be online for the next 16 hours at least XD
Erratum (again. Bah. I make mistakes way too often)afunaJune 28 2005, 12:21:21 UTC
Where I said, If you're grabbing it from the layer source (which I'd recommend, so you can take advantage of variables for auto-adjustment :)), change the $sidebar_font_family to css_font_family($*sidebar_font, $*sidebar_font_fallback);; change the $sidebar_prop to float:left. before, that will either cause an error or the css will have no effect. Instead, if you're grabbing it from the layer source:
Put this above the """"""; block: var string sidebar_font_family = css_font_family($*sidebar_font, $*sidebar_font_fallback);
In #othersidebar: Keep the $sidebar_font_family in the css.
-- these last two are general reminders Change float:left/right; (wherever your original sidebar is) to float:left/right; (where you want your other side bar to be).
Also, don't forget to add #maincontent {margin-left/margin-right } depending on where your new sidebar is (If it's going to be on the left, use margin-left; if on the right, margin-right). :)
Comments 28
1.)In the Page::print function:
a.) Creating the sidebar content
Look for the code that says
var Page page = get_page();
var string title = $this->title();
and beneath that, place this code:
var string extra1_title = """
var string extra1_content = """
var string extra2_title = """
var string extra2_content = """
b.)Placing the sidebar in your layout
Look for if ($*show_sidebar) and replace that entire block of code with this:
if ($*show_sidebar)
{
"""
""";
print_sidebar_box( $extra1_title, $extra1_content );
print_sidebar_box( $extra2_title, $extra2_content );
"""
( ... )
Reply
Reply
else {
# normal
page_layout($this);
# end normal
}
If I understand what I'm reading correctly, everything else is concerned with setting up the searching, etc, and is non-stylespecific.
(The entire bottom part, on the other hand, has to do with stuff you need to do on the other site XD)
I might try it when I get back ( if no one beats me to it :D) but I have to go sleep soon, and I won't be online for the next 16 hours at least XD
Reply
Reply
change the $sidebar_font_family to css_font_family($*sidebar_font, $*sidebar_font_fallback);;
change the $sidebar_prop to float:left. before, that will either cause an error or the css will have no effect. Instead, if you're grabbing it from the layer source:
Put this above the """"""; block:
var string sidebar_font_family = css_font_family($*sidebar_font, $*sidebar_font_fallback);
In #othersidebar:
Keep the $sidebar_font_family in the css.
-- these last two are general reminders
Change float:left/right; (wherever your original sidebar is) to float:left/right; (where you want your other side bar to be).
Also, don't forget to add #maincontent {margin-left/margin-right } depending on where your new sidebar is (If it's going to be on the left, use margin-left; if on the right, margin-right). :)
Reply
Leave a comment