Author: tkoomzaaskz
Date: 2010-09-12 13:36:30 +0200 (Sun, 12 Sep 2010)
New Revision: 30888
Modified:
plugins/tdCorePlugin/trunk/modules/tdSubpage/actions/actions.class.php
plugins/tdCorePlugin/trunk/package.xml
Log:
[td][core] improving SEO for subpages
Modified: plugins/tdCorePlugin/trunk/modules/tdSubpage/actions/actions.class.php
===================================================================
--- plugins/tdCorePlugin/trunk/modules/tdSubpage/actions/actions.class.php
2010-09-12 10:54:11 UTC (rev 30887)
+++ plugins/tdCorePlugin/trunk/modules/tdSubpage/actions/actions.class.php
2010-09-12 11:36:30 UTC (rev 30888)
@@ -22,6 +22,7 @@
{
$this->setVar('td_subpage',
tdSubpageTable::getSubpageByIdQuery($request->getParameter('id'))->fetchOne(),
true);
$this->forward404If(!$this->td_subpage, 'Strona nie istnieje');
+ $this->getResponse()->setTitle($this->td_subpage->getTitle());
}
/**
Modified: plugins/tdCorePlugin/trunk/package.xml
===================================================================
--- plugins/tdCorePlugin/trunk/package.xml 2010-09-12 10:54:11 UTC (rev
30887)
+++ plugins/tdCorePlugin/trunk/package.xml 2010-09-12 11:36:30 UTC (rev
30888)
@@ -13,8 +13,8 @@
<date>2010-09-12</date>
<time>11:00:00</time>
<version>
- <release>0.2.1</release>
- <api>0.2.1</api>
+ <release>0.2.2</release>
+ <api>0.2.2</api>
</version>
<stability>
<release>beta</release>
@@ -232,6 +232,23 @@
<release>
<version>
+ <release>0.2.2</release>
+ <api>0.2.2</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <license uri="http://www.symfony-project.org/license">MIT
license</license>
+ <date>2010-09-13</date>
+ <license>MIT</license>
+ <notes>
+ * improving tdSubpage SEO
+ </notes>
+ </release>
+
+ <release>
+ <version>
<release>0.2.1</release>
<api>0.2.1</api>
</version>
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/symfony-svn?hl=en.