Re: Re: Re: Problem mit Id= bzw. Id== - baseportal Forum - Web-Anwendungen einfach, schnell, leistungsfähig!
baseportal
English - Deutsch "Es gibt keine dummen Fragen - jeder hat einmal angefangen"

 baseportal-ForumDie aktuellsten 10, 30, 50, 100 Einträge anzeigen.  

 
 Ausgewählter Eintrag: Zur Liste 
    Beitrag von Claus (4645 Beiträge) am Mittwoch, 21.November.2007, 11:58. WWW: hummelexpress.de
    Re: Re: Re: Problem mit Id= bzw. Id==

      Oh mann, unvollständig kopiert, also so:

      <perl>
      if ($zwid eq "")
      {
      $zwid1=="*";
      $tx1=="*";
      }else
      {
      $zwid1=$zwid;
      $tx1=="*";
      }
      </perl>
      <table width="800" valign="top" class=Text>
      <tr><td colspan=3 height=100 valign=top bgcolor=#ccffff></td></tr>
      <tr>
      

      <td valign=top width=200 class=Text bgcolor=ccffff>

      <loop db=test Id==$tx1 code=perl>
      out<<EOF;
      <a href='http://baseportal.de/cgi-bin/baseportal.pl?htx==/tini1972/daten/infos&zwid=$_id'><li>$Navigation</li></a>
      EOF
      </loop>
      </td>
      <td width=400 valign=top class=Text>
      

      <loop db=test Id==$zwid1 code=perl>


      out<<EOF;
      

      $Titel
      <br><br>
      $Text<br><br>
      EOF
      

      if($Linkname ne "")
      {
      out "<a href='$Link' target='_blank'>$Linkname</a>";
      }
      out<<EOF;
      </td>
      <td width=200 valign=top bgcolor=#ccccff>
      

      FOTOS
      EOF
      

      </loop>
      </td>
      </tr></table>
      

      Sollte klappen, hier mal der Testlink:

      http://baseportal.de/cgi-bin/baseportal.pl?htx=/Juergens/testloop/test

      hth

      Gruß

      Claus


    Antworten

 Alle Einträge zum Thema: Zur Liste 
    Beitrag von Tini (0 Beiträge) am Mittwoch, 21.November.2007, 10:32.
    Problem mit Id= bzw. Id==

      Guten Morgen,

      ich versuche auf einer Seite immer einen Eintrag auszugeben, aber auch gleich
      alle Links zu den anderen Einträgen.

      Verlinke ich mit Id= wird mir die ganze Navigation angezeigt, aber alle Einträge.
      http://baseportal.de/cgi-bin/baseportal.pl?htx=/tini1972/daten/infos&Id=2

      Verlinke ich mit Id== wird mir nur der gewünschte Eintrag angezeigt, aber
      in der Navigation auch nur der 1 Punkt.
      http://baseportal.de/cgi-bin/baseportal.pl?htx=/tini1972/daten/infos&Id=2

      Ich dachte ich bekomme das mit 1 Template hin :-(

      Danke
      Tini


      Hier mal der Quelltext:

      <table width="800" valign="top" class=Text>
      <tr><td colspan=3 height=100 valign=top bgcolor=#ccffff></td></tr>
      

      <tr>
      <td valign=top width=200 class=Text bgcolor=ccffff>
      <loop db=infos>
      <a href='http://baseportal.de/cgi-bin/baseportal.pl?htx=/tini1972/daten/infos&Id==$_id'><li>$Navigation</li></a>
      </loop>
      </td>
      

      <td width=400 valign=top class=Text>
      <loop db=infos code=perl>
      

      out<<EOF;
      $Titel
      <br><br>
      $Text<br><br>
      

      EOF
      if($Link)
      {
      out "<a href='$Link' target='_blank'>$Linkname</a>";
      }
      out<<EOF;
      </td>
      <td width=200 valign=top bgcolor=#ccccff>
      
      FOTOS
      EOF
      </loop>
      </td>
      </tr></table>
      

     Antworten

    Beitrag von Claus (4645 Beiträge) am Mittwoch, 21.November.2007, 10:59. WWW: jobmarder.de
    Re: Problem mit Id= bzw. Id==

      Sind immer die kleinen Dinge des Lebens;-)

      Sollte so funktionieren:

      <td valign=top width=200 class=Text bgcolor=ccffff><loop db=infos><a href='http://baseportal.de/cgi-bin/baseportal.pl?htx=/tini1972/daten/infos&Id==$_loop'><li>$Navigation</li></a></loop></td>
      

      hth

      Gruß

      Claus

     Antworten

    Beitrag von Tini (0 Beiträge) am Mittwoch, 21.November.2007, 11:14.
    Re: Re: Problem mit Id= bzw. Id==

      Hallo Claus,
      aber auch die kleinen Dinge sind nicht gleich zu beheben.
      Funktioniert leider auch so nicht :-(
      Tini

     Antworten

    Beitrag von Claus (4645 Beiträge) am Mittwoch, 21.November.2007, 11:55. WWW: hummelexpress.de
    Re: Re: Re: Problem mit Id= bzw. Id==

      Sorry, hatte da wa übersehen...;-)

      Code mal eben geändert:


      <perl>
      if ($zwid eq "")
      {
      $zwid1=="*";
      $tx1=="*";
      }else
      {
      $zwid1=$zwid;
      $tx1=="*";
      }
      </perl>
      <table width="800" valign="top" class=Text>
      <tr><td colspan=3 height=100 valign=top bgcolor=#ccffff></td></tr>
      <tr>
      

      <td valign=top width=200 class=Text bgcolor=ccffff>

      <loop db=test Id==$tx1 code=perl>
      out<<EOF;
      <a href='http://baseportal.de/cgi-bin/baseportal.pl?htx=/tini1972/daten/infos&$_id'><li>$Navigation</li></a>
      EOF
      </loop>
      </td>
      <td width=400 valign=top class=Text>
      

      <loop db=test Id==$zwid1 code=perl>


      out<<EOF;
      

      $Titel
      <br><br>
      $Text<br><br>
      EOF
      

      if($Linkname ne "")
      {
      out "<a href='$Link' target='_blank'>$Linkname</a>";
      }
      out<<EOF;
      </td>
      <td width=200 valign=top bgcolor=#ccccff>
      

      FOTOS
      EOF
      

      </loop>
      </td>
      </tr></table>
      


      Sollte so funktionieren...

      Gruß

      Claus

     Antworten

    Beitrag von Claus (4645 Beiträge) am Mittwoch, 21.November.2007, 11:58. WWW: hummelexpress.de
    Re: Re: Re: Problem mit Id= bzw. Id==

      Oh mann, unvollständig kopiert, also so:

      <perl>
      if ($zwid eq "")
      {
      $zwid1=="*";
      $tx1=="*";
      }else
      {
      $zwid1=$zwid;
      $tx1=="*";
      }
      </perl>
      <table width="800" valign="top" class=Text>
      <tr><td colspan=3 height=100 valign=top bgcolor=#ccffff></td></tr>
      <tr>
      

      <td valign=top width=200 class=Text bgcolor=ccffff>

      <loop db=test Id==$tx1 code=perl>
      out<<EOF;
      <a href='http://baseportal.de/cgi-bin/baseportal.pl?htx==/tini1972/daten/infos&zwid=$_id'><li>$Navigation</li></a>
      EOF
      </loop>
      </td>
      <td width=400 valign=top class=Text>
      

      <loop db=test Id==$zwid1 code=perl>


      out<<EOF;
      

      $Titel
      <br><br>
      $Text<br><br>
      EOF
      

      if($Linkname ne "")
      {
      out "<a href='$Link' target='_blank'>$Linkname</a>";
      }
      out<<EOF;
      </td>
      <td width=200 valign=top bgcolor=#ccccff>
      

      FOTOS
      EOF
      

      </loop>
      </td>
      </tr></table>
      

      Sollte klappen, hier mal der Testlink:

      http://baseportal.de/cgi-bin/baseportal.pl?htx=/Juergens/testloop/test

      hth

      Gruß

      Claus

     Antworten

    Beitrag von Tini (0 Beiträge) am Mittwoch, 21.November.2007, 12:06.
    Re: Re: Re: Re: Problem mit Id= bzw. Id==

      :-) genau das war`s!
      Vielen Dank, hätte ich vermutlich
      nicht alleine geschafft!
      Tini

     Antworten


     
 Liste der Einträge von 11700 bis 11850:Einklappen Zur Eingabe 
Neueste Einträge << 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | Neuere Einträge < Zur Eingabe  > Ältere Einträge | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 >> Älteste Einträge


Zurück zur Homepage

© baseportal.de. Alle Rechte vorbehalten. Nutzungsbedingungen



powered in 0.10s by baseportal.de
Erstellen Sie Ihre eigene Web-Datenbank - kostenlos!