Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: TXP Mobile
Hi Keoshi, I think I might know what the issue is. I think there is an issue in the template files. I will take a look into it later today for you.
Offline
Re: TXP Mobile
monkeyninja wrote:
Hi Keoshi, I think I might know what the issue is. I think there is an issue in the template files. I will take a look into it later today for you.
It currently has <?php echo $_SERVER['HTTP_HOST'] ?>/textpattern/.....
to find the css files what would need to be
<?php echo $_SERVER['HTTP_HOST'] ?>/*blog*/textpattern/.....
We did have $site_url at some point but I for one don’t use site url for my mobile website on a different domain
We could just use relative links ../textpattern/txpmobile/....
Actually!
I’ve change a little bit how the template works in v4 (that i’m working on) to make it easier to make themes… So i’ll send Andy it where I am upto now and that might fix a few things.
Offline
#51 2010-09-07 12:09:47
- keoshi
- Member
- From: Portugal
- Registered: 2006-04-30
- Posts: 53
Re: TXP Mobile
Andy & Oliver: thanks for your quicky responses. I’ll hardcode it for now, thanks a bunch!
Offline
Re: TXP Mobile
hello, does this support altering the Presentation tab yet? thanks!
Offline
Re: TXP Mobile
@mrtunes
I plan to do presentation tabs and others soon when I get time.
Offline
Re: TXP Mobile
Looks lovely, good work!
So, does this serve the mobile theme to mobile browsers and leave the remora theme as the main theme on my computer browser (it seems to be doing exactly that on my setup so far, with the theme pref set to txpmobile), if so then that’s perfect?
Offline
Re: TXP Mobile
philwareham wrote:
So, does this serve the mobile theme to mobile browsers and leave the remora theme as the main theme on my computer browser (it seems to be doing exactly that on my setup so far, with the theme pref set to txpmobile), if so then that’s perfect?
It does exactly that! And could quite easily be altered to any theme in the theme php file – might get round to documenting it to let people know.
Offline
#56 2011-01-12 08:40:05
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 548
Re: TXP Mobile
Excellent, that would be very useful as I use the Vitraux theme on my main website.
Offline
Re: TXP Mobile
Algaris wrote:
Excellent, that would be very useful as I use the Vitraux theme on my main website.
Ok a quick way of doing it is:
In the txpmobile.php file line 86 to 154 is the remora theme with just the theme name changed to txpmobile_theme on line 96
Put the code from the vitraux theme replacing lines 86/154 and make sure you change where it says Vitraux_theme to txpmobile_theme.
You will also need to add the the themes css file (usually textpattern.css?) and any other images files etc keeping them in the same structure. The textpattern.css file in my txpmobile theme is that of remora so can be replaced as I have used a different css file for this very instance.
Hope it goes well – let me know how you get on.
Offline
Re: TXP Mobile
Since I can upload images from android on the normal theme can you add support for uploads in txpmobile?
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
Re: TXP Mobile
Wonderful.
This now works in 4.3.0 without a hitch in multi-site mode. Love it love it… tip on the way.
Offline
#60 2011-04-24 03:28:38
- mrh
- New Member
- Registered: 2008-10-04
- Posts: 3
Re: TXP Mobile
OK, please excuse me for jumping in here. I have Txp 4.4.0 installed with the TxpMobile v0.4.1. And I get all the same errors that we see below, with the:
Warning: Cannot modify header information – headers already sent by…
Following the thread appears that things have been fixed.
My question is have they been tested with Txp 4.4 and TxpMobile 0.4.1 ?
— No matter where you go, there you are.
Offline