Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-03-16 19:45:40

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Articles not displaying, sections blank, slideshow not working, etc...

Hi folks,

Several issues here: http://www.fonmedia.co.uk/

Attempting to build a site for a friend after finishing my own with textpattern.

Would seriously appreciate any help given on above problems as my brain has gone to mush!

Cheers!


www.kimstewart.co.uk

Offline

#2 2011-03-16 20:01:14

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: Articles not displaying, sections blank, slideshow not working, etc...

When you view the page source, and check the tag trace at the bottom, are all the txp:if_section set up as you want them to be?

Offline

#3 2011-03-16 20:14:55

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

Re: Articles not displaying, sections blank, slideshow not working, etc...

You have a <txp:if_section name="Home"> twice, one on the page I think, and one in form ‘gallery’. For the front page you need <txp:if_section name="">.

Offline

#4 2011-03-16 22:18:52

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Articles not displaying, sections blank, slideshow not working, etc...

Hey guys,

Thanks for input but the page source on blank sections is empty. Also, already had this on front page <txp:if_section name=”“>…

Any other ideas?


www.kimstewart.co.uk

Offline

#5 2011-03-16 22:32:52

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,302

Re: Articles not displaying, sections blank, slideshow not working, etc...

Look where your second opening and closing body tags might come from.

Edit: Just read the “blank page” remark: Blank pages stem mostly from improper closing of tags.

Last edited by uli (2011-03-16 22:45:24)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2011-03-16 22:57:15

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Articles not displaying, sections blank, slideshow not working, etc...

Ok… thanks. I’ve gone over everything and can’t see tags I’ve not closed but I am quite new at all this so maybe I’ve overlooked one? Would there be any other reason? I may have had config.php setup issues as I accidentally pressed the ‘I did it’ option before actually uploading the code it generated via ftp… However, I immediately uploaded it. Could this be affecting anything?


www.kimstewart.co.uk

Offline

#7 2011-03-16 23:14:35

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,302

Re: Articles not displaying, sections blank, slideshow not working, etc...

Having pressed ‘I did it’ accidentally is not part of your problem. You’ve not found the duplicate body tags, so you probably didn’t look careful enough.

E.g. in your div id="head" there’s another pair of body tags.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2011-03-16 23:15:00

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Articles not displaying, sections blank, slideshow not working, etc...

I’ve got a 404.shtml file in ftp window… also a blank .htaccess file… this is not good, is it?


www.kimstewart.co.uk

Offline

#9 2011-03-16 23:16:38

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,302

Re: Articles not displaying, sections blank, slideshow not working, etc...

Do not only look at the page, take faults stemming from forms into consideration, too.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#10 2011-03-16 23:19:10

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Articles not displaying, sections blank, slideshow not working, etc...

Could it be my head form? Trying to have a slideshow with jquery cycle lite and head looks a bit iffy (not sure how to deal with it):

—————————————————————————————————————————————————-
<div id=“head”>
<body>

<div class=“slideshow”> <txp:image id=“4” width=“700” height=“84” /> <txp:image id=“5” width=“700” height=“84” /> <txp:image id=“6” width=“700” height=“84” />

<txp:section_list wraptag=“ul” break=“li” active_class=“active” sections=“our_work, our_people, contact_us” include_default=“1” default_title=“Home”/>
</body>

</div>
—————————————————————————————————————————————————-


www.kimstewart.co.uk

Offline

#11 2011-03-16 23:28:24

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,302

Re: Articles not displaying, sections blank, slideshow not working, etc...

This form contains the redundant body tags, yes.

But the blank screens are caused by section specific code.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#12 2011-03-16 23:35:54

kstewart
Member
Registered: 2011-03-09
Posts: 71
Website

Re: Articles not displaying, sections blank, slideshow not working, etc...

Removed said redundant tags, cheers. Not seeing any relevant section specific code which could be affecting things…


www.kimstewart.co.uk

Offline

Board footer

Powered by FluxBB