Jan
How to create meta tags?
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to create meta tags?
Hi, for now there is no such option
This is planned.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
thunder_go
- Phoca Newbie

- Posts: 2
- Joined: 04 Jan 2010, 10:06
Re: How to create meta tags?
If you have any description in the category you can just simply add
right after
on com_phocagallery/views/category/tmpl/default.php
... and it will put your title and text description as your <meta> desc
Code: Select all
$doc =& JFactory::getDocument();
$doc->setMetaData( 'description', 'Some text: '. strip_tags($this->category->title) .' '. strip_tags($this->category->description));Code: Select all
<?php
defined('_JEXEC') or die('Restricted access');
... and it will put your title and text description as your <meta> desc
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to create meta tags?
Hi, this was added in Phoca Gallery 2.6.2
Jan
Jan
If you find Phoca extensions useful, please support the project