Author Topic: How to Reset the Category ID?  (Read 4748 times)

0 Members and 1 Guest are viewing this topic.

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
How to Reset the Category ID?
« on: February 14, 2009, 10:52:02 AM »
Hello,

May I know, how to Reset back the category ID? I had deleted 2 categories because of the Parse Error: template.php eval blahblah blah...Now already fixed, blamed myself for deleted the category because the error is not came from that category. Sighs...

But the issue is to reset back the category ID to initial e.g 1,2,3,4,5,6,7

The no. 5 and 6 have gone, how to fill that back? Now, if I add new category the ID will continued to 8, 9, 10...

(see attachment for more details)

Thanks.
« Last Edit: February 14, 2009, 11:04:25 AM by yesme »
Love 4images! @--^-----

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to Reset the Category ID?
« Reply #1 on: February 14, 2009, 11:57:23 AM »
... and where is the problem ... ?
... but after creating a new category you can edit the category ID via PhpMyAdmin ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: How to Reset the Category ID?
« Reply #2 on: February 14, 2009, 12:36:45 PM »
As I said, the ID not looks nice because it is reached the no. 5 and no. 6

So, we must do it manually using phpMyAdmin? If the only way to make it sort nicely etc. then I cannot say anything.

Thank you for your respond.
Love 4images! @--^-----

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to Reset the Category ID?
« Reply #3 on: February 14, 2009, 12:58:05 PM »
... a ID must look nice ...  :roll:
... I think there is absolutly no interest by your users how looks your category IDs ...
... and if there are thousend of categories in your gallery, i think there is no interest by you how looks the category IDs ... ;)
... and yes, changing via PhpMyAdmin is the only way ... via ACP there is no way ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline yesme

  • Jr. Member
  • **
  • Posts: 61
  • Yes for 4images!
    • View Profile
Re: How to Reset the Category ID?
« Reply #4 on: February 14, 2009, 04:21:35 PM »
I'm totally agreed with you. Thank you for your explanation.  :mrgreen:
Love 4images! @--^-----