Author Topic: How do I view the songs in the form of tables?  (Read 9902 times)

0 Members and 1 Guest are viewing this topic.

Offline peyv

  • Pre-Newbie
  • Posts: 9
    • View Profile
How do I view the songs in the form of tables?
« on: August 10, 2010, 01:49:12 PM »
Hallo ,
Wie kann ich die Songs in Form von Tabellen und nicht in Form von Thumbnails Anzeigen?

ich meine wenn man Category anklickt das die lieder in tabelen angezeigt werden und nicht Thumbnails
Z.B
song1.mp3                beschreibung                  
und so weiter



 :roll:
Danke

Rembrandt

  • Guest
Re: How do I view the songs in the form of tables?
« Reply #1 on: August 10, 2010, 05:03:16 PM »
Hallo ,
Wie kann ich die Songs in Form von Tabellen und nicht in Form von Thumbnails Anzeigen?....

1.) in ACP einstellungen/Bild einstellungen:
Wieviele Zellen soll die Tabelle der Bilder haben: 1
Wie breit soll die Tabelle der Bilder sein: 100%

2.) suche in der includes/functions.php:

 
if ($show_link) {
    if (
$open_window) {
      
$thumb "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode ""))."\" onclick=\"opendetailwindow()\" target=\"detailwindow\">".$thumb."</a>";
    }
    else {
      
$thumb "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode ""))."\">".$thumb."</a>";
    }
  }

und ersetze es mit:

 
if ($show_link) {
    if (
$open_window) {
      
$thumb "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode ""))."\" onclick=\"opendetailwindow()\" target=\"detailwindow\">".format_text($image_name2)."</a>";
    }
    else {
      
$thumb "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$image_id.((!empty($mode)) ? "&amp;mode=".$mode ""))."\">".format_text($image_name2)."</a>";
    }
  }


3.) suche in der categories.php:
$thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";
und ersetze es mit:

$thumbnails 
.= "<td valign=\"top\">\n";


3a.) suche in der search.php:
$thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";
und ersetze es mit:

$thumbnails 
.= "<td valign=\"top\">\n";


3b.) suche in der lightbox.php:
$thumbnails .= "<td width=\"".$imgtable_width."\" valign=\"top\">\n";
und ersetze es mit:

$thumbnails 
.= "<td valign=\"top\">\n";



4.) ersetze den inhalt deiner   templates/ thumbnail_bit.html:
Code: [Select]
<b>{thumbnail}</b>{if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new}
</td><td width="70%">{image_description}
<br />

mfg Andi
« Last Edit: August 10, 2010, 05:20:48 PM by Rembrandt »

Offline peyv

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How do I view the songs in the form of tables?
« Reply #2 on: August 10, 2010, 06:07:28 PM »
 :D Danke  Rembrandt,
Sieht gut aus , eine frage noch kann ich die tabele bearbeiten ?  

Rembrandt

  • Guest
Re: How do I view the songs in the form of tables?
« Reply #3 on: August 10, 2010, 06:22:20 PM »
înwiefern, was wie wo bearbeiten?

Offline peyv

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How do I view the songs in the form of tables?
« Reply #4 on: August 11, 2010, 02:31:54 PM »

înwiefern, was wie wo bearbeiten?

Hallo,
Ja die tabelle ist zu klein , schrift ist auch klein ,,

http://peyv.net/categories.php?cat_id=3

Rembrandt

  • Guest
Re: How do I view the songs in the form of tables?
« Reply #5 on: August 11, 2010, 02:46:52 PM »
ersetze aus dem code:
Code: [Select]
<td valign=\"top\">\n";mit:
Code: [Select]
<td class=\"mp3\" valign= \"top\">\n";
in deiner style.css kannst du jetzt mittels
Code: [Select]
.mp3{
background-color: #green;
  color: #red;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold;
}
die schrift und farbe ändern.

deine vorgabe war "name" und "beschreibung"  in der tabelle.
die tabelle ist auf 30% zu 70% eingestellt. ändern kannst du das auf was du möchtest.

Code: [Select]
<b>{thumbnail}</b>{if image_is_new}<sup class="new">{lang_new}</sup>{endif image_is_new}
</td><td class="mp3" width="70%">{image_description}
<br />
und wenn dir die tabelle generell zu schmall ist liegt das wohl an deinen template den da ist die breite auf 450px begrenzt, stell das auf 100% dann past das.
« Last Edit: August 11, 2010, 03:56:07 PM by Rembrandt »

Offline peyv

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How do I view the songs in the form of tables?
« Reply #6 on: August 11, 2010, 05:14:15 PM »
Danke :)

und sorry das ich dich immer wieder störe

MFG
« Last Edit: August 11, 2010, 05:29:15 PM by peyv »

Rembrandt

  • Guest
Re: How do I view the songs in the form of tables?
« Reply #7 on: August 11, 2010, 05:42:38 PM »
du störst doch nicht, mir würde sonst eh langweilig werden.  :D

sehe gerade auf deine seite, die gesamt tabellenbreite könntest du wie gesagt auch nocht ändern.

Offline peyv

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How do I view the songs in the form of tables?
« Reply #8 on: August 12, 2010, 01:35:07 AM »
Danke das freut mich,

ehem ehrlich gesagt ich bin neu und kenne mich nicht gut mit diese ganze programmierung sprache ,
was ich noch machen will das text ist ja arabisch und normaleweise sollte von recht nach links sein , hab versucht mit CSS aber nich geklapt :S
und noch was Bitet  wie ändere ich die gesamte tabellenbreite!

MFG

Rembrandt

  • Guest
Re: How do I view the songs in the form of tables?
« Reply #9 on: August 12, 2010, 05:10:58 AM »

was ich noch machen will das text ist ja arabisch und normaleweise sollte von recht nach links sein , hab versucht mit CSS aber nich geklapt :S
das kannst du in der lang/main.php ändern, suche nach:
Code: [Select]
$lang['direction'] = "ltr";und ändere es auf:
Code: [Select]
$lang['direction'] = "rtl";
wenn du nur die tabelle mit der class=mp3 ändern möchtest, kannst du versuchen in der style.css unter .mp3 das hinzu zufügen:
Code: [Select]
direction: rtl;
Quote
und noch was Bitet  wie ändere ich die gesamte tabellenbreite!

suche mal in deiner categories.html nach "450" , schreibe dort 100% hinein

mfg Andi
« Last Edit: August 12, 2010, 05:29:45 AM by Rembrandt »

Offline peyv

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: How do I view the songs in the form of tables?
« Reply #10 on: August 13, 2010, 12:13:04 AM »
WOW Rembrandt  Super :) Danke
Alles OK
Danke nochmals :)
« Last Edit: August 13, 2010, 12:54:32 PM by peyv »