Hi!
I am using a heavily modified 1.1 RC4 and I am currently not willing to update to a newer version, until v.2 is out (whenever...).
I am using the RELATED tag and I would like to modify it in such way, so that it also shows the DATE and TIME an article was created.
i.e:
Article title blah blah blah blah blah blah
20-1-2007 :: 22:18:45
Any suggestions on how could this be achieved would be greatly appreciated. Thank you very much in advance!
RELATED RT modification for 1.1 RC4
- Klappstuhl28
- Posts: 833
- Joined: Fri 4. Mar 2005, 01:58
- Location: Hamburg
- Contact:
Dearc Lars,
Thanks for your reply, but this isn't what I meant.
Maybe I did not explain my question very well... here it is againQ
I am using the RELATED tag normally and everything is OK. I now want to use this tag and have it display not only the Title of the article, but the date and time as well.
i.e {RELATED:3:somecategory}
Article 1 title tiltle tiltle tiltle tiltle tiltle tiltle
25-1-2007 :: 16:24:32
Article 2 title tiltle tiltle tiltle tiltle tiltle tiltle
25-1-2007 :: 16:24:32
Article 3 title tiltle tiltle tiltle tiltle tiltle tiltle
25-1-2007 :: 16:24:32[/b]
Thanks for your reply, but this isn't what I meant.
Maybe I did not explain my question very well... here it is againQ
I am using the RELATED tag normally and everything is OK. I now want to use this tag and have it display not only the Title of the article, but the date and time as well.
i.e {RELATED:3:somecategory}
Article 1 title tiltle tiltle tiltle tiltle tiltle tiltle
25-1-2007 :: 16:24:32
Article 2 title tiltle tiltle tiltle tiltle tiltle tiltle
25-1-2007 :: 16:24:32
Article 3 title tiltle tiltle tiltle tiltle tiltle tiltle
25-1-2007 :: 16:24:32[/b]
- Klappstuhl28
- Posts: 833
- Joined: Fri 4. Mar 2005, 01:58
- Location: Hamburg
- Contact:
hi antonis
http://www.phpwcms.de/forum/viewtopic.p ... ght=hacked
http://www.phpwcms.de/forum/viewtopic.p ... ite+hacked
http://www.phpwcms.de/forum/viewtopic.p ... ite+hacked
The tag stuff you have to change in front.func.inc.php as
you´ll find it here.
http://www.phpwcms.de/forum/viewtopic.p ... elated+tag
Maybe you can edit the {new}-tag
http://www.phpwcms-docu.de/index.php?link_tags
lars
You did. You wan´t to customize the related-tag but 1.1 RC4 is far, far away and i just know that the tags as written above will create the date and time of the articleantonis wrote:Dearc Lars,
Thanks for your reply, but this isn't what I meant.
Maybe I did not explain my question very well...
I understand that you aren´t willing to change all the hacks and modifications. But there are other reasons why you should:antonis wrote:Hi!
I am using a heavily modified 1.1 RC4 and I am currently not willing to update to a newer version, until v.2 is out (whenever...).
http://www.phpwcms.de/forum/viewtopic.p ... ght=hacked
http://www.phpwcms.de/forum/viewtopic.p ... ite+hacked
http://www.phpwcms.de/forum/viewtopic.p ... ite+hacked
The tag stuff you have to change in front.func.inc.php as
you´ll find it here.
http://www.phpwcms.de/forum/viewtopic.p ... elated+tag
Maybe you can edit the {new}-tag
http://www.phpwcms-docu.de/index.php?link_tags
lars
Lars
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Don't say you don't have enough time. You have exactly the same number of hours per day that were given to Helen Keller, Pasteur, Michaelangelo, Mother Teresa, Leonardo da Vinci, Thomas Jefferson, and Albert Einstein. - H. Jackson Brown -
Lars, thank you very much for your help and guidance! I really apreciate it.
I 've already patched my version, so there are not any known security problem.
I tried the solution found here: http://www.phpwcms.de/forum/viewtopic.p ... elated+tag
as you proposed and it partially works.
The problem is that all articles show the same date instead of each showing it's own date. I think that the date displayed for all articles is the date that the first article was created when the scipt was initially installed.
I tried reading (sql query) the date from other fields like article_tstamp, article_begin, etc but I get the same problem... it seems like there is a problem with "reading" and distinguishing the correct article_id for each different article... or something like that.
I 've already patched my version, so there are not any known security problem.
I tried the solution found here: http://www.phpwcms.de/forum/viewtopic.p ... elated+tag
as you proposed and it partially works.
The problem is that all articles show the same date instead of each showing it's own date. I think that the date displayed for all articles is the date that the first article was created when the scipt was initially installed.
I tried reading (sql query) the date from other fields like article_tstamp, article_begin, etc but I get the same problem... it seems like there is a problem with "reading" and distinguishing the correct article_id for each different article... or something like that.
Maybe something in these will work for you?
http://www.phpwcms.de/forum/viewtopic.p ... te+article
http://www.phpwcms.de/forum/viewtopic.p ... 2b22#53253
http://www.phpwcms.de/forum/viewtopic.php?t=12605
http://www.phpwcms.de/forum/viewtopic.p ... ation+date
http://www.phpwcms.de/forum/viewtopic.php?p=54559#54559
http://www.phpwcms.de/forum/viewtopic.p ... te+article
http://www.phpwcms.de/forum/viewtopic.p ... 2b22#53253
http://www.phpwcms.de/forum/viewtopic.php?t=12605
http://www.phpwcms.de/forum/viewtopic.p ... ation+date
http://www.phpwcms.de/forum/viewtopic.php?p=54559#54559