Community « Discussion forum « Post your requirements here « Automaticaly add article ID in either Title or Introduction «
Comment: Automaticaly add article ID in either Title or Introduction
| Next >> |
Jan,
I am sure Bernard will reply, but I know he is using an overlay to record issues right on this forum in the Bugs and problems section and that records an id, I have only had a brief look at this overlay (included in 6.12) but it should not be too difficult to modify the query that generates the data from the submitted new article to append the id to either the title or introduction as required.
At a quick guess, the overlay called issues could be modified (line 505) from
to
Nick
I am sure Bernard will reply, but I know he is using an overlay to record issues right on this forum in the Bugs and problems section and that records an id, I have only had a brief look at this overlay (included in 6.12) but it should not be too difficult to modify the query that generates the data from the submitted new article to append the id to either the title or introduction as required.
At a quick guess, the overlay called issues could be modified (line 505) from
."title='".SQL::escape($title)."', \n"to
."title='".SQL::escape($title)."-"..(SQL::get_last_id() +1)."-"', \n"Nick
by NickR on Dec. 20 2006
