Search found 24 matches

by Cassiel
Fri 23. Dec 2005, 18:10
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Yes, thats right :)
by Cassiel
Thu 22. Dec 2005, 13:34
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

I think the problem is that you're using TEASER_EX and not the standard phpwcms article listing engine. Sorry dude, but I don't know how to fix that because I'm not using TEASER_EX...

Hint: Try do to a var_dump on the following section of the array: $GLOBALS['content']['articles']. If you get any ...
by Cassiel
Wed 21. Dec 2005, 18:03
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Yes, this is maybe the problem...
by Cassiel
Wed 21. Dec 2005, 16:30
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

What kind of hacks? -Please tell me more...
Also please post the complete code of the template for your article listing here.
by Cassiel
Wed 21. Dec 2005, 16:05
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Have you done any hack to the core code of phpwcms?
by Cassiel
Tue 20. Dec 2005, 15:35
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

This is my real web-site, not only a demo-site. :P
by Cassiel
Tue 20. Dec 2005, 15:30
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

There's no need to rename your template file. The PHP-code doesn't gets intepreted by your web-servers PHP module, instead it gets intepreted by phpwcms internal functions.
by Cassiel
Tue 20. Dec 2005, 15:21
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Which version of phpwcms are you using?
The replacement tag was developed using version 1.2.5-DEV.
by Cassiel
Sat 17. Dec 2005, 14:27
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Thanks dude, there are also two other replacement tags I wrote on my website:

- Category "Notizblock": iTunes integration (uploading of images and saving to database done through AppleScript) but only on Mac OS X

- Category "Ausrüstung": Screenshot integration (uploading of concurrent screenshot ...
by Cassiel
Sat 17. Dec 2005, 14:20
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Hi Kosse, yes of course! Just visit my website (click on the www-button below this post). ;)
by Cassiel
Fri 16. Dec 2005, 14:01
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Thanks, you can't only use {COMMENT} because you must get the article and category ID within the article listing, and there's no other way to get it if you aren't using the PHP-style hack within every article listing template.

Btw: I've forgot the core code hack I've made if you're using the ...
by Cassiel
Fri 16. Dec 2005, 13:50
Forum: hacks & enhancements
Topic: Replacement Tag: Comments
Replies: 26
Views: 17739

Replacement Tag: Comments

Comments Replacement Tag

The following replacement tag lets you insert the count of comments from within an article and displays it within an article listing. Great for using phpwcms as webblog or news overview if you have a comments section using the contet type "guestbook/comments" within the ...
by Cassiel
Tue 13. Dec 2005, 11:30
Forum: phpwcms Support English
Topic: How to get the IDs of content parts within an article?
Replies: 5
Views: 3047

Sorry but I didn't get it. :(
Please Oliver, give me a hint. Thanks!

Edit: Okay, think I got it.

Example:
SELECT *
FROM phpwcms_article as article
INNER JOIN phpwcms_articlecontent as acontent
WHERE article.article_id = acontent.acontent_aid
AND article.article_id = X

*Note: X = Your 'article ...
by Cassiel
Fri 18. Nov 2005, 21:20
Forum: phpwcms Support English
Topic: How to get the IDs of content parts within an article?
Replies: 5
Views: 3047

Well thanks.. :roll:
by Cassiel
Thu 17. Nov 2005, 18:32
Forum: phpwcms Support English
Topic: How to get the IDs of content parts within an article?
Replies: 5
Views: 3047

How to get the IDs of content parts within an article?

Okay here's a question for you guys:

I have an article with ID 1 let's say. And within this article I have three content parts for example: 2, 3 and 4. Now here's what I want: I want to know how I can query the article with ID 1 to get the content part number 3. Anyone knows how to do it?

The ...