Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: TXP Mobile
Jonathan,
you could also try this
RewriteRule ^textpattern/(.*) /admin/$1 [R=301,L]
inside the <IfModule...
block, right after the RewriteEngine on
line.
Offline
Re: TXP Mobile
No, what I mean is that the same error message as I posted above results. No change. And the same with your RewriteRule above.
Offline
Re: TXP Mobile
jstubbs wrote:
No, what I mean is that the same error message as I posted above results. No change. And the same with your RewriteRule above.
Is the path you posted right: /users/home/me/web/textpattern/textpattern/theme/txpmobile/txpmobile.php? Just wondering if you actually have it setup with two textpattern directories? It looks like it fails when trying to include the mobile theme, which would suggest that either it can’t find it or there is something wrong with the theme directory on your install.
Offline
Re: TXP Mobile
I wondered about that myself, but to be honest I initially ran Sam Weiss’ Joyent multi-site install script (I host on Joyent) and that seems to be the way the script works. I did ask him about this in the multi-site thread but he did not reply (as I recall).
Attempting to install TXP Mobile in the base directory.
Offline
Re: TXP Mobile
This looks really nice, one question if I may: The replacement textpattern/index.php file, I’m using newer builds from textpattern SVN which contains (minor) changes to that index.php file already – any chance soon of a version of that file’s changes combined with the txpmobile version being available for the 0.0001% of us on SVN builds?
I’d attempt it myself but don’t want to bork my textpattern by blindly copying and pasting stuff I don’t really know about in the first place.
Offline
Re: TXP Mobile
Isn’t there some way that what is being done in that file can be done in a plugin instead?
Actually now that I’ve looked further it looks like this duplicates tons of textpattern files in the include folder. Are they modified versions?
Last edited by MattD (2010-08-30 22:17:10)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: TXP Mobile
MattD wrote:
Isn’t there some way that what is being done in that file can be done in a plugin instead?
Actually now that I’ve looked further it looks like this duplicates tons of textpattern files in the include folder. Are they modified versions?
Oliver had to modify the textpattern files in order for them to work for the mobile version (not sure exactly what he did though). As for a plugin, I couldn’t see how this could be done as the txpmobile files need including before textpattern is initiated.
Offline
Re: TXP Mobile
I can’t see how this couldn’t be a plugin, plus I don’t know why this should be included before Textpattern is initialed. But maybe that’s just me. Any specific examples why this wouldn’t work as a plugin?
Including the replicated/modified files is just one of the ways you could replace, or slightly tweak, the panes. You could also modify the files on fly with output buffer play, or you could also replace the panes entirely from the plugin or a theme.
Nonetheless, great work Oliver and Andy :-)
Last edited by Gocom (2010-08-31 12:33:54)
Offline
#45 2010-09-07 02:43:51
- keoshi
- Member
- From: Portugal
- Registered: 2006-04-30
- Posts: 53
Re: TXP Mobile
I’m having some problems with 0.3b.
Installed it fresh and the CSS doesn’t seem to want to join the party.
The structure is correctly formatted but no style at all…am I missing something?
It worked fine with 0.2
Offline
Re: TXP Mobile
keoshi wrote:
I’m having some problems with 0.3b.
Installed it fresh and the CSS doesn’t seem to want to join the party.
The structure is correctly formatted but no style at all…am I missing something?
It worked fine with 0.2
The only thing I can think of is the theme in preferences has defaulted to classic, you can change it to what you like for desktop, but the latest version uses its own theme system.
Or have you got the latest index.php file on there?
Last edited by oliverker (2010-09-07 07:51:34)
Offline
Re: TXP Mobile
keoshi wrote:
I’m having some problems with 0.3b.
Installed it fresh and the CSS doesn’t seem to want to join the party.
The structure is correctly formatted but no style at all…am I missing something?
It worked fine with 0.2
Could you check the source code of one of the admin pages for the stylesheet url (<link rel="stylesheet" ... />
) in relation to the url for your Textpattern directory. I think I’ve noticed a similar problem myself for certain installs.
Offline
#48 2010-09-07 11:28:46
- keoshi
- Member
- From: Portugal
- Registered: 2006-04-30
- Posts: 53
Re: TXP Mobile
Oliver: nope, it’s using txpmobile. I renamed the folder for the sake of testing and I got an error, so I’m sure it’s using txpmobile.
Andy: obviously that’s it. For some reason it’s fetching the CSS from the wrong folder. I have TXP installed in xxxx.com/blog and the stylesheet link points to xxxx.com
Offline