Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#109 2005-04-25 17:59:46
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
FYI – I made a few minor changes to the plugin code so that it properly resolves “section/id” URLs and date filtering URLs using rss_suparchive.
If anyone is interested I can post the changes.
Offline
#110 2005-04-26 12:37:03
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
Wilshire –
The forum was down last night, I sent you and email about doing some testing, let me know if you’re still interested.
The new version supports cutom URL schemes so you’ll be able to add /section/id. You’ll also be able to set what the plugin does with a specific scheme (e.g. have sgb_url_handler do nothing so another plugin can handle the URL).
All –
The plugin will be posted in a day or two, I need to write up instructions on the new features and finish testing some things.
- sgb
Offline
#111 2005-04-26 12:38:16
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
sgb – I didn’t get an email but I’d be happy to help test.
Offline
#112 2005-04-26 13:20:40
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
sgb- great to hear it’s coming. It’s a great plugin!
Offline
#113 2005-04-27 14:21:06
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
sgb, like will i’m also very much looking forward to it for a may 1st reboot. is there anything i can do to help? back rub? coffee? :)
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
#114 2005-05-04 02:37:59
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
Anyone know if this or any plugin can be used to get the following permalinks: /section/ID
?
Basically, my client would like to be able to link between her articles using a simple "link" :/section/ID
format.
Thanks, Cameron
“If you build it, they will come.”
Offline
#115 2005-05-04 05:04:18
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
You can use section/id/title
which comes with TXP out of the box. TXP doesn’t need the titles to determine the articles they are just added for human conveniece.
Offline
#116 2005-05-04 15:18:47
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
Ok I’m a bit daft sometimes so you’ll have to excuse me, but I’m lost!
I just installed this plugin and I didn’t install its sgb_error companion yet. Now I’ve got my permlinks set to section/title in my txp prefs and i made an article in the journal section, under the journal category and its title is Try This so the the link that forms for it would be:
http://www.blog.dev/journal/try-this
And then to test to see if this plugin was working I typed:
http://www.blog.dev/try-this
into the browser bar since the plugin said it allows site.com/title links but when I do this i keep getting the default page and not the article. Is this supposed to happen, have I done something wrong? And I read something about adding index.php to the site urls and modifying the TXP source, do I do this if have mod_rewrite enabled?
Last edited by marz (2005-05-04 15:21:06)
Offline
#117 2005-05-04 21:29:59
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
> andreas wrote:
> You can use section/id/title
which comes with TXP out of the box. TXP doesn’t need the titles to determine the articles they are just added for human conveniece.
Thanks Andreas – you’re right, this is a solution. Cheers, C
“If you build it, they will come.”
Offline
#118 2005-05-05 13:54:30
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
I do believe I may be having a brainfart, but I’m trying to do something like:
http://www.domain.com/section/pluginspecificpage/1/ or:
http://www.domain.com/section/pluginspecificpage/showall/
http://www.domain.com/section/pluginspecificpage/?action=1 (this will work, but I would prefer to not do it this way, if possible)
Obviously it’s not an article that I’m attempting to pull up, and as a result, with this plugin, I get a 404. How would I go about letting this plugin (and perhaps txp) know that in this instance and any later plugin generated results, it’s an acceptable URL?
Offline
#119 2005-05-12 07:52:25
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
What is the difference between zem_rewrite plugin and this one?
Why is the trigger for author not implemented?? Your documentation gives the option example.com/{author}/Author when i look through your code i find that the trigger for author is disabled!
Last edited by ifeelcool.com (2005-05-12 08:10:05)
Offline
#120 2005-05-19 14:29:58
Re: [plugin] [ORPHAN] sgb_url_handler - support all url variations at the same time
I did a small change to sgb_url_handler v. 0.1.5
I added
<code>
$c = (ckEx(‘category’, $parts1)) ? $parts1 : null;
</code>
to the case <code>// Must be /Section/Category/Title</code>
this alows me to use the global $c around my page, for example highlight the category iam in my category list.
edit: ops textile messed that up, but anyway, it is the same line that is used just some lines above this case.
Last edited by osei (2005-05-19 14:31:37)
Johan Nilsson
Offline