1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Digital Point Social Bar below breadcrumb

Discussion in 'Products & Tools' started by priwac, Jun 15, 2014.

  1. #1
    Hi,

    I'd like to move the Digital Point Social Bar below Xenforo breadcrumb. Can you give me instructions please?

    Thanks.
     
    priwac, Jun 15, 2014 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    There isn't an option to do it if that's what you mean? It would require you to modify the template modification (or create your own) that injects it into the template.
     
    digitalpoint, Jun 15, 2014 IP
  3. priwac

    priwac Member

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    This is what I'd like to to do. I guess the PAGE_CONTAINER is what it must to be modified. Can you tell me what changes I have to do please?
     
    priwac, Jun 15, 2014 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    There isn't a setting for it. You would simply need to go in and rearrange things in your PAGE_CONTAINER template (for example move the breadcrumb portion of it higher up in the template).
     
    digitalpoint, Jun 15, 2014 IP
  5. priwac

    priwac Member

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    "page_container_breadcrumb_top" is already at the highest place in the "<!-- main content area -->" section, so this solution does not work. Anything else that may work?
     
    priwac, Jun 15, 2014 IP
  6. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #6
    Move it above that comment?
     
    digitalpoint, Jun 15, 2014 IP
  7. priwac

    priwac Member

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #7
    OK, here is another way that worked for me...
    Open "addon-dpSocialBar.xml"
    Change
          <find><![CDATA[<!-- main content area -->]]></find>
          <replace><![CDATA[<!-- main content area -->
    <xen:callback class="DigitalPointSocialBar_Callback_SocialBar" method="renderSocialBar" />]]></replace>
    PHP:
    With
          <find><![CDATA[<xen:include template="ad_below_top_breadcrumb" />]]></find>
          <replace><![CDATA[<xen:include template="ad_below_top_breadcrumb" />
    <xen:callback class="DigitalPointSocialBar_Callback_SocialBar" method="renderSocialBar" />]]></replace>
    PHP:
    Reinstall add on.
    Done.

    This is not the best way to go because you have to modify the addon-dpSocialBar xml before every update, but at least it worked without modifications in the PAGE_CONTAINER template.
     
    priwac, Jun 16, 2014 IP