Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Some wishlist suggestions
ahh thank you! i work with a few servers (ahem netfirms) that simply refuse to accept clean urls. i’ll give it a shot!
Offline
Re: Some wishlist suggestions
premek.b wrote:
BTW, how do you include the css into a page? By simple absolute/relative URI pointing to the generated file, or via a modified <txp:css >?
I’ve created a <txp:rvm_css /> tag, similar to <txp:css> that creates the correct direct link to the static CSS file. The advantage of letting a TXP tag handle this is that it automatically updates the link if a different stylesheet is selected for a section.
_
Offline
Re: Some wishlist suggestions
premek.b wrote:
iblastoff wrote: i’m just curious, what is your source mod you’re using to achieve “sort of” clean urls for your otherwise messy url scheme?
I put the section-title messy url mod at my site; it’s a diff of three 4.0.5 distro files.
Premek
just wanted to add that i tried this out and it works wonderfully. thank you! though when using <txp:section_list />
it seemed to convert to fully clean urls (ie. sitename.com/contact instead of sitename.com/index.php?s=contact) and thus broke it.
Last edited by iblastoff (2007-11-04 09:38:57)
Offline
Re: Some wishlist suggestions
iblastoff wrote:
when using
<txp:section_list />
it seemed to convert to fully clean urls
Aaah, good catch; thanks. Change txplib_misc.php line 1674 to
if (($permlink_mode 'messy') || ($permlink_mode 'messy-section_title'))
That should cure it (the mod at my site is updated accordingly).
Premek
“So, where is the patch?”
((former nick pbrada))
Offline
Re: Some wishlist suggestions
ruud wrote:
I’ve created a <txp:rvm_css /> tag, similar to <txp:css> that creates the correct direct link to the static CSS file. The advantage of letting a TXP tag handle this is that it automatically updates the link if a different stylesheet is selected for a section.
I see; that’s good. So, would you share the plugin please?
Premek
“So, where is the patch?”
((former nick pbrada))
Offline
Re: Some wishlist suggestions
ruud wrote:
Wet is working on this, won’t happen in 4.0.x (…) I’ll be working on that in crockery (not just for articles) …
[the above is my personal opinion, not necessarily that of the TXP dev team ;)]
Is there any roadmap/timeline/schedule that would tell anyone interested, like me and iblastoff, when can we expect things to be rolled out from crokery to a public release?
Premek
“So, where is the patch?”
((former nick pbrada))
Offline
#19 2007-11-05 10:07:31
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Some wishlist suggestions
Nope. It will be done when it is done.
Offline
Re: Some wishlist suggestions
iblastoff wrote:
when using
<txp:section_list />
it seemed to convert to fully clean urls
premek.b wrote:
Aaah, good catch; thanks. Change txplib_misc.php line 1674 to
if (($permlink_mode 'messy') || ($permlink_mode 'messy-section_title'))
That should cure it (the mod at my site is updated accordingly).
Premek
just wanted to say it works great. thanks again!
edit: grr i hate the way this board quotes. it always gets it wrong!
Last edited by iblastoff (2007-11-05 12:09:56)
Offline
Re: Some wishlist suggestions
fyi for anyone using this ‘sort-of’ clean url hack, if you also have file downloads you will have to change this:
around line 1720 in txplib_misc.php:
from
return ($permlink_mode == 'messy') ?
to
return ($permlink_mode == 'messy' || $permlink_mode == 'messy-section-title') ?
Last edited by iblastoff (2007-11-10 19:21:13)
Offline