norfolkandway
Bronze Sponsor
Jr. Member
Thanx from users: 0
Offline
Posts: 29
OS:  Windows XP Browser:  Internet Explorer 7.0
|
 |
« 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
Posts: 4220
OS:  Linux (Ubuntu) Browser:  Firefox 2.0.0.12
|
 |
« Reply #11 on: 13. March 2008, 08:03:03 » |
|
Upps sorry. I have forget something Try this <?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
|
|
|
|
norfolkandway
Bronze Sponsor
Jr. Member
Thanx from users: 0
Offline
Posts: 29
OS:  Windows XP Browser:  Internet Explorer 7.0
|
 |
« 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
|
 |
« 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
Posts: 29
OS:  Windows XP Browser:  Internet Explorer 7.0
|
 |
« 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
|
 |
« 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
Posts: 29
OS:  Windows XP Browser:  Internet Explorer 7.0
|
 |
« 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
|
 |
« 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
Posts: 29
OS:  Windows XP Browser:  Internet Explorer 7.0
|
 |
« 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
Posts: 29
OS:  Windows XP Browser:  Internet Explorer 7.0
|
 |
« Reply #19 on: 27. March 2008, 09:20:05 » |
|
Hi Any news please?
|
|
|
|
|
Logged
|
|
|
|
|