Атаман Posted August 31, 2013 Share Posted August 31, 2013 Кто делал блоки с обеих сторон? Чтоб справа были стандартные, слева свои. Спасибо Link to comment Share on other sites More sharing options...
newbie Posted August 31, 2013 Share Posted August 31, 2013 (edited) А есть в чем-то отличие? Код для правого сайдбара <div class='ipsLayout_right'> {parse block="articles_menu"} {parse block="recent_articles"} </div>Код для левого сайдбара <div class='ipsLayout_left'> {parse block="articles_menu"} {parse block="recent_articles"} </div>Плюс <div class='ipsLayout ipsLayout_withright ipsLayout_largeright'>заменить на <div class='ipsLayout ipsLayout_withright ipsLayout_largeright ipsLayout_withleft ipsLayout_largeleft'> Что добавлено, сами разберетесь :) Финальный вариант<div class='ipsLayout ipsLayout_withright ipsLayout_largeright ipsLayout_withleft ipsLayout_largeleft'> <!-- Левый блок --> <div class='ipsLayout_left'> {parse block="artmedlink"} {parse block="articles_menu"} </div> <!-- Правый блок --> <div class='ipsLayout_right'> {parse block="artmedlink"} {parse block="recent_comments"} </div> <!-- Центральный блок --> <div class='ipsLayout_content'> {parse articles} </div> </div> Edited August 31, 2013 by newbie 1 Link to comment Share on other sites More sharing options...
Атаман Posted August 31, 2013 Author Share Posted August 31, 2013 Спасибо, а я делал на оборот). И блок съесжал. было <div class='ipsLayout ipsLayout_withleft ipsLayout_largeleft'> <div class='ipsLayout_left'> {parse block="portal_recent_entries"} {parse block="recent_comments"} </div> <div class='ipsLayout_content'> {parse articles}> {parse block="active_users"} </div> </div> изменял на <div class='ipsLayout ipsLayout_withleft ipsLayout_largeleft'> <div class='ipsLayout_left'> {parse block="portal_recent_entries"} {parse block="recent_comments"} </div> <div class='ipsLayout ipsLayout_withright ipsLayout_largeright'> <div class='ipsLayout_right'> {parse block="portal_recent_entries"} {parse block="recent_comments"} </div> <div class='ipsLayout_content'> {parse articles}> {parse block="active_users"} </div> </div> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now