Search found 13 matches
- Mon 10. Aug 2009, 16:21
- Forum: phpwcms Support English
- Topic: What's the difference between 'public' and 'visible'?
- Replies: 2
- Views: 919
Re: What's the difference between 'public' and 'visible'?
Lovely! Thanks for the explanation.
- Mon 13. Jul 2009, 12:13
- Forum: phpwcms Support English
- Topic: allow download in gallery
- Replies: 2
- Views: 755
allow download in gallery
What does the option "allow download in gallery" when uploading a file into the file center mean?
- Mon 13. Jul 2009, 11:33
- Forum: phpwcms Support English
- Topic: What's the difference between 'public' and 'visible'?
- Replies: 2
- Views: 919
What's the difference between 'public' and 'visible'?
So... I've read the docu trying to make heads and tails of the status options 'visible' and 'public' but all it says is that they should be checked if I want to show my content. Is there any difference between these two options? If I just check one of them, will that change the behaviour in any way?...
- Wed 9. Jul 2008, 13:39
- Forum: hacks & enhancements Support
- Topic: Database escape
- Replies: 1
- Views: 10078
Database escape
I have designed a form that is supposed to post data that will be parsed and then inserted into the PHPWCMS database. What would be the the preferred way of escaping this data to avoid SQL-insertion issues? Are there already preferred functions in PHPWCMS that I should call to do this or should I us...
- Wed 9. Jul 2008, 13:35
- Forum: hacks & enhancements Support
- Topic: How to use session variables?
- Replies: 1
- Views: 10306
How to use session variables?
I am currently producing a couple of new replacement tags for use in my site. I am working with standalone files in the frontend_render folder to parse the tags. I would now like to manipulate session data to make the session aware that I have submitted a form on a certain page. I've tried using the...
- Tue 8. Jul 2008, 17:38
- Forum: hacks & enhancements
- Topic: Modified NAV_TABLE_COLUMN
- Replies: 13
- Views: 4509
Re: Modified NAV_TABLE_COLUMN
That worked wonders, thanks! :D I've made another post explaining my event calendar a bit more in detail and posted my code there as well, including my implementation of your regexp: http://forum.phpwcms.org/viewtopic.php?f=8&t=17466 Thanks for all your help guys! It has so far made all the diff...
- Tue 8. Jul 2008, 17:36
- Forum: hacks & enhancements
- Topic: Article summary list filtered by date
- Replies: 11
- Views: 4871
Article summary list filtered by date
I've been asked to produce an event calendar to be displayed in a simple left hand pane on the front page of a client web site. The calendar must be easy to manage and should preferably blend in with the rest of the CMS. My solution is to create a replacement tag that mimics the appearance of an art...
- Tue 8. Jul 2008, 15:12
- Forum: hacks & enhancements
- Topic: Modified NAV_TABLE_COLUMN
- Replies: 13
- Views: 4509
Re: Modified NAV_TABLE_COLUMN
No worries - I am not easily drowned. :) One question arises; What's the easiest way to get access to the replacement tag parameters? Do I parse the replacement tag expression with a regexp or is there some easier way to get access to them? Ex. {ARTICLE_LIST_BY_DATE:5:NOW} - How do I access the 5 an...
- Tue 8. Jul 2008, 10:56
- Forum: hacks & enhancements
- Topic: Modified NAV_TABLE_COLUMN
- Replies: 13
- Views: 4509
Re: Modified NAV_TABLE_COLUMN
Wonderful! I've now implemented and properly tested the NAV_LIST_UL with a couple of modifications to your suggested stylesheet, and it looks great! What I'm even more impressed with however, is the power of the frontend_render folder. It is a brilliant way to make it possible to include tailored fu...
- Mon 7. Jul 2008, 08:12
- Forum: hacks & enhancements
- Topic: Modified NAV_TABLE_COLUMN
- Replies: 13
- Views: 4509
Re: Modified NAV_TABLE_COLUMN
Beautiful! Love at first sight.
I'll implement this right away and get back with any additional thoughts as soon as I've tried this approach out properly.
I'll implement this right away and get back with any additional thoughts as soon as I've tried this approach out properly.
- Fri 4. Jul 2008, 13:45
- Forum: hacks & enhancements
- Topic: Modified NAV_TABLE_COLUMN
- Replies: 13
- Views: 4509
Re: Modified NAV_TABLE_COLUMN
Thanks for these simple examples! They really made it easier to understand the NAV_LIST_UL. Does this mean that I would have to set the ID of the start node statically in my configuration of the tag? This would mean that I need: 1. a template for each category and set the ID to the category parent, ...
- Fri 4. Jul 2008, 09:11
- Forum: hacks & enhancements
- Topic: Modified NAV_TABLE_COLUMN
- Replies: 13
- Views: 4509
Re: Modified NAV_TABLE_COLUMN
Thanks Knut! The simple answer is "because I didn't know it existed". I have now browsed the forum a bit to find more information about it but it seems mostly to be spread out in bits and pieces. Is there a page or post anywhere that I have missed that describes the tag and it's parameters...
- Thu 3. Jul 2008, 16:59
- Forum: hacks & enhancements
- Topic: Modified NAV_TABLE_COLUMN
- Replies: 13
- Views: 4509
Modified NAV_TABLE_COLUMN
The below customisation has been tested in PHPWCMS v1.3.3. I have searched for a way to customise the simple navigation functions provided by PHPWCMS to no avail. Primarily I wanted to be able to use the nice NAV_TABLE_COLUMN tag to create a context sensitive navigation menu (compare with NAV_LIST_C...