1
sunfans
How to disable myAlbum-P some functions
  • 2006/9/4 10:39

  • sunfans

  • Just popping in

  • Posts: 22

  • Since: 2006/4/26


Hello,

I found Xcgal is myalbum is very nice to use as a photo module. I would like to disable some functions of myalbum such as:

submitter/time or clock/hits/comments/rank/rate it/

They are useless to me, I just wanna leave picure/description/. I've tried to modify at template area of module admin. But all failed.

Please kindly tell me how, thanks very much in advance!

2
homergz
Re: How to disable myAlbum-P some functions
  • 2006/9/4 11:28

  • homergz

  • Just popping in

  • Posts: 80

  • Since: 2006/5/21


templates/myalbum_photo.html

Scroll down until you see:

<{* 1ST LINE OF INFORMATION *}>

Remove fields you do not want. Remember to update module when finished.

3
sunfans
Re: How to disable myAlbum-P some functions
  • 2006/9/4 12:00

  • sunfans

  • Just popping in

  • Posts: 22

  • Since: 2006/4/26


Hi homergz,

Thanks very much for your great support, I'm on the way!

Cheers!

4
sunfans
Re: How to disable myAlbum-P some functions
  • 2006/9/4 13:23

  • sunfans

  • Just popping in

  • Posts: 22

  • Since: 2006/4/26


I deleted <{* 1ST LINE OF INFORMATION *}> and 2 second and 3rd layers. then update the module, and delete all the tepm. files in /templates_c/ folder. But it doesn't work. The modified code is as the followings:

<{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"><{* 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}>

I think I need your further support, thank you very much!

5
sunfans
Re: How to disable myAlbum-P some functions
  • 2006/9/5 10:49

  • sunfans

  • Just popping in

  • Posts: 22

  • Since: 2006/4/26


up! please advise, thanks.

6
justtupeu
Re: How to disable myAlbum-P some functions
  • 2006/9/5 16:43

  • justtupeu

  • Just popping in

  • Posts: 78

  • Since: 2005/6/7 8


Have you updated your module in the administration panel ?
Vineri triskaideka - contest for Vineri triskaideka phrase

7
sunfans
Re: How to disable myAlbum-P some functions
  • 2006/9/6 15:21

  • sunfans

  • Just popping in

  • Posts: 22

  • Since: 2006/4/26


Yes, I did. Besides I deleted all temp/c files and arche.

It seems seomthing wrong. thanks for your kind reply!

8
Peekay
Re: How to disable myAlbum-P some functions
  • 2006/9/6 16:42

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


You cannot edit the default template set directly from XOOPS admin. You need to press the 'clone' link to create an editable template set. Name the set ('myset' or similar) then make it the default set in prefs/general settings, e.g.

Default template set = 'myset'

You can then edit the cloned templates in admin.

Whenever you install a new module, immediately go to templates and click 'create' against the new module name in your cloned set.

Otherwise you need to edit the HTML files on the hard disk in the templates folder for that module.
A thread is for life. Not just for Christmas.

9
shogun_ro
Re: How to disable myAlbum-P some functions
  • 2006/10/1 13:13

  • shogun_ro

  • Just popping in

  • Posts: 9

  • Since: 2006/9/2 1


Quote:

Whenever you install a new module, immediately go to templates and click 'create' against the new module name in your cloned set.

Otherwise you need to edit the HTML files on the hard disk in the templates folder for that module.


Thank's for tip.

Login

Who's Online

100 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 100


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits