Category ID

Found a bug? Tell us!!
Post Reply
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Category ID

Post by martoq »

You used to be able to mouse over the edit link for the categories to get their ID and it would be displayed. This no longer happens. Certain plugins require this ID.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Category ID

Post by garvinhicking »

Hi!

The URL of the "Edit Category" link should still contain the 'cid' part - many plugins have been changed in the past months to use dropdowns for categories instead of forcing entering IDs - the only place where it needs to remain is where you need to enter multiple category IDs...?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

As near as I can tell, its not showing up. Here is the page source thats being generated. I don't see it in there:

Code: Select all




Below is a list of categories available to your entries:<br /><br />
<table cellspacing="0" cellpadding="4" width="100%" border=0>
<tr>
<td width="16"><a href="?serendipity[adminModule]=category&serendipity[adminAction]=edit&serendipity[cid]=3"><img src="/templates/default/admin/img/edit.png" border="0" alt="Edit" /></a></td>

<td width="16"><a href="?serendipity[adminModule]=category&serendipity[adminAction]=delete&serendipity[cid]=3"><img src="/templates/default/admin/img/delete.png" border="0" alt="Delete" /></a></td>
<td width="16"> </td>
<td width="300" style="padding-left: 20px"><img src="/templates/default/admin/img/folder.png" style="vertical-align: bottom;"> General</td>

<td>General</td>
<td align="right">All authors</td>
</tr>
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Check the "cid" variable. It's "3" for you. :)

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply