more news from the eastern front ...
So, there is a strange behaviour with the article ID#, because with the code we discussed before, the subject is okay until you see it in the mail form on the site, but when the message is sent, the article ID is included twice
Still I wonder how it comes out, the searching goes on.
Then, I tried to split the variable with something like this:
- Code: Select all
list($newName, $newSubject) = explode("]", $this->getSubject);
$this->setSubject($newName . "] - #" . $article->getArticleId() . $newSubject);
.. but nothing happens, as if the string was not really yet formed, I get only the text and the article ID.
All these things make me wonder that the getSubject should be accessed in another way, but I don't want to mess up things in too many files, for the same ole' reason that I'd like to survive the updates. So if all the editing could be limited to this file, it would be great.
thanks for the help, this aspect has become vital for our journal.