Support Forum
WOndering if you guys can help me with something. I have modified the forumViewDesktop template in my child theme but there is some unused space on my forum after allowing the forum to expand the width of the page. Specifically column 3 I would like to shift to the right.
I've included a pic of what I am thinking.
And here is column 3 and 4 of my template:
# Column 3 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColForum3&tagClass=spColumnSection spRight&width=0&height=0px');
sp_TopicIndexReplyCount('tagClass=spRowDescription spLeft&labelClass=spPostsLabel&numberClass=', __sp('Replies:'), __sp('Reply:'));
sp_TopicIndexViewCount('tagClass=spRowDescription spLeft&labelClass=spViewsLabel&numberClass=&before= &after= ', __sp('Views:'), __sp('View:'));
if (function_exists('sp_TopicIndexTopicStatus')) sp_TopicIndexTopicStatus('tagClass=spTopicIndexStatus&iconClass=spIconNoAction', __sp('Search for other topics with this status'));
sp_InsertBreak();
# Adding in lastpost avatar
# Here --------------------------------------
sp_UserAvatar('tagClass=spLeft&size=35&context=user', $spThisTopic->last_user_id);
sp_TopicIndexLastPost('iconClass=spIcon spLeft&icon=sp_ArrowRightSmall.png&labelLink=1&nicedate=1&date=0&time=0&stackdate=0&stackuser=0&stackdate=0&itemBreak=<br /> ', __sp('Last Post'));
#sp_TopicIndexLastPost('iconClass=spIcon spLeft&icon=sp_ArrowRightSmall.png&labelLink=1&nicedate=1&date=0&time=0&stackdate=0&stackuser=0&stackdate=0&itemBreak= - ', __sp('Last Post'));
# to here -----------------------------------sp_InsertBreak();
sp_TopicIndexPostPageLinks('tagClass=spInRowPageLinks spLeft', __sp('Jump to page %PAGE% of posts'));
sp_ColumnEnd();# Column 4 of the forum row
# ----------------------------------------------------------------------
sp_ColumnStart('tagId=spColForum4&tagClass=spActionsColumnSection spLeft&height=0px');
sp_TopicIndexStatusIcons('tagClass=spStatusIcon', __sp('This topic is locked'), __sp('This topic is pinned'), __sp('This topic has unread posts'));
sp_TopicForumToolButton("hide=0", '', __sp('Open the forum toolset'));sp_InsertBreak();
sp_ColumnEnd();
sp_InsertBreak();
sp_SectionEnd('', 'topic');
endwhile; else:
sp_NoTopicsInForumMessage('tagClass=spMessage', __sp('There are no topics in this forum'));
endif;
sp_SectionEnd('', 'topiclist');
sp_SectionEnd('', 'forum');
I think you are asking how to change column widths and if so then that is accomplished in the overlay you are using - not the template (as long as we are talking Reboot here).
Look in the overlay file (under styles/overlays - you may need to copy it in from the parent of you have not already done so) and find the section - very near the bottom - starting with the comment
# COLUMN WIDTHS FOR VIEWS
You will want the forum view section. So - four columns and each of the columns has 6 values which represent differing available screen widths. The zero value is for the widest display of course.
Obviously any column width change needs to be balanced across all columns to ensure they do not overflow the 100% - although it is usually better to work to a max of 99% in reality.
Is that enough info to get you started?
YELLOW
SWORDFISH
|
good news! thanks for the update...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)