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 .