1
iolai
myalbum modification
  • 2004/8/28 8:56

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


I am trying to remove the drop-down box in myalbum module in index.php page (SELECT A CATEGORY box).

I browsed index.php, deleted different lines I thought had relation to this, but nothing.

What is the line I should delete?

2
tjnemez
Re: myalbum modification
  • 2004/8/28 12:53

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


check index.html in templates.

3
iolai
Re: myalbum modification
  • 2004/8/28 19:08

  • iolai

  • Quite a regular

  • Posts: 206

  • Since: 2004/6/26


No such file.

4
exbanious
Re: myalbum modification
  • 2004/8/28 20:00

  • exbanious

  • Not too shy to talk

  • Posts: 113

  • Since: 2004/5/30


There are two different places where you can change it, really.
The first would be in myalbum_index in your templates_c folder in your root directory. Remove the following line:

Quote:
<form name='cid_select' action='<?php echo $this->_tpl_vars['mod_url']; ?>/viewcat.php'
method='GET' style='margin: 0px; text-align: center; valign: middle;'>
<select name='cid' onchange='submit();'>
<option value=''><?php echo $this->_tpl_vars['lang_directcatsel']; ?></option>
<?php echo $this->_tpl_vars['category_options']; ?></select>

The other place you can change it is in myalbum_index file in modules/mayalbum/templates. You will have to update the module after altering this template file.
Remove this line:

Quote:
<form name='cid_select' action='<{$mod_url}>/viewcat.php' method='GET' style='margin:0px;text-align:center;'>
<select name='cid' onchange='submit();'>
<option value=''><{$lang_directcatsel}></option>
<{$category_options}>
</select>

Hope this works. Just make sure you can change it back if it doesn't. I'm still new here, but that change worked for me.