MyXoops Forum

Forum - myXOOPS German Support

5 + 7 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw: extgallery slideshow im menü-block

Betreff: Aw: extgallery slideshow im menü-block
von MiA am 11.11.2011 15:06:10

*rotwerd* man sollte nicht ganz so schnell JUHU schreien jetzt macht das modul mir nen anderes problem Klick sieht super aus :D aber wenn ich jetzt auf eine kategorie klicke werden die fotos nicht angezeigt die berechtigungen sind richtig gesetzt ... in der public-categories.html sieht alles normal aus ... aber auf der seite wird nur die kopfzeile der tabelle angezeigt, der rest nicht ... public-categories.html
<div id="extgallery"> <a href="<{xoAppUrl modules/extgallery/}>"><{$extgalleryName}></a><{foreachq item=node from=$catPath name=breadcrumb}> <img src="images/breadcrumb-link.gif" alt="BreadCrumb" /> <a href="public-categories.php?id=<{$node.cat_id}>"><{$node.cat_name}></a><{/foreach}> <img src="images/breadcrumb-link.gif" alt="BreadCrumb" /> <{$cat.cat_name}> <table class="outer"> <tr> <th><{$lang.categoriesAlbums}></th> <th style="text-align:center;"><{$lang.nbAlbums}></th> <th style="text-align:center;"><{$lang.nbPhotos}></th> </tr> <{foreachq item=child from=$catChild}> <tr class="<{cycle values="even,odd"}>"> <{if $child.cat_nb_album == 0}> <td colspan="2"> <{else}><td> <{/if}> <!-- Category - album image --> <{if $disp_cat_img == 1 }> <{if $child.cat_imgurl != "" }> <div class="catThumb" style="float:left; margin-right:5px;"> <{if $child.cat_isalbum}> <a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="" title="" width="100" /></a> <{else}> <a href="public-categories.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="" title="" width="100" /></a> <{/if}> </div> <{else}> <{if $child.photo}> <div class="catThumb" style="float:left; margin-right:5px;"> <{if $child.cat_isalbum}> <a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a> <{else}> <a href="public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a> <{/if}> </div> <{/if}> <{/if}> <{else}> <{if $child.photo}> <div class="catThumb" style="float:left; margin-right:5px;"> <{if $child.cat_isalbum}> <a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a> <{else}> <a href="public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a> <{/if}> </div> <{/if}> <{/if}> <!-- Fin de la modif --> <{if $child.cat_isalbum}> <a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><{$child.cat_name}></a><br /><{$child.cat_desc}></td> <{else}> <a href="public-categories.php?id=<{$child.cat_id}>"><{$child.cat_name}></a><br /><{$child.cat_desc}></td> <{/if}> <{if $child.cat_nb_album != 0}> <td style="text-align:center;"><{$child.cat_nb_album}></td> <{/if}> <td style="text-align:center;"><{$child.cat_nb_photo}></td> </tr> <{/foreach}> </table> <{include file='db:system_notification_select.html'}> </div>
public-categories.php
require '../../mainfile.php'; $GLOBALS['xoopsOption']['template_main'] = 'extgallery_public-categories.html'; include XOOPS_ROOT_PATH.'/header.php'; if(!isset($_GET['id'])) { $catId = 0; } else { $catId = intval($_GET['id']); } $catHandler = xoops_getmodulehandler('publiccat', 'extgallery'); $catObj = $catHandler->getCat($catId); if(is_null($catObj)) { include(XOOPS_ROOT_PATH."/footer.php"); exit; } $cat = $catHandler->objectToArrayWithoutExternalKey($catObj); $xoopsTpl->assign('cat', $cat); $catPath = $catHandler->objectToArray($catHandler->getPath($catId)); $xoopsTpl->assign('catPath', $catPath); $catChild = $catHandler->objectToArray($catHandler->getChildren($catId),array('photo_id')); $xoopsTpl->assign('catChild', $catChild); if(isset($catObj)) { $xoopsTpl->assign('xoops_pagetitle', $catObj->getVar('cat_name')); $xoTheme->addMeta('meta','description',$catObj->getVar('cat_desc')); } $xoTheme->addStylesheet('modules/extgallery/include/style.css'); $lang = array( 'categoriesAlbums'=>_MD_EXTGALLERY_CATEGORIESALBUMS, 'nbAlbums'=>_MD_EXTGALLERY_NBALBUMS, 'nbPhotos'=>_MD_EXTGALLERY_NBPHOTOS ); $xoopsTpl->assign('lang', $lang); $xoopsTpl->assign('extgalleryName', $xoopsModule->getVar('name')); $xoopsTpl->assign('disp_cat_img', $xoopsModuleConfig['disp_cat_img']); $xoopsTpl->assign('display_type', $xoopsModuleConfig['display_type']); include(XOOPS_ROOT_PATH."/footer.php"); ?>
also ich muss gestehen das dieses modul mia so langsam aber sicher echt auf den zwrin geht sry das ich euch soviel nerve LG dat MiA

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag