Posts [ 4 ]

Topic: partial render perplexment

i may have been staring at this screen for too long...but here's one of my many problems. my app has a main menu rendered thru a partial (leftsidebar) thats good for all pages - now the store page has additional menu items. so i created leftsidebar2, as another partial render to be in addition to the main menu. (hopefully the best way to do this) now the store rhtml page has the following:

<%= render :partial => 'layouts/leftSideBar' %>

<%= render :partial => 'layouts/leftSideBar2' %>

(...using div attributes from leftsidebar)

the menus work and look good except- the main content of the page now lowered itself to the top of the new menu created. so there is half a screen blank.