MyXoops Forum

Re: Galeriemenü entfernen/kürzen [Module für Bildergalerien, Downloads und Faq] - myXOOPS German Support

pansenp

"myXOOPs"-Neuling
Gepostet am:12.05.2007 19:13
pansenp
pansenp Offline (Show more)
"myXOOPs"-Neuling
Posts: 37
Since: 12.05.2007
#7

Re: Galeriemenü entfernen/kürzen

Mit dem hier...

<{foreach from=$cat.subcategories item=subcat}>
        <{if 
$subcat.number_of_subcat}>
          <
a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}><img src='<{$mod_url}>/images/subcat.gif' width='15' height='15' /></a> &nbsp
        <{else}>
          <
a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}></a>&nbsp;(<{$subcat.photo_small_sum}>) &nbsp
        <{/if}>
      <{/foreach}>


...hats geklappt!!!

Vielen Dank!

wuddel

"myXOOPs"-Profi
Gepostet am:12.05.2007 17:37
wuddel
wuddel Offline (Show more)
"myXOOPs"-Profi
Posts: 954
Since: 05.01.2005
#6

Re: Galeriemenü entfernen/kürzen

Ich auch nicht. Ich hatte eine gaaaaanz alte Version auf der Festplatte. Der Code sollte in der ?????? stehen.

jetzt bin ich ganz konfus... muss erst mal nachschauen

...aber denke daran zuvor das Tempolate-set zu clonen da die Originaldateien "nicht" geändert werden können. Und anschließend in den Systemeinstellungen das "neue" Template auszuwählen.

Also erster Versuch. Um alles wegzumachen musst du in der myalbum_index.html folgendes auskommentieren.

<br />
      <{include 
file="db:myalbum_categories.html"}>
      <
hr />


Und nur die Unterkategorien auszublenden ist in der myalbum_categories.html folgendes.

<{foreach from=$cat.subcategories item=subcat}>
        <{if 
$subcat.number_of_subcat}>
          <
a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}><img src='<{$mod_url}>/images/subcat.gif' width='15' height='15' /></a> &nbsp
        <{else}>
          <
a href="<{$mod_url}>/viewcat.php?cid=<{$subcat.cid}>"><img src="<{$mod_url}>/images/folder16.gif" width="16" height="16" alt="" /><{$subcat.title}></a>&nbsp;(<{$subcat.photo_small_sum}>) &nbsp
        <{/if}>
      <{/foreach}>


Da bin ich mir aber wirklich nicht ganz sicher. Ich würde es einfach mal ausprobiern und wenn es nicht geht das Template (im CloneSet) wieder löschen und neu Generieren (schon ist wieder alles beim alten)
mfg wuddel (38)

Wuddel's Lieblingsspruch: Lohnkürzung, was für ein Schei**

Advertisement

Gepostet am:0
Advertisement (Show more)
Posts: 0
Since: 0


Hier könnten Sie Ihre Anzeige aufgeben!
Bitte kontaktieren Sie uns, um mehr darüber zu erfahren.

pansenp

"myXOOPs"-Neuling
Gepostet am:12.05.2007 17:17
pansenp
pansenp Offline (Show more)
"myXOOPs"-Neuling
Posts: 37
Since: 12.05.2007
#5

Re: Galeriemenü entfernen/kürzen

Hier mal der code aus myalbum_photo.html.
Diese Ordnerbilder heißen folder16.gif.

--------------------------------------

<{strip}>
<table width="100%" cellspacing="0" class="outer">
<tr>
<td class="even">
<br />
<{include file="db:myalbum_header.html"}>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left'>
<span style="font-weight:bold;"><a href='index.php'><{$lang_album_main}></a>&nbsp;:&nbsp;<{$album_sub_title}>&nbsp;<{$photo.title}></span>
</td>
<td align='right'>
<{if $lang_add_photo}><a href="submit.php"><{$lang_add_photo}><img src="<{$mod_url}>/images/pictadd.gif" border="0" alt="<{$lang_add_photo}>" title="<{$lang_add_photo}>" /></a><{/if}>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
<p align='center'>
<{$photo_nav}>
</p>
<table width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td align="center">

<a href="<{$photo.ahref_photo}>" target="_blank" onClick="window.open('<{$photo.ahref_photo}>','','width=<{$photo.window_x}>,height=<{$photo.window_y}>');return(false);"><img src="<{$photo.imgsrc_photo}>" border="0" align="center" vspace="3" hspace="7" alt="<{$photo.title}>" title="<{$photo.title}>" <{$photo.width_height}> /></a>
<br />
<table width="100%" cellspacing="0" cellpadding="10" border="0">
<tr>
<td align="left">


<{* 1ST LINE OF INFORMATION *}>

<{* EDIT ICON *}>
<{if $photo.can_edit}>
<a href='<{$mod_url}>/editphoto.php?lid=<{$photo.lid}>'><img src='<{$mod_url}>/images/editicon.gif' border='0' alt='<{$lang_editthisphoto}>' title='<{$lang_editthisphoto}>' /></a>
<{/if}>

<{* PHOTO'S SUBJECT *}>
<a name='<{$photo.lid}>'></a><a href='<{$mod_url}>/photo.php?lid=<{$photo.lid}>&cid=<{$photo.cid}>'><b><{$photo.title}></b></a>

<{* NEW ICON *}>
<{if $photo.is_newphoto}>
<img src='<{$mod_url}>/images/newred.gif' border='0' alt='<{$lang_new}>' title='<{$lang_new}>' />
<{/if}>

<{* UPDATE ICON *}>
<{if $photo.is_updatedphoto}>
<img src='<{$mod_url}>/images/update.gif' border='0' alt='<{$lang_updated}>' title='<{$lang_updated}>' />
<{/if}>

<{* POPULAR ICON *}>
<{if $photo.is_popularphoto}>
<img src='<{$mod_url}>/images/pop.gif' border='0' alt='<{$lang_popular}>' title='<{$lang_popular}>' />
<{/if}>
<br />


<{* 2ND LINE OF INFORMATION *}>

<{* SUBMITTER *}>
<{if $photo.submitter > 0}>
<a href='<{$xoops_url}>/userinfo.php?uid=<{$photo.submitter}>'>
<img src='<{$mod_url}>/images/submitter.gif' width='16' height='16' alt='<{$lang_submitter}>' title='<{$lang_submitter}>' border='0' />
</a>
<{$photo.submitter_name}>
<a href='<{$mod_url}>/viewcat.php?uid=<{$photo.submitter}>'><img src='<{$mod_url}>/images/myphotos.gif' width='16' height='16' alt='<{$photo.info_morephotos}>' title='<{$photo.info_morephotos}>' border='0' /></a>
<{else}>
<img src='<{$mod_url}>/images/submitter.gif' width='16' height='16' alt='<{$lang_submitter}>' title='<{$lang_submitter}>' />
<{$photo.submitter_name}>
<{/if}>
&nbsp; &nbsp;

<{* CATEGORY *}>
<{if $photo.cat_title}>
<a href='<{$mod_url}>/viewcat.php?cid=<{$photo.cid}>'><img src='<{$mod_url}>/images/folder16.gif' width='16' height='16' alt='<{$lang_category}>' title='<{$lang_category}>' border='0' /><{$photo.cat_title}></a> &nbsp; &nbsp;
<{/if}>

<{* LAST UPDATED *}>
<img src='<{$mod_url}>/images/clock.gif' width='16' height='16' alt='<{$lang_lastupdatec}>' title='<{$lang_lastupdatec}>' /><{$photo.datetime}> &nbsp; &nbsp;

<{* TELL A FRIEND *}>
<{if $cantellafriend}>
<a href='<{$xoops_url}>/modules/tellafriend/index.php?target_uri=<{$mod_url|escape:"url"}>/photo.php%3Flid%3D<{$photo.lid}>&subject=<{$lang_subject4taf|escape:"url"}>'><img src='<{$mod_url}>/images/tellafriend.gif' width='24' height='16' alt='<{$lang_tellafriend}>' title='<{$lang_tellafriend}>' /><{$lang_tellafriend}></a>
<{/if}>

<br />


<{* 3RD LINE OF INFORMATION *}>

<{* HIT COUNTS *}>
<img src='<{$mod_url}>/images/hits.gif' width='16' height='16' alt='<{$lang_hitsc}>' title='<{$lang_hitsc}>' /><{$photo.hits}> &nbsp;

<{* COMMENT COUNTS *}>
<img src='<{$mod_url}>/images/comments.gif' width='16' height='16' alt='<{$lang_commentsc}>' title='<{$lang_commentsc}>' /><{$photo.comments}> &nbsp; &nbsp;

<{* RANK & RATING *}>
<{if $canrateview}>
<{if $photo.rating > 0}>
<img src='<{$mod_url}>/images/rank<{$photo.rank}>.gif' alt='<{$photo.rating}>' title='<{$photo.rating}>' border='0' /><{$photo.info_votes}>
<{else}>
<img src='<{$mod_url}>/images/rank_none.gif' alt='<{$photo.info_votes}>' title='<{$photo.info_votes}>' border='0' /><{$photo.info_votes}>
<{/if}>
<{/if}>

<{* VOTE BUTTON *}>
<{if $canratevote}>
<a href='<{$mod_url}>/ratephoto.php?lid=<{$photo.lid}>'><img src='<{$mod_url}>/images/vote.gif' alt='<{$lang_ratethisphoto}>' title='<{$lang_ratethisphoto}>' border='0' /><{$lang_ratethisphoto}></a>
<{/if}>

<br />


<{* DESCRIPTION *}>

<{if $photo.description}>
<table border='0' cellpadding='0' cellspacing='0' width='100%' class='outer'>
<tr>
<td class='odd'>
<{$photo.description}>
</td>
</tr>
</table>
<{/if}>



</td>
</tr>
</table>

</td>
</tr>
</table>

<p align='center'>
<{$photo_nav}>
</p>

<div style="text-align: center; padding: 3px; margin: 3px;">
<{$commentsnav}>
<{$lang_notice}>
</div>

<div style="margin: 3px; padding: 3px;">
<!-- start comments loop -->
<{if $comment_mode == "flat"}>
<{include file="db:system_comments_flat.html"}>
<{elseif $comment_mode == "thread"}>
<{include file="db:system_comments_thread.html"}>
<{elseif $comment_mode == "nest"}>
<{include file="db:system_comments_nest.html"}>
<{/if}>
<!-- end comments loop -->
</div>

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center">
<br />
<{include file='db:system_notification_select.html'}>
<br />
<{include file="db:myalbum_footer.html"}>
</td>
</tr>
</table>
<{/strip}>


Sorry für den langen Post aber ich kann leider nicht so gut php das ich sowas auskommentieren kann!
Bitte um Hilfe

wuddel

"myXOOPs"-Profi
Gepostet am:12.05.2007 17:06
wuddel
wuddel Offline (Show more)
"myXOOPs"-Profi
Posts: 954
Since: 05.01.2005
#4

Re: Galeriemenü entfernen/kürzen

...kürzen verstehe ich auch nicht aber du kannst im Template die Ansicht auskommentieren. Allerdings habe ich gerade keine myalbum installation zum nachschauen. Sollte aber irgendwas mit "myalbum_foto.html" sein.
mfg wuddel (38)

Wuddel's Lieblingsspruch: Lohnkürzung, was für ein Schei**

pansenp

"myXOOPs"-Neuling
Gepostet am:12.05.2007 17:06
pansenp
pansenp Offline (Show more)
"myXOOPs"-Neuling
Posts: 37
Since: 12.05.2007
#3

Re: Galeriemenü entfernen/kürzen

Ich möchte das die Unterordner nicht angezeigt werden. Es soll nur "GED - Partybilder" zu sehen sein und erst bei kick darauf sollen die einzelnen Alben geordnet untereinander(!) angezeigt werden. Denn wie man sieht ist diese Art sehr unübersichtlich!

Gruß und danke schon mal

alfred

Administrator
Gepostet am:12.05.2007 16:48
alfred
alfred Offline (Show more)
Administrator
Posts: 7619
Since: 06.12.2004
#2

Re: Galeriemenü entfernen/kürzen

Wie und was willst du kürzen ?
Texte oder Anzahl der Kategorien/Einträge ?

Alfred

pansenp

"myXOOPs"-Neuling
Gepostet am:12.05.2007 12:38
pansenp
pansenp Offline (Show more)
"myXOOPs"-Neuling
Posts: 37
Since: 12.05.2007
#1

Galeriemenü entfernen/kürzen

Hallo,
ich bin noch Anfänger und mach gerade meine ersten Versuche mit Xoops.
Ich möchte im Galeriemodul "myalbum" die obere Ansicht entfernen oder irgendwie kürzen. Ich habe leider keine Einstellmöglichkeit gefunden!
Ich lege nochmal einen Screenshot bei damit man sehen kann was mein Problem ist.

Skaliertes Bild

Ich würde mich über eine Antwort freuen!

Gruß
Diesen Thread durchsuchen:  1 Anonyme Benutzer

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5314 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1806 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag