Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2010-09-07 11:34:50

monkeyninja
Plugin Author
From: Sheffield, UK
Registered: 2008-10-14
Posts: 239
Website

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

#50 2010-09-07 11:43:48

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

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

#52 2010-11-15 15:40:14

mrtunes
Member
From: Toronto, On
Registered: 2007-03-12
Posts: 575
Website

Re: TXP Mobile

hello, does this support altering the Presentation tab yet? thanks!

Offline

#53 2011-01-11 18:44:16

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

Re: TXP Mobile

Update v0.4

@mrtunes
I plan to do presentation tabs and others soon when I get time.

Offline

#54 2011-01-11 19:17:12

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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

#55 2011-01-11 19:21:30

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

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

#57 2011-01-12 08:50:20

oliverker
Plugin Author
From: Huddersfield
Registered: 2008-07-14
Posts: 90
Website

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

#58 2011-01-12 09:33:00

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: TXP Mobile

Since I can upload images from android on the normal theme can you add support for uploads in txpmobile?


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#59 2011-03-07 04:35:57

jagorny
Member
From: Portland, OR
Registered: 2006-08-24
Posts: 39
Website

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

Board footer

Powered by FluxBB