Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#41 2012-07-12 14:22:05

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: Yoko for Textpattern

Messy URLs and fixed IP are not related. You just need to have rewriting rules active for clean urls to work.
Do you want to continue with messy URLs? If you anyways want to have clean URLs working I can help you get this running ;)
What webserver do you use?

Update: The links are free text, you can just adjust them if you go to the form yoko_widget_text.

Last edited by stephan (2012-07-12 14:25:07)


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#42 2012-07-12 14:52:10

spud693
New Member
Registered: 2012-07-09
Posts: 8

Re: Yoko for Textpattern

I have a lamp server, running on a raspberry pi behind my tv, lol.
Thanks for getting back to me – I’m willing to use whichever method you consider to be the best as I’m fairly new to this! I’ve read up a little, are rewriting rules done in .htaccess?

Offline

#43 2012-07-12 15:02:21

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: Yoko for Textpattern

Yes, excatly. .htaccess is your friend. You can find the required settings in the diagnose tab or simple add those to your file (create .htaccess if it does not exist yet):

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php

Then adjust the url mode to clean and you should be good to go :)


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#44 2012-07-12 18:38:11

spud693
New Member
Registered: 2012-07-09
Posts: 8

Re: Yoko for Textpattern

Okay – I found my .htaccess in my web root, opened it up – it already has all those conditions in there, along with a few others. I backed it up, deleted everything but the lines above, changed permanent link mode to /Id/title , but unfortunately that isn’t working….

Offline

#45 2012-07-12 19:43:59

els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Yoko for Textpattern

spud693 wrote:

I have a lamp server,

You need to enable mod_rewrite in Apache. Does this help?

Offline

#46 2012-07-12 20:57:52

spud693
New Member
Registered: 2012-07-09
Posts: 8

Re: Yoko for Textpattern

Excellent, that did it – thanks again to you both! Most appreciated!

Offline

#47 2012-07-13 07:08:59

spud693
New Member
Registered: 2012-07-09
Posts: 8

Re: Yoko for Textpattern

One last thing – I notice that the page doesn’t resize for mobile devices when accessed via my domain name with framed forwarding, is there any way around this or will I need to disable framed forwarding?

Thanks

EDIT

Bit more info, my domain (spud693.co.uk) has framed web forwarding, setup to access spud693.myftp.org, a no-ip redirect address which links to whatever my current ip address is at the time.

If I open my domain, it will not format for mobile devices. If I open the no-ip link directly, it will.

Ideally I would like to retain the framed forwarding as it just looks tidier, displaying the domain in the address bar, but if it isn’t possible I’ll scrap it.

I’ve also noticed the contact form isn’t working, and if someone comments it doesn’t notify me. I assume I need to set these up somehow?

Sorry for all the questions!

Last edited by spud693 (2012-07-14 07:14:00)

Offline

#48 2012-07-15 16:49:35

spud693
New Member
Registered: 2012-07-09
Posts: 8

Re: Yoko for Textpattern

Okay, i’ve sorted the formatting issue – instead of web forwarding i’ve set up a CNAME record with my domain provider and it now works correctly – still a bit lost on the comments / contact issue though.

Offline

#49 2012-07-17 11:31:45

stephan
Plugin Author
From: Bochum, Germany
Registered: 2004-07-26
Posts: 196
Website

Re: Yoko for Textpattern

What about comments and contact? You need to define a contact email-address in the yoko-theme-variables tab. For comments, you need to do some tweaking (see here: http://yoko.yauh.de/articles/installation-of-the-theme).
Let me know if anything is still unclear to you.

Last edited by stephan (2012-07-17 11:31:56)


Yoko for Textpattern – A free blog themeMinimum Theme – If all you want to do is write.
Note: I am currently not actively using Textpattern, so I am not in the forums very often

Offline

#50 2012-07-18 07:26:49

spud693
New Member
Registered: 2012-07-09
Posts: 8

Re: Yoko for Textpattern

Hi, thanks for getting back to me again. I have my email address in yoko variables, but if I try to send a message using it I just get ‘Sorry, unable to send email’. I have followed the instructions on your link but it still doesn’t email me to advise that somebody has commented on a post, so I can moderate it.

Thanks,

Offline

Board footer

Powered by FluxBB