1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Post New Thread 'Top' Button:

Discussion in 'Styling and Customization Questions' started by CritiKiL, Apr 19, 2012.

  1. CritiKiL

    CritiKiL Active Member

    Ok, I have removed just the initial (index page only) breadcrumbs from the forum, but unfortunately that also removed the 'Top' Post New Thread button as well. How can I replace 'just the button' and leave the breadcrumb as removed? Thanks in advance!
     
  2. ragtek

    ragtek Guest

    You could try to remove

    Code:
    <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
    from the PAGE_CONTAINER template
     
  3. CritiKiL

    CritiKiL Active Member

    Just tried it, but it did nothing...
     
  4. ragtek

    ragtek Guest

    hm, have you a cutom template?
    it's working for me
     

    Attached Files:

    • wo.png
      wo.png
      File size:
      15.9 KB
      Views:
      5
  5. CritiKiL

    CritiKiL Active Member

    Just the same thing as you have already seen. I do not think that it's custom other than the mods I have been including. Let me try again but I'm sure I removed it and no button showed up...
     
  6. CritiKiL

    CritiKiL Active Member

    Yea, removed this:
    Code:
     <xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
                          
    ...and there's no buttons showing.
     
  7. CritiKiL

    CritiKiL Active Member

    UPDATE! Ok, I figured out why this did not work ragtek. It works now but the reason it did not work is because I have a code in PAGE_CONTAINER after:
    Code:
    <xen:hook name="page_container_breadcrumb_top">
    and after this:
    Code:
    <xen:hook name="page_container_breadcrumb_bottom">
    I have this (total breadcrumb removal code):

    Code:
    <xen:if is="!in_array({$quickNavSelected}, array('node-78', 'node-71', 'node-69', 'node-42', 'node-57', 'node-49', 'node-50', 'node-51', 'node-13', 'node-113', 'node-40', 'node-27', 'node-29', 'node-45')) AND !in_array({$controllerName}, array('XenForo_ControllerPublic_Help', 'XenForo_ControllerPublic_Login', 'XenForo_ControllerPublic_Member', 'XenStaff_ControllerPublic_Index', 'EWRmedio_ControllerPublic_Media', 'XenForo_ControllerPublic_FindNew', 'HDJuegos_XbxLiveLeaderBoards_ControllerPublic_Index', 'EWRmedio_ControllerPublic_Media_Category', 'EWRmedio_ControllerPublic_Media_Media', 'XenForo_ControllerPublic_Account', 'XenForo_ControllerPublic_Search', 'XenForo_ControllerPublic_Page', 'XenForo_ControllerPublic_Conversation', 'TilkiBey_ReadPC_ControllerPublic_ReadPC'))">
    
    In this code, I had included this ('XenForo_ControllerPublic_Forum',) but after I removed it then your solution for the top button to show, works! Thanks man ;-)
     

Share This Page