Search found 24 matches

by olleolleolle
Fri 21. Apr 2006, 16:02
Forum: phpwcms Support English
Topic: no Valid HTML
Replies: 16
Views: 5201

This might be seen as a problem

I think default settings (or templates, or examples, or stuff that comes with a project) that aren't valid HTML are problematic.

What can a user do about the situation?

Is there an Oliver-approved way of submitting code patches for phpwcms?

kind regards,
Olle
by olleolleolle
Mon 10. Apr 2006, 16:42
Forum: phpwcms Bug Reports
Topic: $content["image_select"] never used
Replies: 0
Views: 1985

$content["image_select"] never used

I did a full-text search in the 1.2.6DEV checkout for this:

Code: Select all

   $content["image_select"]
and that is only used by content-part 2 (the "image list").

Is it no longer in use?

kind regards,
Olle Jonsson
by olleolleolle
Wed 14. Sep 2005, 19:42
Forum: phpwcms Support English
Topic: Sitemap problem
Replies: 9
Views: 2824

I have the same problem

...and I am running 1.2.5 DEV updated to CVS of 07 September 2005.

Now I am gonna go look at the source code!
by olleolleolle
Fri 9. Sep 2005, 14:46
Forum: phpwcms Discussion
Topic: How do I query the db for the articles in one category?
Replies: 1
Views: 1278

I did resort to SQL

Now I am getting what I wanted, and I hope the thing will be able to fall into the cache when I am done.
by olleolleolle
Fri 9. Sep 2005, 14:18
Forum: phpwcms Discussion
Topic: How do I query the db for the articles in one category?
Replies: 1
Views: 1278

How do I query the db for the articles in one category?

Is there a function to ask for all the articles of a given category?

I can not find one.

Should I resort to SQL (I have a rather custom thing I want done)?
by olleolleolle
Thu 1. Sep 2005, 20:04
Forum: phpwcms Discussion
Topic: Random quotes - how to get them working! // Zufalls-Zitat
Replies: 8
Views: 2506

HOWTO include PHP files in templates

1. create a script and put it in a folder, let's say /scripts/ (You need to make that folder if it does not exist yet.)

Name your file quotes1.php

2. In your Template or HTML Content Part you can then go:

Code: Select all

{PHP:scripts/quotes1.php}
by olleolleolle
Thu 1. Sep 2005, 16:43
Forum: phpwcms Discussion
Topic: How do I access the structure tree?
Replies: 7
Views: 2504

Thanks!

Oh, thanks. Got more than I bargained for, the {PHP:scripts/myscript.php} thing I had never seen that before. Great! Am going to tinker a bit with it, now, and see what I can come up with. (The top category is not what I am in interested in, but this is a great start. Wait a minute, that depends on ...
by olleolleolle
Thu 1. Sep 2005, 16:16
Forum: phpwcms Discussion
Topic: Random quotes - how to get them working! // Zufalls-Zitat
Replies: 8
Views: 2506

Is that a PHP file content-part?

"PHP variables", is that the one?
by olleolleolle
Thu 1. Sep 2005, 16:12
Forum: phpwcms Discussion
Topic: How do I access the structure tree?
Replies: 7
Views: 2504

How do I access the structure tree?

I am try to make the CMS to spit out a string, conditionally, based on what part of the website we are in. To do that I want to know if I am in category 4 or 5 at the moment. My Question : How do I access the structure tree? I want to know in what part of my tree I am right now -- my goal is to know...
by olleolleolle
Thu 1. Sep 2005, 16:08
Forum: phpwcms Discussion
Topic: Article - File List
Replies: 7
Views: 2785

Content-part hacking

In the folder /include/inc_front/content/ you find PHP files that make all the Content Parts. 1. Find ID of the content-part you want to work on 2. Do that by Viewing Source of the SELECT element's OPTION parts, and look at their VALUEs. They will be the IDs you are looking for. 3. Open the PHP sour...
by olleolleolle
Sun 19. Jun 2005, 11:19
Forum: phpwcms Support English
Topic: how to direct index to database
Replies: 7
Views: 2903

URL to more docs

...and using the phpWCMS backend is explained here: www.phpwcms-docu.de Um, could you describe in a bit more detail what kind of setup you have on the existing community site? What sort of extra services? In my experience, you need to be prepared to get your hands dirty and hack some PHP (and follow...
by olleolleolle
Sun 19. Jun 2005, 11:04
Forum: phpwcms Feature Requests
Topic: phpDocumentor docblocks -> API docs
Replies: 0
Views: 1464

phpDocumentor docblocks -> API docs

Would it be possible to start contributing changes to the code, for instance phpDocumentor docblocks? If you don't know phpDocumentor : "The current standard auto-documentation tool for the php language". "A standalone auto-documentor similar to JavaDoc written in PHP" And: "...
by olleolleolle
Sun 19. Jun 2005, 10:57
Forum: phpwcms Discussion
Topic: Kann PHPwcms folgende Anforderungen erfüllen? V2.0???
Replies: 7
Views: 2255

Language, gentlemen

I don't want to be an asshole, but for the sake of getting better answers, please write at least a summary of the message in English. There is a community of people to help, but many of us are not that fluent in German. And, another hint, which I guess someone has already said in German, it would be...
by olleolleolle
Sun 19. Jun 2005, 10:52
Forum: phpwcms Discussion
Topic: version 2?
Replies: 4
Views: 1758

Is it a new codebase?

Is the V2 a new codebase, of which we haven't seen a thing, or is it based on the same old 1.2.3DEV as we are looking at now?
by olleolleolle
Sun 19. Jun 2005, 10:44
Forum: phpwcms Discussion
Topic: How Do I Replace an Image With Another Image File?
Replies: 1
Views: 1113

How Do I Replace an Image With Another Image File?

Hi, Let's say my family's website "Our Car" needs updating when we buy a new vehicle. I need to remove the picture of the Volvo we used to drive, and replace it with an image of the SAAB we just bought. For the sake of the example, let's say the Volvo image is used in 250 places on this ca...