forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: GrogDog on February 25, 2006, 04:17:28 am

Title: Restore "Delete" "Properties" and "Edit Pics" buttons. Feel like an ID10T user.
Post by: GrogDog on February 25, 2006, 04:17:28 am
Hi,

 I made a stupid mistake, very stupid, and I can't remember what line of code I removed in order to fix it.

I need to restore these buttons....see link below to know exactly what I mean...

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#modif_alb_pics (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#modif_alb_pics)

If anyone could help me with this I'd really appreciate it.

Thanks,

GrogDog

P.S. I was removing the "3 pictures, last one added on Oct 01, 2003" when I did this, I came back to the computer, the FTP timed out, and I totally forgot where I was and what file exactly I was editing. No, I;m not on drugs, just overworked. ;)
Title: Re: Restore "Delete" "Properties" and "Edit Pics" buttons. Feel like an ID10T us
Post by: Stramm on February 25, 2006, 10:06:18 am
I guess you've removed to much in your template $template_album_list
Code: [Select]
                         {ADMIN_MENU}
                        <p>{ALB_DESC}</p>
                        <p class="album_stat">{ALB_INFOS}</p>

the first is thh admin menu (buttons), then description and then the infos (3 pics, last posted etc)
Title: Re: Restore "Delete" "Properties" and "Edit Pics" buttons. Feel like an ID10T user.
Post by: GrogDog on February 25, 2006, 09:51:13 pm
  ;D Close enough, your quick and helpful answer helped me fix it.  ;D

It wasn't just that part of the theme.php I knocked off, it was the entire section <!- - BEGIN album_cell - ->all the code in between<!- - End album_cell - -> I accidentally removed. But if you hadn't said that I would have never remembered.

Thanks so much, I really appreciate it. Normally the tutorials or search method is enough to answer my questions, but this time I just couldn't find anything on this, probably because no one else has done something as dumb as what I did. lol

GrogDog raises a glass to you!