Hey jsw_nz!
I'm glad the repl tag was appreciated by others. Check out http://www.phpwcms.de/forum/viewtopic.php?t=8521 for my news flash content part that will take article flexibility even further, at least for me...
Regards,
JZ
Search found 136 matches
- Thu 15. Sep 2005, 15:22
- Forum: hacks & enhancements
- Topic: {SHOW_CONTENT} Show content of a particular content part
- Replies: 68
- Views: 61338
- Thu 15. Sep 2005, 15:17
- Forum: hacks & enhancements
- Topic: News Flash Content Type [Updated 2.0.4]
- Replies: 40
- Views: 33201
News Flash Content Type [Updated 2.0.4]
Hi all, New update of the newsflash content part available: v2.0.4 . It can be used to display article listings in any block and even inside other articles. The code can be downloaded from: http://www.ikfrej.se/index.php?downloads Here's the readme file: ---------------------------------------------...
- Tue 13. Sep 2005, 15:00
- Forum: hacks & enhancements
- Topic: new content type "three column"
- Replies: 10
- Views: 5677
- Tue 13. Sep 2005, 14:49
- Forum: hacks & enhancements
- Topic: {VTS_USERS_ONLINE} Updated!!
- Replies: 3
- Views: 3160
- Wed 27. Jul 2005, 12:23
- Forum: sites you are proud of (made with phpwcms only)
- Topic: www.fullhw.com
- Replies: 1
- Views: 1564
- Thu 7. Jul 2005, 18:02
- Forum: hacks & enhancements
- Topic: {SHOW_CONTENT} Show content of a particular content part
- Replies: 68
- Views: 61338
Hi jsw_nz,
Sure, the current article id is stored in a global variable:
Hope that helps!
Jens
Sure, the current article id is stored in a global variable:
Code: Select all
$GLOBALS["content"]["article_id"]
Jens
- Wed 15. Jun 2005, 16:56
- Forum: hacks & enhancements
- Topic: {NAV_MENUBAR} Dropdown menubar
- Replies: 68
- Views: 50566
About opening only when you click: The whole idea is that it behaves like a windows menu. Personally, I like when things only happen when I request it to happen, not when I roll over something and all of a sudden a drop down comes down. Just personal preference. Maybe you can ask Oliver to make that...
- Wed 15. Jun 2005, 10:50
- Forum: hacks & enhancements
- Topic: {NAV_MENUBAR} Dropdown menubar
- Replies: 68
- Views: 50566
- Wed 15. Jun 2005, 10:18
- Forum: hacks & enhancements
- Topic: {NAV_MENUBAR} Dropdown menubar
- Replies: 68
- Views: 50566
I have moved it to http://www.ikfrej.se/index.php?downloads.
- Tue 14. Jun 2005, 09:30
- Forum: hacks & enhancements
- Topic: {SHOW_CONTENT} Show content of a particular content part
- Replies: 68
- Views: 61338
{SHOW_CONTENT} Show content of a particular content part
Hello, Another replacement tag to show the contents of a particular content part. Can be very useful. It hasn't been tested for all content parts, but should work for most of them. Put the following in a php file (for example show_content.php) in frontend_render. <?php //----------------------------...
- Mon 13. Jun 2005, 22:51
- Forum: hacks & enhancements
- Topic: {NAV_MENUBAR} Dropdown menubar
- Replies: 68
- Views: 50566
- Mon 13. Jun 2005, 14:43
- Forum: hacks & enhancements
- Topic: {ART_READ} Display number of times an article has been read
- Replies: 24
- Views: 15141
Sorry for the trouble. I don't know what could be the problem. Try putting an echo statement in the function to see that it actually enters the function and go from there, for example:
/jens
Code: Select all
echo "article: " . $art_id . " category: " . $cat_id;
- Mon 13. Jun 2005, 13:06
- Forum: hacks & enhancements
- Topic: {ART_READ} Display number of times an article has been read
- Replies: 24
- Views: 15141
- Mon 13. Jun 2005, 12:02
- Forum: hacks & enhancements
- Topic: {ART_READ} Display number of times an article has been read
- Replies: 24
- Views: 15141
- Sun 12. Jun 2005, 12:45
- Forum: hacks & enhancements
- Topic: {ART_READ} Display number of times an article has been read
- Replies: 24
- Views: 15141
Hi frold, Did you add the table phpwcms_article_read_count to your mysql database? I noticed that I added an ID column with autoincrement to the table as I was getting an error of duplicate records. See if that solves it. That also requires that you specify which columns you are inserting in content...