Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: gbp_permanent_links
i was using nck_olm but got all kinds of errors when i upgraded to 4.0.4. – i’m so glad i found this.
one thing: the comments_invite tag outputs as the general site url (i.e. url.com/journal) vs. what it normally does (i.e. url.com/?parentid=506). do you know why this is happening?
thanks so much!
Last edited by andrea (2006-10-18 12:04:29)
Offline
Re: gbp_permanent_links
andrea wrote:
one thing: the comments_invite tag outputs as the general site url (i.e. url.com/journal) vs. what it normally does (i.e. url.com/?parentid=506). do you know why this is happening?
I can’t reproduce – this it is working fine for me. Are you able to email me the debugging output? As described here
Thanks
Offline
Re: gbp_permanent_links
oops, figured it out i think. user error, sorry. if i delete the permanent links rule i created but keep the plugin active, then the comment link in my posts work fine. later tonight i’ll figure out what i did wrong with my rule. thanks.
Offline
Re: gbp_permanent_links
andrea wrote:
oops, figured it out i think. user error, sorry. if i delete the permanent links rule i created but keep the plugin active, then the comment link in my posts work fine. later tonight i’ll figure out what i did wrong with my rule. thanks.
It might still be a plugin error. Would you try reinstating the rule and send me the debugging info.
Offline
Re: gbp_permanent_links
If it is too hard to include also image categories in the admin interface (see my previous post in this thread) may I suggest that you can let the user manually modify a rule that has been created?
I mean: I could use the articles categories to write a rule. Then manually edit the rule to change the categories to use image cats instead. This would free you from making the image cats appear in the drop-down lists.
What do you think?
Z-
Offline
Re: gbp_permanent_links
Graeme – This is fantastic work! I do have one question though. Do you plan to introduce the Page Template override to this plugin that you have in gbp_faux_static? It’s the one piece that’s missing for me…
Thanks!
Offline
Re: gbp_permanent_links
kimili wrote:
Graeme – This is fantastic work! I do have one question though. Do you plan to introduce the Page Template override to this plugin that you have in gbp_faux_static? It’s the one piece that’s missing for me…
Yes. In fact I added that feature this morning! While working on transferring an existing site to TxP 4.0.4 and to gbp_permanent_links.
Here is a pre-release of version 0.9
:)
Offline
Re: gbp_permanent_links
Wow – that was fast service!
I’m having a bit of an issue with it though. I have one of my rules set up as /section/tags/category with tags set as static text. Although it does work, it throws the following error to the page:
Notice: missing_article_tag: tags in /Users/michael/Sites/__kimili__/2006/www/textpattern/publish.php on line 462
I’m running TXP 4.0.4 and I’ve tried it with the plugin’s debug mode both on and off with the same result. Any ideas?
Offline
Re: gbp_permanent_links
kimili wrote:
Wow – that was fast service!
I’m having a bit of an issue with it though. I have one of my rules set up as /section/tags/category with tags set as static text. Although it does work, it throws the following error to the page:
Notice: missing_article_tag: tags in /Users/michael/Sites/__kimili__/2006/www/textpattern/publish.php on line 462
I’m running TXP 4.0.4 and I’ve tried it with the plugin’s debug mode both on and off with the same result. Any ideas?
That error isn’t related to my plugin. I believe it is due to a new feature in 4.0.4 to do with, as you might be able to guess, not having an article tag on page templates. Not sure what can be done about that.
Maybe include <txp:article pgonly="1" /> which won’t output anything. I’m not sure tho.. I can’t test it at the moment.
Offline
Re: gbp_permanent_links
Thanks Graeme – I had TXP’s debugging mode turned on when I got that error. I have a raw php call to output the article list on that template, which is why the error was being thrown. Your suggestion to include <txp:article pgonly="1" /> worked like a charm though.
Thanks again for the great plugin!
Offline
Re: gbp_permanent_links
I have run against a problem :) I just tried your pre release v9 hoping to cure my ill, but alas, no good. The plug seems to be breaking video output from bas_flv, which grabs a movie file id from a custom field, wraps it and places it on the page. The plugin is not stopping the markup being output, but seems to be stopping the file output.
(not working) output with your plugin enabled:
<div class="mov"><object type="application/x-shockwave-flash" data="http://localhost/txp-4.4/index.php?s=file_download&id=60?file=http://localhost/txp-4.4/index.php?s=file_download&id=46&autoStart=false" width="320" height="240">
<param name="movie" value="http://localhost/txp-4.4/index.php?s=file_download&id=60?file=http://localhost/txp-4.4/index.php?s=file_download&id=46&autoStart=false" />
<param name="wmode" value="transparent" />
</object></div><!--end class mov-->
(working) output with your plugin disabled:
<div class="mov"><object type="application/x-shockwave-flash"
data="http://localhost/txp-4.4/file_download/60?file=http://localhost/txp-4.4/file_download/46&autoStart=false" width="320" height="240">
<param name="movie" value="http://localhost/txp-4.4/file_download/60?file=http://localhost/txp-4.4/file_download/46&autoStart=false" />
<param name="wmode" value="transparent" />
</object></div><!--end class mov-->
“http://localhost/txp-4.4/index.php?s=file_download&id=60?file=http://localhost/txp-4.4/index.php?s=file_download&id=46&autoStart=false” width=“320” height=“240”
vs.
“http://localhost/txp-4.4/file_download/60?file=http://localhost/txp-4.4/file_download/46&autoStart=false” width=“320” height=“240”
and…
“http://localhost/txp-4.4/index.php?s=file_download&id=60?file=http://localhost/txp-4.4/index.php?s=file_download&id=46&autoStart=false”
vs.
“http://localhost/txp-4.4/file_download/60?file=http://localhost/txp-4.4/file_download/46&autoStart=false”
The url output difference is pretty dramatic, so I am not even sure this is solvable, but I figured I would ask anyway.
Thanks!
Jamie
[edit] Thats is using default url scheme of section/cat/title (plug) vs section/title (txp)
Last edited by soulship (2006-10-26 18:47:42)
Offline
Re: gbp_permanent_links
soulship wrote:
I have run against a problem :) I just tried your pre release v9 hoping to cure my ill, but alas, no good.
<snip>
The url output difference is pretty dramatic, so I am not even sure this is solvable, but I figured I would ask anyway.
Interesting, thanks for reporting it. Although I can’t initially reproduce this I but have some ideas which I will try.
I’m sure this is solvable. Give me a couple of days.
Offline
Re: gbp_permanent_links
Thanks, I’ll subscribe to the thread and see what you come up with.
Jamie
Offline
Re: gbp_permanent_links
Graeme,
First off amazing plugin. I can only imagine the amount of work that went into this and it is just so easy to get going with it.
I’m running into an issue using the redirect function. I have one rule set to generate /section/category/title links (I know how amazingly original) with a precedence 0.
I then have another rule with a precedence of 1 set to /section/id/title and telling it to redirect to the /section/category/title rule above. The redirect works but in the process of redirecting it strips the hostname replacing it with the ip address. For example it redirects http://hakjoon.test/words/43/textile-for-upmquicktags/ to http://127.0.0.1/words/43/textile-for-upmquicktags/ which fails in a name based virtual host environment.
This was with 0.9a
Hope that makes sense. Again amazing piece of work.
What are suffix and prefix for?
Shoving is the answer – pusher robot
Offline
#45 2006-10-27 04:00:08
- matthewwithanm
- Member
- Registered: 2006-09-28
- Posts: 12
Re: gbp_permanent_links
Awesome plugin!
Any chance of an option that omits the trailing slash from links?
Offline