Problemy z remository dla joomli 1.5.15 - Strona 3
Strona 3 z 3 PierwszyPierwszy 123
Wyniki 21 do 28 z 28

Temat: Problemy z remository dla joomli 1.5.15

  1. #21
    Bywalec
    Dołączył
    28-02-2010
    Wpisy
    149
    Punkty
    10

    Domyślny

    no dobrze to co mam zrobić żeby wszystko pokazywało się w równo czyli z lewej tekst a z prawej pole ?

  2. Pani Reklamowa
    Pani Reklamowa jest aktywna
    Avatar Panny Google

    Dołączył
    19-08-2010
    Skąd
    Internet
    Postów
    milion
    Pochwał
    setki
  3. #22
    Senior zwiastun awatar
    Dołączył
    20-09-2005
    Wpisy
    27 315
    Punkty
    1142

    Domyślny

    Dowiedzieć się, co to jest CSS. Poszukać i zmienić albo dopisać w szablonie reguły formatujące.
    Korzystaj i ciesz się!
    ===============
    Zwiastun
    Biblioteka Elektronicznej Dokumentacji Joomla!

  4. #23
    Bywalec
    Dołączył
    28-02-2010
    Wpisy
    149
    Punkty
    10

    Domyślny

    Ja chyba nie wytrzymam coś jest chyba nie tak :/
    Edytuje non-stop remository.css ale nie widzę żadnych zmian.
    Na zdjęciu widać że te teksty z lewej strony dokładają się do prawej strony na to w pliku css znalazłem wszystkie text-align: right; i zamieniłem na left zapisałem i wysłałem na serwer.

    Wyczyściłem pamięć przeglądarki ładuję stronę a tekst nadal jest umiejscowiony po prawej stronie

    Pomuszcie bo ja pojęcia nie mam jak to skonfigurować.
    Bardzo ładnie proszę !

  5. #24
    Bywalec
    Dołączył
    28-02-2010
    Wpisy
    149
    Punkty
    10

    Domyślny

    po tak szybkiej odpowiedzi sam sobie dałem radę
    Tylko powiedzcie jeszcze w jakim pliku mogę zwiększyć rozmiar ikonek katalogów z rozmiaru 32x32 na 60x60 jak wstawię duże ikonki na serwer są one automatycznie zmniejszane do 32x32px.

    Przeszukałem wszystkie pliki ale nic nie mam :/

  6. #25
    Przeglądacz
    Dołączył
    22-02-2010
    Wpisy
    80
    Punkty
    10

    Domyślny

    Poszukuje tego samego co plol123 tylko że ja muszę znacznie je zwiększyć. Przeszukałem chyba wszystkie pliki tekstowe i nic nie znalazłem ! Czy to wogóle da się zrobić ? Zrobiłem większe ikonki i nadpisałem je na inne i wrzuciłem na serwer i nic to nie dało ikonki nadal są małe. W którym pliku możemy to zrobić ? Szukałem dziś cały dzień i nic nie mam!

  7. #26
    Bywalec
    Dołączył
    28-02-2010
    Wpisy
    149
    Punkty
    10

    Domyślny

    widzę że kolega odświeżył temat więc także proszę żeby ktoś pomógł. Czy w ogóle możliwa jest zmiana wielkości tych ikonek prz kategoriach ?

  8. #27
    Bywalec KejeN awatar
    Dołączył
    05-05-2009
    Skąd
    lubelskie - chwilo trwaj:)
    Wpisy
    484
    Punkty
    75

    Domyślny

    Ja za to widzę, że koledzy słabo szukali
    .../components/com_remository/p-classes/remositoryRepository.php
    Linijka 350:
    Kod PHP:
        function RemositoryImageURL($imageName$width=32$height=32$title=''
    ale UWAGA zmiana parametrów tutaj skutkuje zmianą rozmiarów wszystkich ikonek w komponencie( bo wszystkie mają rozmiar 32x32)

    Pozdrawiam serdecznie a do młodzieży "Elo ziomy!" , KejeN
    Wiem, że to mało prawdopodobne abym mógł w czymś pomóc ale jeśli tak się zdarzy uśmiechnij się do mnie (+)

    Jeśli czegoś nie wiesz poszukaj na: wiki.joomla.pl

  9. #28
    Przeglądacz
    Dołączył
    22-02-2010
    Wpisy
    80
    Punkty
    10

    Domyślny

    odświeżę trochę temacik bo mam nowe pytanko.
    co zrobić żeby w oknie gdzie mamy jeden plik przycisk pobierz nie był w jednej linii z tytułem pliku?
    Przegrzebałem cały plik remositoryFileInfo.html znalazłem nawet odpowiedni fragment kodu ale nie umiem go zmienić proszę o pomoc.

    oto cały plik
    Kod PHP:
    <?php

    /**************************************************************
    * This file is part of Remository
    * Copyright (c) 2006 Martin Brampton
    * Issued as open source under GNU/GPL
    * For support and other information, visit http://remository.com
    * To contact Martin Brampton, write to martin@remository.com
    *
    * Remository started life as the psx-dude script by psx-dude@psx-dude.net
    * It was enhanced by Matt Smith up to version 2.10
    * Since then development has been primarily by Martin Brampton,
    * with contributions from other people gratefully accepted
    */

    class remositoryFileInfoHTML extends remositoryUserHTML {

        function 
    showComment (&$legend, &$comment) {
            echo 
    "\n\t\t\t<dt>$legend</dt>";
            
    $legend '';
            if (
    $this->tabcnt == 0$class 'remositorylight';
            else 
    $class='remositorydark';
            echo 
    "\n\t\t\t<dd class='$class'><b><em>$comment->name</em></b><br/> $comment->comment</dd>";
            
    $this->tabcnt = ($this->tabcnt+1) % 2;
        }

        function 
    commentBox ($file) {
            
    $action $this->repository->RemositoryBasicFunctionURL('fileinfo',$file->id);
               echo 
    "<form method='post' action='$action'>";
            echo 
    "\n\t\t\t<dt>"._DOWN_YOUR_COMM;
            echo 
    '<p><em>'._DOWN_MAX_COMM.'</em></p>';
            echo 
    '</dt><dd>';
            echo 
    "<textarea class='inputbox' name='comment' rows='2' cols='35'></textarea>";
            echo 
    "\n\t\t\t<input class='button' type='submit' name='submit_comm' value='"._DOWN_LEAVE_COMM."' />";
            echo 
    "\n\t\t\t<input type='hidden' name='id' value='$file->id' />";
            echo 
    "\n\t\t\t</form></dd>";
        }

        function 
    URLDisplay ($text$value) {
            echo 
    "\n\t\t\t<dt>$text</dt><a href='$value'>"._DOWN_CLICK_TO_VISIT.'</a>';
        }

        function 
    videoPlayer ($link$title) {
            
    ?>
            <!-- id=MediaPlayer1 -->
            <object id=mediaplayer1 type=application/x-oleobject
                      height="24" width="320"
                      classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
            <param name="url" value="<?php echo $link ?>">
            <param name="animationatstart" value="true">
            <param name="transparentatstart" value="true">
            <param name="autostart" value="false">
            <param name="showcontrols" value="true">

            <embed type="application/x-mplayer2" name="mediaplayer"  autostart="false" loop="false"  width="384" height="364"
                   src="<?php echo $link ?>" showcontrols="true">
            </embed>
            </object>
            <?php
        
    }

        function 
    audioPlayer ($link$title) {
            
    ?>
            <!-- id=FlashMediaPlayer1 -->
            <br />When the controls apppear, please click on the play icon<br /><br />
            <object type="application/x-shockwave-flash" width="400" height="15"
            data="http://musicplayer.sourceforge.net/xspf_player_slim.swf?song_url=<?php echo $link ?>&song_title=<?php echo urlencode($title?>">
            <param name="movie"
            value="http://musicplayer.sourceforge.net/xspf_player_slim.swf?song_url=<?php echo $link ?>&song_title=<?php echo urlencode($title?>" />
            </object>
            <?php
        
    }

        
    // This is the function that creates the output for a file details page
        
    function fileinfoHTML( &$file$autodown=) {
            
    $is_video in_array($file->filetype, array());
            
    $is_audio in_array($file->filetype, array());
            
    $file->setMetaData();
            
    $thumbnails = new remositoryThumbnails($file);
            
    $submitter = new remositoryUser($file->submittedby,null);
            
    //$this->pathwayHTML($file->getContainer());
            
    $file->showCMSPathway();
            
    $forbidden $file->downloadForbidden($this->remUser$message);
            if (
    $forbidden AND !$this->repository->See_Files_no_download) {
                echo 
    $message;
                return;
            }
            
    $downloadstuff $file->filetitle.' ';
            if (
    $file->updatePermitted($this->remUser)) {
                
    $usersubmitstuff $this->repository->RemositoryFunctionURL('userupdate',$file->id);
                
    $usersubmitstuff .= $this->repository->RemositoryImageURL('edit.gif',32,32);
                
    $usersubmitstuff .= _DOWN_UPDATE_SUB.'</a>';
            }
            else 
    $usersubmitstuff '';
            
    $thumbupdatestuff '';
            if (
    $this->repository->Max_Thumbnails) {
                if (
    $file->updatePermitted($this->remUser)) {
                    
    $thumbupdatestuff $this->repository->RemositoryFunctionURL('thumbupdate',$file->id);
                    
    $thumbupdatestuff .= $this->repository->RemositoryImageURL('edit.gif',32,32);
                    
    $thumbupdatestuff .= _DOWN_UPDATE_THUMBNAILS.'</a>';
                }
            }
            
    $thumbimages $thumbnails->displayAllThumbnails();

            echo 
    "\n\t<div id='remositoryfileinfo'>";
            
    $syndstyle = (remositoryRepository::GetParam($_GET'syndstyle''') == 'yes');
            if (!
    $forbidden) {
                echo 
    "\n";
                
    ?>
            <script type="text/javascript">
            /* <![CDATA[ */
            function download(){window.location = <?php echo $file->downloadURL($autodown); ?>}
            /* ]]> */
            </script>
                <?php
                
    if ($autodown == AND !$syndstyle AND !$is_video AND !$is_audio) echo '<script type="text/javascript"> window.onload=download; </script>';
                if (
    $autodown AND $syndstyle) {
                    echo 
    '<p><strong>In Firefox you can drag and drop the "Download" link to the "Install HTTP URL" box above, in IE you have to right click on "Download" and use "Copy shortcut" and paste into the box above, then click the "Upload URL & Install" button</strong></p>';
                }
                
    $downloadstuff .= $file->downloadLink($autodown);
                
    $downloadstuff .= $this->repository->RemositoryImageURL('download_trans.gif');
                
    $downloadstuff .= '<strong> '._DOWNLOAD.'</strong></a>';
            }
            else 
    $downloadstuff .= $message;
            echo 
    "\n\t\t<h2>$downloadstuff</h2>";
            if (
    $autodown) {
                echo 
    '<h3>'._DOWN_THANK_YOU.htmlspecialchars($file->filetitle).'</h3>';
                if (!
    $syndstyle) {
                    if (
    $is_video$this->videoPlayer($file->basicDownloadLink($autodown), $file->filetitle);
                    elseif (
    $is_audio$this->audioPlayer($file->basicDownloadLink($autodown), $file->filetitle);
                    else echo 
    '<h4>'._DOWN_WAIT_OR_CLICK.'</h4>';
                }
                if (
    $file->download_text) echo $file->download_text;
                else echo 
    $this->repository->download_text;
            }
            if (
    $thumbupdatestuff OR $thumbimages OR $usersubmitstuff) {
                echo 
    "\n\t\t<div id='remositorythumbbox'>";
                echo 
    "\n\t\t\t<div id='remositorycmdbox'>";
                echo 
    "\n\t\t\t<p>"._DOWN_THUMBNAILS."</p>";
                if (
    $thumbupdatestuff) echo "\n\t\t\t<p class='remositorycommand'>$thumbupdatestuff</p>";
                if (
    $usersubmitstuff) echo "\n\t\t\t<p class='remositorycommand'>$usersubmitstuff</p>";
                echo 
    '</div>';
                echo 
    "$thumbimages";
                echo 
    "\n\t\t<!-- End of remositorythumbbox -->";
                echo 
    "\n\t\t</div>";
            }
            echo 
    "\n\t\t<dl>";
            if (
    $file->submittedby<>''$this->fileOutputBox (_DOWN_SUB_BY$submitter->fullname().'');
            
    $this->fileOutputBox (_DOWN_DOWNLOADS$file->downloads);
            if (
    $this->repository->Allow_Votes$this->voteDisplay($filetrue);
            
    // The following block of code provides the comment facility
            // If you want to replace it with Jom Comment, remove this block and replace it with:
            // $interface =& remositoryInterface::getInstance();
            // include_once($interface->getCfg('absolute_path').'/mambots/content/jom_comment_bot.php');
            // echo jomcomment($file->id, "com_remository");
            
    if ($this->repository->Allow_Comments) {
                
    $commentsdb $file->getComments();
                if (
    $commentsdb){
                    
    $this->tabcnt 1;
                    
    $legend _DOWN_COMMENTS;
                    foreach (
    $commentsdb as $comment$this->showComment($legend$comment);
                }
                else {
                    
    $legend $this->remUser->isLogged() ? _DOWN_FIRST_COMMENT _DOWN_FIRST_COMMENT_NL;
                    
    $this->fileOutputBox('''<strong>'.$legend.'</strong>');
                }
                if (
    $this->remUser->isLogged()) $this->commentBox($file);
    //            include_once('components/com_reviews/reviews.class.php');
    //            include_once('components/com_reviews/reviews.html.php');
    //            echo HTML_reviews::listItemCommentsHTML('com_remository',$file->id);
    //            echo HTML_reviews::solicitCommentHTML('com_remository', $file->id, "&func=fileinfo&id=$file->id");
            
    }
            
    // End of code for Remository comment facility
            
    echo "\n\t</dl>";
            echo 
    "\n\t<!-- End of remositoryfileinfo -->";
            echo 
    "\n\t</div>";
            if (
    $file->plaintext) {
            echo 
    "\n\t\t<div id='remositoryplaintext'>";
                  
    highlight_string($file->getPlainText());
                  echo 
    "\n\t\t</div>";
            }
        }
    }

    ?>
    Sądzę też że za ten tyruł z linkiem odpowiada ten fragment
    Kod PHP:
                $downloadstuff .= $file->downloadLink($autodown);
                
    $downloadstuff .= $this->repository->RemositoryImageURL('download_trans.gif');
                
    $downloadstuff .= '<strong> '._DOWNLOAD.'</strong></a>'
    Jak mam zmienić ten cały kod żeby ikonka pobierania download_trans.gif razem z przyciskiem pobierz zeszła 2 piętra niżej pod nazwę pliku ? Dodawałem <br /> w wielu miejscach ale nie pomogło :/

Strona 3 z 3 PierwszyPierwszy 123

Podobne tematy

  1. Remository dla Gości
    przez gim2ost na forum Zasoby, plikownie,
    Odpowiedzi: 2
    Ostatni post/autor: 05-12-2009, 05:55
  2. problemy z instalacją Remository
    przez zsptuchow na forum Instalacje (Joomla!, składników)
    Odpowiedzi: 2
    Ostatni post/autor: 14-09-2009, 13:44
  3. Moduł dla ReMOSitory
    przez jaca15 na forum Administracja Joomla!
    Odpowiedzi: 1
    Ostatni post/autor: 27-07-2007, 12:39
  4. USA a problemy w Joomli?
    przez bartlo na forum Administracja Joomla!
    Odpowiedzi: 5
    Ostatni post/autor: 21-05-2007, 00:34
  5. Problemy z Remository 3.22 pl
    przez Joomla User na forum Administracja składnikami
    Odpowiedzi: 2
    Ostatni post/autor: 26-11-2005, 16:10

Reguły pisania

  • Nie możesz zakładać nowych tematów
  • Nie możesz dodawać wypowiedzi
  • Nie możesz dodawać załączników
  • Nie możesz poprawiać swoich postów
  •