Author Topic: Strange Problem: On Sobi2 Search, the results don't load in either of my J! tmpl  (Read 1558 times)

0 Members and 1 Guest are viewing this topic.

Offline myopicseer

I have one menu link on my site that points to the SOBI2 front page.  I have set-up a 2nd J! template for my site (index.php), which is only linked to the SOBI2 menu item's SOBI2 front page.  I have done this successfully on other J! sites.

From the J! home page, I click SOBI2 Home, and it loads from the J! default tmpl to the 2nd J! tmpl (good).  I click, "SEARCH" and the search module loads in template #2 (still good).  I filter for a search, and click the Search button.... (NOT good)

The entire page goes white, and only the search results display.  They do not load in either of my J! templates, just align upper left corner.

The address I get is:  MySite.com/demo/index2.php?sobi2Search=Search+...+&search=Search&searchphrase=any&field_city=Dublin&field_postcode=all&field_federal_state=all&SobiCatSelected_0=0&option=com_sobi2&Itemid=41&no_html=1&sobi2Task=axSearch&sobiCid=0&SobiSearchPage=0

What is the "index2.php"?

The page source looks like this:
<!--Start of Code-->

<table>
   <tr>
      <th class="componentheading">Search Results</th>
   </tr>
   <tr>
      <td>
         Found 5         results while searching for         <span id="sobi2SearchResultsSerchingString">Any entry</span>
      </td>
   </tr>
   </table>
      
    <table class='sobi2Listing'>
       <tr><!-- here starts the template -->
 
<td style='width: 100%; background-image: url(http://localhost/specialmuse/htdocs/demo/components/com_sobi2/images/backgrounds/grey.gif);border-style: solid; border-color: #8b9caf'>
            
    <p class='sobi2ItemTitle'><a href="http://localhost/specialmuse/htdocs/demo/index.php?option=com_sobi2&amp;sobi2Task=sobi2Details&amp;sobi2Id=2&amp;Itemid=41"  title="Autism Provider Services, Ltd (Demo Only)">Autism Provider Services, Ltd (Demo Only)</a></p>   <br/><span class="sobi2Listing_field_city">Dublin</span><br/><span class="sobi2Listing_field_phone"><span c


<!-- Don't remove these lines! -->



(*****MORE TABLE CONTENT....ETC  ETC ETC....My custom J! templates are table free********)
      
    </table>         <div id="sobi2PageNav">
                     <span class="pagenav">&lt;&lt;&nbsp;Start</span>
            <span class="pagenav">&lt;&nbsp;Prev</span>
                                                      <span class="pagenav">1</span>
                                                      <span class="pagenav">Next&nbsp;&gt;</span>
               <span class="pagenav">End&nbsp;&gt;&gt;</span>
                     </div>

         
<!--Code Ends Here-->

NO BODY, HTML, HEAD.....Tags.  Looks just to be the vcard tmpl. (?)  Why? 


Q:  HOW DO I EMPLOY A SECOND J! TEMPLATE AND LINK ALL SOBI2 PAGES TO IT?

BTW:  Everything does work fine when using only the one J! template, but I like the layout for my SOBI2 pages.

Country: United States United States |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Offline nicol

I have the exact same problem.

Has anyone managed to fix this?

Can't find other instances on the forums yet.
Country: United Kingdom United Kingdom |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile

Do you want continued ongoing development, new features and active support?
Please write a review or just vote for SOBI on JED.

Offline neo

  • Sobi Team
  • Development
  • Sobi Hero
  • *
  • Posts: 8088
  • Reviews:

    What is it?

    • Sobi Team Member
Support SobiPro - Submit a review on JED
If you want ongoing development for SobiPro and new applications being developed we need your review for SobiPro in the Joomla Extensions Directory.
Thank you very much :w00t:
Country: Germany Germany |  OS: Unknown Unknown Browser: Unknown Unknown | View Profile 

Tags: