Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Blank page when opening section frontpage
Try to open http://uromax.ru/slovar/ – nothing is outputting, but:
1. there is tagtrace (look to the raw code)
2. articles from this section output with no problems – try this or this
3. here is full diagnostic
Is this problem solveable? :)
Last edited by the_ghost (2008-01-30 17:36:05)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Blank page when opening section frontpage
why do you use <txp:glx_if_not_frontpage>
and not the <txp:else />
statement?
your code could be <txp:glx_if_frontpage> show something <txp:else /> show something else </txp:glx_if_frontpage>
Last edited by colak (2008-01-28 15:32:26)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Blank page when opening section frontpage
2 colak – Very simple – glx_if seems not to have else
:)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Blank page when opening section frontpage
Hi Victor
this is how I use it in neme.rg/main/
glx_if doen’t but txp does.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Blank page when opening section frontpage
Why using useless conditional plugin? That’s old plugin before textpattern had all those conditionals included in core. So that plugin is nowdays useless.
<txp:if_section name=""><txp:else /><txp:if_category><txp:else /></txp:if_category></txp:if_section>
Nesting does the exatly same. I just wonder why people use that plugin – you could figure that it’s implemented to core from it’s age. Other commonly used useless plugin is gaw_if_comment_preview – txp:if_comment_preview does the same…
Cheers!
Last edited by Gocom (2008-01-29 06:05:03)
Offline
#6 2008-01-29 07:25:36
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Blank page when opening section frontpage
What did you modify in taghandlers.php?
Offline
Re: Blank page when opening section frontpage
2 Gocom – ok, it’s a codent reason. I made it work with native txp tags. Thanks you :)
2 Mary – Don’t remeber exactly… You can look through this file here, but it doesn’t matter – i changed back old taghandlers.php (error message in diagnostic tab disspapeared), but section /slovar/ still doesn’t work :(
Last edited by the_ghost (2008-01-29 10:15:52)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Blank page when opening section frontpage
- Other section frontpages work: article and clinics
- On slovar page we have no any output except tagtrace – all sections use one page template – default…
- Tried to open second page of setion and got it working! But
pg=1
doesn’t work…- http://uromax.ru/category/a?pg=2 works, but http://uromax.ru/category/a doesn’t…
I’m really got stucked :\ Mistic
Last edited by the_ghost (2008-01-29 23:40:11)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
#9 2008-01-30 21:51:07
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Blank page when opening section frontpage
Could you disable your plugins, and see what happens?
Offline
Re: Blank page when opening section frontpage
Thanks for advice! – the problem is was in rss_auto_excerpt
plugin…
The misctic is:
<txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="22"/>
– works<txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="38"/>
– works<txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="39"/>
– doesn’t work<txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="40"/>
– doesn’t work (this value was set firstly)<txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="41"/>
– works
:) Thank you very much! Me headache is defeated
Truth is out there indeed © Mulder & the_ghost
Last edited by the_ghost (2008-01-30 22:29:17)
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Offline