Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 27. Apr 2024, 07:15

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Hilfe bei path anpassung
PostPosted: 22. Nov 2007, 14:09 
Offline

Joined: 11. Nov 2007, 22:07
Posts: 31
Hallo Michael ,
ich bastel ja immernoch an den plugin für e107 kannst du mir sagen wie ich den link ändern kann

der ist aus der topnavigation.inc.php und soll beim klicken zum e107_admin/admin.php gehen


Code:
$adminfile = realpath(dirname. "/../admin/index.php");

      if (file_exists($adminfile)) {
         if ($show_public_admin_link && $login_backend) {
            $has_element_before = print_spacer($has_element_before);
            if (file_exists(realpath(dirname(__FILE__) . "/../admin/_include/fun_users.php"))) {
               include realpath(dirname(__FILE__) . "/../admin/_include/fun_users.php");



immoment will der immer nach loacalhost ??

mfg


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2007, 14:44 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Das ist ja klar. ist ja auch der server.

Das, was du da hast ist nur die Überprüfung, ob der link rot wird, weil das Passwort noch nicht geändert wurde - der link selbst ist etwas weiter unten.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2007, 15:23 
Offline

Joined: 11. Nov 2007, 22:07
Posts: 31
ups jo hast recht nur das prob bleibt


hab das mal verändert

Code:
   if ($open_in_new_window) {
                  $target = ' target="_blank" ';
               } else {
                  $target = '_blank" ';
               }
               echo "<a " . $mouse . $target . " href='../../admin/index.php'>";
               if ($hoverjs) {
                  echo '<span class="twg_nocache">' . $lang_administration . '!</span>';
               } else {
                  echo $lang_administration;
               }
               echo "</a>";



das problem ist das die gesammte heder nav auf localhost geht

ich ich dann immer auf meine stationäre localhost lande

wie kann ich der ganzen nav sagen das nicht localhost sondern
install ordner admin/ gehen soll ??

mfg


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2007, 15:56 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
du vermischt 2 dinge:

den server und den pfad!

server ist lokal immer localhost

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 22. Nov 2007, 16:03 
Offline

Joined: 11. Nov 2007, 22:07
Posts: 31
sorry ich bin vieleicht blöd !!

seh den wald vor lauter bäumen nicht , weiss nicht ob ich es dir erzählen soll "schäm"

hab die gallery mit iframe includet und in den iframe war der link zu index noch komplett drinn nämlich localhost usw hab das geändert und schwup es geht .

sorry für meine dummheit LOL


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy