Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-05-25 22:48:04

maica
Member
From: Utrecht (NL)
Registered: 2004-07-07
Posts: 15
Website

retard-proof explanation asked for zem_rewrite (and/or clean urls)

I have been fiddling with zem_rewrite and searching this forum, textbook and other resources for help. Still, I haven’t managed to get this plugin to work. At this moment I feel quite stupid and it looks like learning to yodel might have as much effect as everything else I’ve tried so far. But then I thought, niet geschoten is altijd mis (something like ‘if you don’t shoot you’ll miss anyway’) – let me try the brainy TXP forum members, maybe they can help me with some retard-proof explanation.

As I am one of those (oldfashioned?) persons thats needs more then one directory level in order to be able to present content in a nice structure, I really need (want) this to get to work one way or another. To close the gap betweent my current situation / the desired one, here are my questions concerning (neat urls in general and) the zem_rewrite plugin in particular:

If I understood well, there are three tags that trigger the zem_rewrite plugin:

  • (txp:zem_permlink)linktext(/txp:zem_permlink) – behaves like (txp:permlink)
  • (txp:zem_sectionlink name=“section”) linktext(/txp:zem_sectionlink) – links to a section.
  • (txp:zem_categorylink name=“category”)linktext(/txp:zem_categorylink) – links to a category
I wonder…
  1. are there any more attributes we need to add to these links? I remember I saw in a post some thing like (txp:zem_permlink scheme=“article”)?
  2. can we use these 3 tags everywhere, or maybe only in an article, a page or a form?
  3. do we need to do something to the ‘URL-only title’ in existing articles for them to work with zem_rewrite?
  4. is it still possible to use links from the link categories? If yes, how, if no, why?

Another thing: I read in zem’s topic on the plugin that you need to set permanent link mode to ‘clean’. I’m working with 1.0rc3 here, so I wonder, does that mean ANY of the clean urls modes? Or do I need to hack in some file somewhere and change something? What?

Needless to say, I am extremely impressed with Textpattern and I would love to work with it more effectively. Also needless to say is that (imhumbleo) the lack of proper built-in directory support seems to be the only thing that stands between the current Textpattern and the World Dominating Textpattern…

This might be a handy moment to display the diagnostics on my install:

Textpattern version: 1.0rc3
Document root: /home/ikontwer/public_html
$path_to_site: /home/ikontwer/public_html/admin
Textpattern path: /home/ikontwer/public_html/admin/textpattern
Permanent link mode: section_title
Temp folder: /home/ikontwer/public_html/admin/textpattern/tmp
Site URL: www.ikontwerp.nl/admin
PHP version: 4.3.11
Register globals: 1
Magic quotes: 1/0
Locale: en_GB.UTF-8
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.6b PHP-CGI/0.1b

.htaccess file contents:

————————————

RewriteEngine On

(#Passthrough for existing files and directories)
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]

(#Everything else should go through Textpattern)
RewriteRule (.*) index.php

————————————

May The More Intelligent be with me!

Cheers to all, Maica

Offline

#2 2005-05-25 22:55:34

MikkelM
Member
From: Denmark
Registered: 2004-10-28
Posts: 26
Website

Re: retard-proof explanation asked for zem_rewrite (and/or clean urls)

This is completely off-topic, sorry, but where do I find that kind of diagnostics?

I’d like some kind of fool proof solution too..

Offline

#3 2005-05-25 23:01:45

maica
Member
From: Utrecht (NL)
Registered: 2004-07-07
Posts: 15
Website

Re: retard-proof explanation asked for zem_rewrite (and/or clean urls)

those are under the admin tab (admin > diagnostics)

Offline

#4 2005-05-26 01:34:36

MikkelM
Member
From: Denmark
Registered: 2004-10-28
Posts: 26
Website

Re: retard-proof explanation asked for zem_rewrite (and/or clean urls)

Not in mine :(

that’s weird?!

Offline

#5 2005-05-26 01:40:01

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: retard-proof explanation asked for zem_rewrite (and/or clean urls)

What version are you running (look near the bottom of any admin page)? Its a feature of RC3.

Offline

#6 2005-05-26 01:48:41

MikkelM
Member
From: Denmark
Registered: 2004-10-28
Posts: 26
Website

Re: retard-proof explanation asked for zem_rewrite (and/or clean urls)

Textpattern · 1.0rc3 … I’m posting a problem in every post ;)

Sad …

Offline

Board footer

Powered by FluxBB