Sigsiu.NET Forum
10. May 2008, 22:27:49 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: SOBI2 Radius Distance Search Plugin available - new version
Sigsiu.NET Download Demo Home Help Search Login Register
Anzeige:

SOBI2 Featured Listings Plugin
Featured Listings
SOBI2 Radius Distance Search Plugin
Radius Distance Search
SOBI2 Geo Category Overview Module
Geo Overview Module
SOBI2 Search Module
Search Module
SOBI Donation/Spende
Pages: 1 [2]   Go Down
Print
Author Topic: Waysearch category option  (Read 637 times)
0 Members and 1 Guest are viewing this topic.
norfolkandway
Bronze Sponsor
Jr. Member
*

Thanx from users: 0
Offline Offline

Posts: 29

OS:
Windows XP
Browser:
Internet Explorer 7.0


View Profile
« Reply #10 on: 12. March 2008, 23:51:20 »

And the listing -

Example entry
}   
if($fieldsObjects['field_i_will_way_search_link']->data) { HTML_SOBI::waySearchUrl($waySearchLink); } 
Location
London
County: London
Email: EmailThis e-mail address is being protected from spam bots, you need JavaScript enabled to view it
Website
Contact Person: admin
 
Logged
Happy with SOBI2? Let us, and other Joomla users know about this. Write review or just vote for SOBI2.
neo
SOBI Development Team
Globaler Moderator
Hero Member
*****

Thanx from users: 186
Offline Offline

Posts: 4220


OS:
Linux (Ubuntu)
Browser:
Firefox 2.0.0.12


View Profile WWW
« Reply #11 on: 13. March 2008, 08:03:03 »

Upps sorry. I have forget something

Try this
Code:
<?php HTML_SOBI::renewal$config,$mySobi ); ?>
<table class="sobi2Details" <?php echo $style?> >
<tr>
<td><?php echo $ico?><h1><?php echo $mySobi->title?></h1></td>
</tr>
}

<tr>
<td><?php echo $img?></td>
</tr>
<tr>
td>
<?php if($fieldsObjects['field_i_will_way_search_link']->data) {
        
HTML_SOBI::waySearchUrl($waySearchLink);
}
?>

</td>
</tr>
<tr>
<td>
<div id="sobi2outer">

<?php HTML_SOBI::waySearchUrl$waySearchLink,$config ); ?>
<?php echo HTML_SOBI::customFieldsData$fieldsFormatted );?>
<?php echo $plugins['download']; ?>
                            <?php echo $plugins["gallery"]; ?>
<?php echo $plugins['reviews']; ?>
<?php echo $this->plugins['reviews']->showRating($mySobi->id); ?>

<br />


Logged

Please do not write me PM or email asking questions about SOBI - Use the public forums for that.
Help us developing SOBI2, become a sponsor: http://www.sigsiu.net/sponsors.html | Review or vote make me happy too : http://tinyurl.com/nugyy
http://shop.sigsiu.net/ | http://www.joomla-specialists.eu/
norfolkandway
Bronze Sponsor
Jr. Member
*

Thanx from users: 0
Offline Offline

Posts: 29

OS:
Windows XP
Browser:
Internet Explorer 7.0


View Profile
« Reply #12 on: 13. March 2008, 10:01:18 »

text now not displaying but location link shows wether 'show location' is ticked or not

Current code -

<?php HTML_SOBI::renewal( $config,$mySobi ); ?>
<table class="sobi2Details" <?php echo $style; ?> >
   <tr>
      <td><?php echo $ico; ?><h1><?php echo $mySobi->title; ?></h1></td>
         </tr>
}

   <tr>
      <td><?php echo $img; ?></td>
   </tr>
   <tr>
      <td>
<?php if($fieldsObjects['field_i_will_way_search_link']->data) {
        HTML_SOBI::waySearchUrl($waySearchLink);
}?>
</td>
   </tr>
   <tr>
      <td>
         <div id="sobi2outer">

             <?php HTML_SOBI::waySearchUrl( $waySearchLink,$config ); ?>
             <?php echo HTML_SOBI::customFieldsData( $fieldsFormatted );?>
            <?php echo $plugins['download']; ?>
                            <?php echo $plugins["gallery"]; ?>
             <?php echo $plugins['reviews']; ?>
             <?php echo $this->plugins['reviews']->showRating($mySobi->id); ?>
            
            <br />

Logged
Happy with SOBI2? Let us, and other Joomla users know about this. Write review or just vote for SOBI2.
Trinity
Globaler Moderator
Hero Member
*****

Teuflisch

Thanx from users: 275
Offline Offline

Posts: 4014


OS:
Windows XP
Browser:
Firefox 2.0.0.12


View Profile
« Reply #13 on: 13. March 2008, 10:46:16 »

Hello,

remove the red marked line:

<?php HTML_SOBI::renewal( $config,$mySobi ); ?>
<table class="sobi2Details" <?php echo $style; ?> >
   <tr>
      <td><?php echo $ico; ?><h1><?php echo $mySobi->title; ?></h1></td>
         </tr>
}

   <tr>
      <td><?php echo $img; ?></td>
   </tr>
   <tr>
      <td>
<?php if($fieldsObjects['field_i_will_way_search_link']->data) {
        HTML_SOBI::waySearchUrl($waySearchLink);
}?>
</td>
   </tr>
   <tr>
      <td>
         <div id="sobi2outer">

             <?php HTML_SOBI::waySearchUrl( $waySearchLink,$config ); ?>
             <?php echo HTML_SOBI::customFieldsData( $fieldsFormatted );?>
            <?php echo $plugins['download']; ?>
                            <?php echo $plugins["gallery"]; ?>
             <?php echo $plugins['reviews']; ?>
             <?php echo $this->plugins['reviews']->showRating($mySobi->id); ?>
           
            <br />

Trinity
Logged

Please do not write me PM or email asking questions about SOBI - Use the public forums for that.
Neo: „Gott.“ – Trinity: „Was?“ – Neo: „Ich dachte Du wärst 'n Kerl.“ – Trinity: „Denken alle Kerle!“
Neo: "Jesus." - Trinity: "What?" - Neo: "I just thought you were a guy." - Trinity: "Most guys do."
norfolkandway
Bronze Sponsor
Jr. Member
*

Thanx from users: 0
Offline Offline

Posts: 29

OS:
Windows XP
Browser:
Internet Explorer 7.0


View Profile
« Reply #14 on: 13. March 2008, 10:57:20 »

Hello Trinity, It is nice to speak with the lady of the team!

I have removed red  lined text - location link now not showing either when 'show location' is tcked or not?!

<?php HTML_SOBI::renewal( $config,$mySobi ); ?>
<table class="sobi2Details" <?php echo $style; ?> >
   <tr>
      <td><?php echo $ico; ?><h1><?php echo $mySobi->title; ?></h1></td>
         </tr>
}

   <tr>
      <td><?php echo $img; ?></td>
   </tr>
   <tr>
      <td>
<?php if($fieldsObjects['field_i_will_way_search_link']->data) {
        HTML_SOBI::waySearchUrl($waySearchLink);
}?>
</td>
   </tr>
   <tr>
      <td>
         <div id="sobi2outer">

             <?php echo HTML_SOBI::customFieldsData( $fieldsFormatted );?>
            <?php echo $plugins['download']; ?>
                            <?php echo $plugins["gallery"]; ?>
             <?php echo $plugins['reviews']; ?>
             <?php echo $this->plugins['reviews']->showRating($mySobi->id); ?>
            
            <br />
Logged
Happy with SOBI2? Let us, and other Joomla users know about this. Write review or just vote for SOBI2.
Trinity
Globaler Moderator
Hero Member
*****

Teuflisch

Thanx from users: 275
Offline Offline

Posts: 4014


OS:
Windows XP
Browser:
Firefox 2.0.0.12


View Profile
« Reply #15 on: 13. March 2008, 11:02:45 »


Have you set up a field with the name "field_i_will_way_search_link" in the fields manager?

What is the field name of 'show location'?

Trinity
Logged

Please do not write me PM or email asking questions about SOBI - Use the public forums for that.
Neo: „Gott.“ – Trinity: „Was?“ – Neo: „Ich dachte Du wärst 'n Kerl.“ – Trinity: „Denken alle Kerle!“
Neo: "Jesus." - Trinity: "What?" - Neo: "I just thought you were a guy." - Trinity: "Most guys do."
norfolkandway
Bronze Sponsor
Jr. Member
*

Thanx from users: 0
Offline Offline

Posts: 29

OS:
Windows XP
Browser:
Internet Explorer 7.0


View Profile
« Reply #16 on: 13. March 2008, 11:15:20 »

Show location filed name is currently - field___temp_name__131388
I have tried changing it to - field_i_will_way_search_link
but this till did not function.
It is now back as - field___temp_name__131388

PS
configuration>view configuration>waysearch options>Show Link to Routing Site is set to yes.
Would this have any effect?
« Last Edit: 13. March 2008, 11:20:43 by norfolkandway » Logged
Happy with SOBI2? Let us, and other Joomla users know about this. Write review or just vote for SOBI2.
Trinity
Globaler Moderator
Hero Member
*****

Teuflisch

Thanx from users: 275
Offline Offline

Posts: 4014


OS:
Windows XP
Browser:
Firefox 2.0.0.12


View Profile
« Reply #17 on: 13. March 2008, 11:23:04 »

So it has to be:

<?php if($fieldsObjects['field___temp_name__131388']->data) {
        HTML_SOBI::waySearchUrl($waySearchLink);
}?>

If you rename a field, the data for the entries have to be set again.

Trinity
Logged

Please do not write me PM or email asking questions about SOBI - Use the public forums for that.
Neo: „Gott.“ – Trinity: „Was?“ – Neo: „Ich dachte Du wärst 'n Kerl.“ – Trinity: „Denken alle Kerle!“
Neo: "Jesus." - Trinity: "What?" - Neo: "I just thought you were a guy." - Trinity: "Most guys do."
norfolkandway
Bronze Sponsor
Jr. Member
*

Thanx from users: 0
Offline Offline

Posts: 29

OS:
Windows XP
Browser:
Internet Explorer 7.0


View Profile
« Reply #18 on: 13. March 2008, 12:11:44 »

Still not work -

<?php HTML_SOBI::renewal( $config,$mySobi ); ?>
<table class="sobi2Details" <?php echo $style; ?> >
   <tr>
      <td><?php echo $ico; ?><h1><?php echo $mySobi->title; ?></h1></td>
         </tr>


   <tr>
      <td><?php echo $img; ?></td>
   </tr>
   <tr>
      <td>
<?php if($fieldsObjects['field___temp_name__583361']->data) {
        HTML_SOBI::waySearchUrl($waySearchLink);
}?>
</td>
   </tr>
   <tr>
      <td>
         <div id="sobi2outer">

             <?php echo HTML_SOBI::customFieldsData( $fieldsFormatted );?>
            <?php echo $plugins['download']; ?>
                                             <?php echo $plugins["gallery"]; ?>
             <?php echo $plugins['reviews']; ?>
             <?php echo $this->plugins['reviews']->showRating($mySobi->id); ?>
            
            <br />




Also deleted the show location custom field and created a new field with field name - field___temp_name__583361
and field label - Show My Location!
then set data entries again - two times

All that happens is that I see the text in details view
'Show My Location! yes' (if checkbox is ticked in listing template)
OR
'Show My Location! no' (if checkbox is not ticked in listing template)

Looks like code is not relating to field correctly?

Any more ideas please?
« Last Edit: 14. March 2008, 02:51:44 by norfolkandway » Logged
norfolkandway
Bronze Sponsor
Jr. Member
*

Thanx from users: 0
Offline Offline

Posts: 29

OS:
Windows XP
Browser:
Internet Explorer 7.0


View Profile
« Reply #19 on: 27. March 2008, 09:20:05 »

Hi
Any news please?
Logged
Pages: 1 [2]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Google visited last this page 08. May 2008, 06:20:40
Page created in 0.055 seconds with 32 queries.
Impressum | Imprint | AGB | Terms