Maciej Ku? (maciekkus)
Forum Replies Created
-
Forum: Plugins
In reply to: [Orphans] Pro?ba o filtr "iworks/orphan/replace"??
Forum: Plugins
In reply to: [Orphans] Pro?ba o filtr "iworks/orphan/replace"OK.
dzi?ki.Forum: Plugins
In reply to: [Plugin: WP Super Cache] How to cache two different views of page?ok. thanks..
I see I have to change .htaccess code slightly too..Forum: Fixing WordPress
In reply to: continued 500 / htaccess problemthe same just happend to one of my blogs. really strange issue
Forum: Plugins
In reply to: [Plugin: WP Super Cache] Avoid caching if certain cookie is presentHello Donncha,
Could you describe it with details?
On my site I have two different views of posts (depending on a cookie) and would like to have cached both versions of page.I thought about creating separate htaccess rules set for these views, but I would need to modify wp-super-cache somehow to generate two types of cache files.. and additionaly I would like to have it future-versions-proof..
Forum: Fixing WordPress
In reply to: WP 2.2.1 wp_cache 2.1.1 php 5.2.3Hi!,
try to find ob_clean() in wp-cache-phase2.php and replace it with ob_flush()
You will find other answers to your problem on this forum too. (more detailed)
Hello,
Does anybody knows how… or where to look for a solution of embedding ImageManager plugin (from HtmlArea) to TinyMCE – in such way that all that together could work in WordPress?Maciek
Forum: Fixing WordPress
In reply to: Feature request..I think that viewing one category will be sufficient.
I am trying to use wordpress as a simple CMS, and searching posts with specified category would ease the task of managing content.
Thanks for answer.
Maciek
ps. Merry Christmas to all ?? and Happy New Year 2005Forum: Fixing WordPress
In reply to: Philosophy of WordPress APIthat’s great news ??
Forum: Everything else WordPress
In reply to: Using Pages in 1.3@techgnome
That’s the challenge ??
@anonymous:
It works for me. But I’ll try to convert it to plugin (don’t know how yet, but I will try ??
MaciekForum: Everything else WordPress
In reply to: Using Pages in 1.3@all
Thank you for help,
I’ve got one more question:
I want to make a navbar with links to my pages. But I want it to be automatically updated each time I edit or add page.
So I checked how wordpress does that.
In wp-admin/edit-pages.php file there is php code that gets pages record from table containg all posts. (pages as I know now are static posts)
global $wpdb;
if (isset($user_ID) && ('' != intval($user_ID))) {
$posts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static' AND post_author = $user_ID");
} else {
$posts = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_status = 'static'");
...
foreach ($posts as $post) : start_wp();
<?php the_title() ?>
<?php the_author() ?></td>
<?php the_time('Y-m-d g:i a'); ?></td>
" rel="permalink" class="edit"><?php _e('View'); ?>
Modifiying that code I can generate dynamically menu to my pages. But it isn’t elegant way – or maybe it’s the only way to do what I want?
Maciek Ku??, ibex.pl