форум общения русскоязычных пользователей CMS Текстпаттерн
Вы не зашли.
Раньше было все в порядке, а теперь запускаю редим отладки о на странице используемой двумя секциями одна и та же ошибка.
Ошибка тега: <txp:article limit=1 form="static_article" /> -> Textpattern Warning: Значения атрибутов должны быть в "кавычках" on line 1035
textpattern/lib/txplib_misc.php:1035 trigger_error()
textpattern/publish.php:1169 splat()
textpattern/publish.php:1091 processTags()
textpattern/publish/taghandlers.php:3584 parse()
textpattern/publish.php:1169 if_search()
textpattern/publish.php:1104 processTags()
textpattern/publish.php:535 parse()
index.php:45 textpattern()
Копал-копал, не нашел в чем дело. У меня вот так в коде страницы <txp:article limit="1" form="static_article" /> единичка в кавычках, как положено. Пол ночи копаю. Может Вы свежим взглядом посмотрите, увидите недочет. Вот страница:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="<txp:css />" type="text/css" /> <title><txp:page_title /></title> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> </head> <body> <div id="container"> <!-- head --> <div id="head"> <h1><txp:link_to_home><txp:site_name /></txp:link_to_home></h1> <h4><txp:site_slogan /></h4> </div> <div id="navigation"> <ul> <txp:section link="1" title="1" name="article" wraptag="li" /> <txp:section link="1" title="1" name="contact" wraptag="li" /> <txp:section link="1" title="1" name="sendme" wraptag="li" /> <txp:section link="1" title="1" name="nomer6" wraptag="li" /> <txp:section link="1" title="1" name="gooo" wraptag="li" /> <txp:section link="1" title="1" name="arhive" wraptag="li" /> </ul> <txp:search_input wraptag="p" form="search_input" /> </div> <!-- right --> <div id="right"> <table border="1" align="center"><tr><td align="center"> <txp:smd_calendar firstday="1" dayformat="{Вс,Пн,Вт,Ср,Чт,Пт,Сб}" monthformat="{Январь,Февраль,Март,Апрель,Май,Июнь,Июль,Август,Сентябрь,Октябрь,Ноябрь,Декабрь}"> </txp:smd_calendar> _______________________________ </td></tr></table> <h3><em>Категории</em></h3> <ul class="categories"> <txp:category_list break="li" /> </ul> <h3><em>О блоге</em></h3> <p>Приветствую на своем личном персональном блоге. Я BOMBER. Здесь я излагаю свои мысли, замечания, задумки, а вы их комментируете. Прошу в комментариях не использовать не нормативную лексику (ее использует только Администратор), никого не оскорблять, не провоцировать между рассовую и межнациональную рознь, не затрагивать религиозные взгляды других пользователей. Публиковать тексты противоречащие УК и Конституции РФ, а так же других стран. Спасибо что уделили внимание моему проекту. </p> <h3><em>Новое в блоге</em></h3> <ul class="posts"> <txp:recent_articles limit="10" break="li" /> </ul> <h3><em>Наши ссылки</em></h3> <ul class="posts"> <txp:linklist limit="5" form="plainlinks" sort="rand()" break="li" /> </ul> <txp:if_individual_article> <h3><em>Еще</em></h3> <ul class="posts"> <txp:related_articles limit="5" break="li" /> </ul> </txp:if_individual_article> <txp:if_section name=""> <h3><em>Rss -каналы</em></h3> <ul class="feeds"> <li><a href="/?rss=1" title="XML feed">RSS</a></li> <li><a href="/?atom=1" title="XML feed">Atom</a></li> </ul> </txp:if_section> </div> <!-- center --> <div id="center"> <txp:if_search> <txp:article limit="10" /> По Вашему запросу <b><txp:page_url type="q" /></b><br /> найдено статей: <b><txp:search_result_count text="" /></b><br />. <txp:else /> <txp:article limit="1" form="static_article" /> </txp:if_search> <txp:if_individual_article> <p> <txp:link_to_prev><--- Предыдущая статья<br><txp:prev_title /> <br></txp:link_to_prev> <txp:link_to_next>Следующая статья ---><br> <txp:next_title /></txp:link_to_next> </p> </txp:if_individual_article> <txp:if_article_list> <p> <txp:older><--- Предыдущая страница</txp:older> <txp:newer>Следующая страница ---></txp:newer> </p> </txp:if_article_list> </div> <!-- footer --> <div id="foot"> <hr color="red"> <txp:link_to_home><txp:site_name /></txp:link_to_home> (c) 2007<br> <hr color="red"> <div align="center"> <noindex> <script id="top100Counter" type="text/javascript" src="http://counter.rambler.ru/top100.jcn?2375979"></script> <noscript> <a href="http://top100.rambler.ru/navi/2375979/"> <img src="http://counter.rambler.ru/top100.cnt?2375979" alt="Rambler's Top100" border="0" /> </a> </noscript> <script type="text/javascript"><!-- document.write("<a href='http://www.liveinternet.ru/click' "+ "target=_blank><img src='//counter.yadro.ru/hit?t22.6;r"+ escape(document.referrer)+((typeof(screen)=="undefined")?"": ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth? screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+ ";h"+escape(document.title.substring(0,80))+";"+Math.random()+ "' alt='' title='LiveInternet: показано число просмотров за 24"+ " часа, посетителей за 24 часа и за сегодня' "+ "border='0' width='88' height='31'><\/a>") //--></script> </noindex> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-20919484-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </div> </div> </div> </body> </html>
Спасибо за ранее. А может что с формой накосячил?
Неактивен
Все, разобрался. Не правильно закрыл таблицу.
Неактивен