PEAK XOOPS - constants is shown when using own block in englishin japanese

constants is shown when using own block

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/8/19 3:08
ollih  ÆóÅùʼ   Posts: 4
hello,

i would like to use the links from the Main Menu (Submit / My Photos...) in my own Menu-Block.

i added the following lines in my block:

<a class="menuMain" href="/portal/modules/myalbum/">Bildergallerie</a>
<a class="menuSub" href="/portal/modules/myalbum/submit.php">Bild hinzuf
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/8/20 18:17
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi ollih.
Quote:
i would like to use the links from the Main Menu (Submit / My Photos...) in my own Menu-Block.

i added the following lines in my block:

<a class="menuMain" href="/portal/modules/myalbum/">Bildergallerie</a>
<a class="menuSub" href="/portal/modules/myalbum/submit.php">Bild hinzufugen</a>
<a class="menuSub" href="/portal/modules/myalbum/viewcat.php?uid=-1">Meine Bilder</a>
<a class="menuSub" href="/portal/modules/myalbum/topten.php?hit=1">Populare</a>

when i do this the page viewcat.php?uid=-1 appears and the text _ALBM_TEXT_SMNAME4 is shown and not Meine Fotos as defined in the german language-file! in the main-menu it works ok...

do you have an idea what is wrong ??!!
_ALBM_TEXT_SMNAME4 is defined in myAlbum-P's language files.
When another module is loaded, myAlbum-P's language files are not included.

Since the block is only yours , don't hesitate write it in germany directly.

Quote:
another question:
in xoops_version the coding is like this:

$modversion['sub'][$subcount]['name'] = _ALBM_TEXT_SMNAME4;
$modversion['sub'][$subcount++]['url'] = "viewcat.php?uid=-1";

why ist the uid -1 and not a a variable for the userid ??
uid=-1 means visitors self ID.
If you (uid=355) access http://..../viewcat.php?uid=-1 , this means http://..../viewcat.php?uid=355 .
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!