The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How to move subcategories list inside forum

5 posters

Go down

How to move subcategories list inside forum Empty How to move subcategories list inside forum

Post by Shaw February 26th 2014, 1:28 am

Since it's my first post I would like to say Hi  Hello 

My problem is rather simple, yet I couldn't find the proper option in the administration panel or the solution on support forum.
When I have a forum category with subcategories attached to it and I go into mentioned category, I can see the list of subcategories showing on top and topics from the main category below. I would like to change that order. Here's the picture that will explain what I mean.
How to move subcategories list inside forum Screen10


It can probably be done using proper command line, but I'm not really familiar with CSS, HTML and Java scripting I admit.

Any help would be appreciated.
avatar
Shaw
New Member

Posts : 6
Reputation : 1
Language : Polish/English

http://aegisglobal.forumotion.co.uk/

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by Pizza Boi February 26th 2014, 8:53 pm

Hi Very Happy

Well, I tried removing the template codes from one of the templates and input it in the topic template, but... even if I did modify it, some of the chunks kept on repeating and I can't remove all of them since I'll receive the message: "Not Authorized".

Anyway, moving this via CSS would be okay too, but I doubt this code I'll provide will work:

Code:
div.main-head, div.main-content {
position: float/fixed/absolute; /* Try any of the 3 */
top/bottom: 300px; /* Modify it to your liking */
}

My speculation for the above code that if ever it does work, it would be solely based on one part of the forum or if ever, will even over-lap the original topic, so you if you want to move the "Topics List" above, check your console for the ID and then declare codes for it to be moved up.

I'm sorry I can't help much.

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by Shaw February 27th 2014, 1:37 pm

Thanks for reply Pizza Boi Smile

I did try the code but nothing really changed in the way it's displayed.
Thank you though.
avatar
Shaw
New Member

Posts : 6
Reputation : 1
Language : Polish/English

http://aegisglobal.forumotion.co.uk/

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by TheCrow March 1st 2014, 1:58 am

To do that you must go:
Admin Panel >> Display >> Templates >> General >> topics_list_box

and find this part in your code:
Code:
<!-- BEGIN table_sticky -->
      </tbody>
   </table>
   </div>

   <div class="main-head">
      <!-- BEGIN multi_selection -->
      <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" /   >
      <!-- END multi_selection -->
      <h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
   </div>
   <div class="main-content">
   <table cellspacing="0" class="table">
      <thead>
         <tr>
            <th class="tcl">{L_TOPICS}</th>
            <th class="tc2">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
            <th class="tc3">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
            <th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
         </tr>
      </thead>
      <tbody class="statused">
   <!-- END table_sticky -->

and place it at the top of the template code. That should change it.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by Shaw March 1st 2014, 1:53 pm

Thanks Marios94 Smile

I tried that, moved this line of the code to very top of template and saved it, but it didn't work I'm afraid :/

Thank you for your help
avatar
Shaw
New Member

Posts : 6
Reputation : 1
Language : Polish/English

http://aegisglobal.forumotion.co.uk/

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by Kiyomizu March 1st 2014, 2:16 pm

Shaw wrote:Thanks Marios94 Smile

I tried that, moved this line of the code to very top of template and saved it, but it didn't work I'm afraid :/

Thank you for your help

Hello,

Have you good registered your template ? ( Add )

Thanks
Kiyomizu
Kiyomizu
Forumember

Male Posts : 201
Reputation : 31
Language : French and English
Location : France

http://forum.sosblog.fr/

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by Shaw March 2nd 2014, 5:03 pm

Hi.

Yea I did press the "Publish" icon as well, but like I said no changes occurred.
avatar
Shaw
New Member

Posts : 6
Reputation : 1
Language : Polish/English

http://aegisglobal.forumotion.co.uk/

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by TheCrow March 4th 2014, 11:24 pm

Could you provide all the template here to give it a check? If not and you prefer to send it via pm then i am available at any time..
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by Shaw March 5th 2014, 8:36 pm

Sure, no problem bro. Again thank you for your help.

Code:
<!-- BEGIN table_sticky -->
      </tbody>
   </table>
   </div>

   <div class="main-head">
      <!-- BEGIN multi_selection -->
      <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" /   >
      <!-- END multi_selection -->
      <h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
   </div>
   <div class="main-content">
   <table cellspacing="0" class="table">
      <thead>
         <tr>
            <th class="tcl">{L_TOPICS}</th>
            <th class="tc2">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
            <th class="tc3">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
            <th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
         </tr>
      </thead>
      <tbody class="statused">
   <!-- END table_sticky -->
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
   <!-- BEGIN multi_selection -->
      <script type="text/javascript">
      function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
         var all_checked = true;
         for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
         if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
            all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
         }
         }
         document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
      }
      function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
         for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
         if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
            document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
         }
         }
      }
      </script>
   <!-- END multi_selection -->

   <div class="main-head">
      <!-- BEGIN multi_selection -->
      <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
      <!-- END multi_selection -->
      <h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
   </div>
   <div class="main-content">
   <table cellspacing="0" class="table">
      <thead>
         <tr>
            <th class="tcl">{L_TOPICS}</th>
            <th class="tc2">{topics_list_box.row.L_REPLIES}</th>
            <th class="tc3">{topics_list_box.row.L_VIEWS}</th>
            <th class="tcr">{topics_list_box.row.L_LASTPOST}</th>
         </tr>
      </thead>
      <tbody class="statused">
<!-- END header_table -->

<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->

<!-- BEGIN topic -->
   
      <tr>
         <td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
            <span class="status">
               <img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
            </span>
            <!-- BEGIN single_selection -->
            <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /> 
            <!-- END single_selection -->
            {topics_list_box.row.ICON} 
            {topics_list_box.row.NEWEST_POST_IMG}
            {topics_list_box.row.PARTICIPATE_POST_IMG} 
            {topics_list_box.row.TOPIC_TYPE} 
            <h2 class="topic-title"><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></h2> 
            {topics_list_box.row.GOTO_OPEN} {topics_list_box.row.GOTO_PAGE_NEW} {topics_list_box.row.GOTO_CLOSE} 
            {topics_list_box.row.L_BY} {topics_list_box.row.TOPIC_AUTHOR}
            <!-- BEGIN switch_description -->
            <br />
             {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
            <!-- END switch_description -->
         </td>
         <td class="tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.REPLIES}</td>
         <td class="tc3 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.VIEWS}</td>
         <td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.LAST_POST_TIME} {topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</td>
         <!-- BEGIN multi_selection -->
         <td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
         <!-- END multi_selection -->
      </tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
   <td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->

<!-- BEGIN bottom -->
      </tbody>
   </table>
   </div>
   <div class="main-foot clearfix">
      <!-- BEGIN multi_selection -->
      <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
      <!-- END multi_selection -->
      <p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
      <p class="options">
         <a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM} <a href="#top">{L_BACK_TO_TOP}</a>
      </p>
   </div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
avatar
Shaw
New Member

Posts : 6
Reputation : 1
Language : Polish/English

http://aegisglobal.forumotion.co.uk/

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by Shaw March 12th 2014, 4:21 pm

Since we couldn't find the solution I'm asking to close the topic. Thank you.
avatar
Shaw
New Member

Posts : 6
Reputation : 1
Language : Polish/English

http://aegisglobal.forumotion.co.uk/

Back to top Go down

How to move subcategories list inside forum Empty Re: How to move subcategories list inside forum

Post by SLGray March 12th 2014, 4:28 pm

Locked as Requested


How to move subcategories list inside forum Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51489
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum