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

New Google's Sitelinks Search Box Addon

Discussion in 'Resource and Add-on Requests' started by Daniel-SP, Sep 25, 2014.

  1. Daniel-SP

    Daniel-SP Active Member

    Last edited: Sep 25, 2014
    bcercan and intradox like this.
  2. AndyB

    AndyB Well-Known Member

    Here's an image which shows this new feature better:

  3. DaveM

    DaveM Well-Known Member

    I had this working using [bd] Widget Framework add on and I was not that impressed with how it worked
  4. GliX

    GliX Active Member

    Need this as standard.
    Daniel-SP likes this.
  5. RoldanLT

    RoldanLT Well-Known Member

    I have my forum partially working on this :)
  6. Daniel-SP

    Daniel-SP Active Member

    Looks nice ! Btw, how did you turned the sections display side by side when you search your forum name? :p
  7. RoldanLT

    RoldanLT Well-Known Member

    Google arrange it for me :D
  8. RoldanLT

    RoldanLT Well-Known Member

    For now, if any want's to implement it.
    Add this code on PAGE_CONTAINER template below footer area.
    <xen:if is="{$contentTemplate} == 'forum_list'">
    <script type="application/ld+json">
      "@context": "http://schema.org",
      "@type": "WebSite",
      "url": "https://www.phcorner.net/",
      "potentialAction": {
        "@type": "SearchAction",
        "target": "https://www.phcorner.net/search/search?keywords={search_keywords}",
        "query-input": "required name=search_keywords"
    Just replace with your own domain.
    I implement it already almost a week now.
  9. Glockie

    Glockie Well-Known Member

    I can't get this working... lol :p
    Does it happen automatically? Or are there other gubbins I should do?

    I've viewed the page source and that's all fine and whatnot.. Is it just something that happens when Google feels like? :)
  10. RoldanLT

    RoldanLT Well-Known Member

    Yes on latest version of XenForo ;)
  11. Glockie

    Glockie Well-Known Member

    Okay great will keep an eye on it then. Been using the latest version from day 1, but nothing.. Probably takes some time. :)
  12. popowich

    popowich Active Member

    I think I sort of found the right place. This looks interesting. Can anyone help point me in the right direction for adding a google search option into the XenForo search box? I'm constantly having to go to Google and use "site:example.com {topic}" style searches for my own site because the XenForo search can't often seem to find the pages I'm looking for. I had a Google powered search built into my old forum and I'm missing it. Thanks!
  13. RoldanLT

    RoldanLT Well-Known Member

  14. popowich

    popowich Active Member

    Is there a search that replaces or adds onto the default search a Google powered search that's available directly from this site and has been around for a while / checked to be OK?
  15. Etherus

    Etherus Member

    How does this work do I need to enable this somewhere? I have never seen this search box on my google search it just shows my website name.
    When I search for Xenforo.com it has a search box in google. (I use the default template currently)

Share This Page