Search…

X3 Photo Gallery Support Forums

Search…
 
one11
Topic Author
Posts: 11
Joined: 20 May 2009, 16:01

Changing META Keyword, description...

02 Jul 2009, 20:24

o/

Where can i edit edit the meta keyword and description ? I had no luck looking in index.php and imagevue.php. Can someone point the right file to edit ? :)

Cheers,
NN
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

03 Jul 2009, 05:46

You have to edit imagevue/templates/index.gallery.phtml

We're planning to add those in config for one of the future versions.
firedev.com
 
one11
Topic Author
Posts: 11
Joined: 20 May 2009, 16:01

03 Jul 2009, 07:44

Thanks for the answer - this works just fine for me.

Cheers,
NN
 
addk2
Posts: 13
Joined: 25 Dec 2007, 03:23

keywords: vihrogone gallery.

25 Oct 2009, 14:25

pain wrote:You have to edit imagevue/templates/index.gallery.phtml

We're planning to add those in config for one of the future versions.
Hello,

I am sorry for opening the keywords theme again, but I have a problem and can't solve it long time already.
When I type in google : vihrogone; I get this result
vihrogone
vihrogone gallery.
www.vihrogone.com/ - Cached - Similar

I have edited the index.gallery.phtml file and added there my meta tags after the title, as you can see it bellow:

<title><?php echo $this->siteTitle; ?></title>
<meta name="Keywords" content="accuracy in 3D, digital design consultancy, generative 3D, algorithmic shapes, product design, precise 3D modeling for production or marketing, luxury realistic renderings">

<meta http-equiv="keywords" content="accuracy in 3D, digital design consultancy, generative 3D, algorithmic shapes, product design, precise 3D modeling for production or marketing, luxury realistic renderings">

..
I have a start folder created at admin and have placed there 3 images which goes in sequence of 3 seconds. The description field there remains empty. I don't know what may affect and interfere with my key words
http://file.bg/c28017DsPvr

Thank you very much for every advice and opinion
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

26 Oct 2009, 07:34

Sorry, I don't see any question - You want to change what google displays in description for your site? Perhaps add a META DESCRIPTION to your gallery, which will show in google? This was added some releases ago from our side, so it seems you are using an older version.

Google will use the content of the description tag as the description when listing your site.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

26 Oct 2009, 07:53

Oh btw, description and keywords were added in Settings > SEO some while ago.

addk2:
Could you please describe your issue again, not sure what's going on but im 100% sure its not related to index.gallery.phtml you edited, the files in your start folder does not have descriptions:

http://www.vihrogone.com/content/start/folderdata.xml
firedev.com
 
addk2
Posts: 13
Joined: 25 Dec 2007, 03:23

26 Oct 2009, 10:08

pain wrote:Oh btw, description and keywords were added in Settings > SEO some while ago.

addk2:
Could you please describe your issue again, not sure what's going on but im 100% sure its not related to index.gallery.phtml you edited, the files in your start folder does not have descriptions:

http://www.vihrogone.com/content/start/folderdata.xml
thanks Carl, Exactly that was my question. Also when I prompt my key words in search engine does not appear my site (but the topic in the forum here)
I have just updated to "imagevuex2.1.5_25092009"

nick,
the link above shows all the params that exist in the start folder of my gallery. There I have left empty the field "description" as I don't want description text to appear on the design of my first page.

on the server I go to public_html, imagevue, templates,index.gallery.phtml
and it looks like:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?php
$conf = &ivPool::get('conf');
$keywords = $conf->get('/config/imagevue/seo/keywords');
$description = $conf->get('/config/imagevue/seo/description');
$counters = $conf->get('/config/imagevue/seo/counters');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta name="Keywords" content="accuracy in 3D, digital design consultancy, generative 3D, algorithmic shapes, product design, precise 3D modeling for production or marketing, luxury realistic renderings">
<meta name="description" content="VIHROGONE | Accuracy in 3D, precise 3D modeling for production or marketing, product and interior deisgn, algorithmic shapes and generative 3D, luxury realistic renderings">
<title><?php echo $this->siteTitle; ?></title>
<link href="<?php echo IV_PATH; ?>css/forAdmin.css" rel="stylesheet" type="text/css" />
<link href="<?php echo IV_PATH; ?>css/forImagevue.css" rel="stylesheet" type="text/css" />
<meta http-equiv="Content-Type" content="text/html" />
<script type="text/javascript" src="<?php echo IV_PATH; ?>javascript/swfobject.js"></script>
<script type="text/javascript" src="<?php echo IV_PATH; ?>javascript/swfaddress.js"></script>
<style type="text/css">
* { margin: 0; padding: 0; }
html { height: 100%; }
table { border-collapse: collapse;}
#imagevue { height: 100%; }
body { background-color: #<?php echo $this->bkGrColor; ?>;
height: 100%; line-height: 0px;}
</style>
</head>
<body>
<table height="100%" width="100%">
<!-- #forAdmin -->
<?php if (ivAcl::isAdmin()): ?>
<tr>
<td>
<div id="forAdmin">
<div class="right"><?php echo htmlspecialchars(ivAuth::getCurrentUserLogin()) ?>
<a href="imagevue/?c=cred&a=logout" title="Logout and close admin bar">Close &raquo;</a>
</div>
<a id="editPageLink" href="imagevue/?path=<?php echo $this->placeholder->get('currentPath'); ?>" title="Gallery Admin / File Management">Edit this page &raquo;</a>
<a id="htmlVersionLink" href="?<?php echo $this->placeholder->get('currentPath'); ?>">HTML version &raquo;</a>
<a id="makeThumbsLink" href="imagevue/?a=makethumbs&path=<?php echo $this->placeholder->get('currentPath'); ?>" title="Recreate thumbnails in this folder or for this image">Recreate thumbs &raquo;</a>
<a href="imagevue/?c=config" title="Change <?php echo $this->siteTitle; ?> settings">Settings &raquo;</a>
<!-- <a href="?a=index">API Reference &raquo;</a> -->
</div>
<script type="text/javascript">
//<![CDATA[
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, function(event) {
var path = SWFAddress.getPath().substr(1);
document.getElementById('editPageLink').href = 'imagevue/?path=' + path;
document.getElementById('htmlVersionLink').href = '?' + path;
var makeThumbsLink = document.getElementById('makeThumbsLink');
if (/[^\/]+\.[^\/]+\/$/.test(path)) {
makeThumbsLink.style.display = 'none';
} else {
makeThumbsLink.style.display = '';
makeThumbsLink.href = 'imagevue/?a=makethumbs&path=' + path;
}
});
// ]]>
</script>
</td>
</tr>
<?php endif; ?>
<!-- /forAdmin -->
<tr>
<td height="100%">
<div style="height: 100%">
<div id="imagevue">
<div id="na">
<h1>
Oops! - This page requires Flash Player and Javascript
</h1>
<br/>
Please make sure you have latest Flash Player installed and javascript is enabled in your browser.<br/>
&raquo; <a href="?p=gallery">Flash gallery</a><br/>
&raquo; <a href="http://get.adobe.com/flashplayer/">Get Flash Player</a><br/>
<br>
<?php if ($this->enabledHTML): ?>Optionally, you can view the HTML gallery page instead:<br/>
&raquo; <a href="?p=html">HTML Gallery</a><br/>
&raquo; <a href="?p=sitemap">HTML Sitemap</a><br/>
<br>
<?php endif; ?> Gallery software by:<br/>
&raquo;
<h1>
<a href="https://www.photo.gallery" title="Flash online photo gallery and slideshow">www.photo.gallery - flash photo gallery and slideshow</a>
</h1>
</div>
</div>
</div>

<script type="text/javascript">
//<![CDATA[
<?php if (count($this->vars)): ?>
var flashVars = {
foreground_color: '<?php echo $this->frGrColor; ?>',
background_color: '<?php echo $this->bkGrColor; ?>'
};
<?php foreach ($this->vars as $key => $value): ?>
flashVars.<?php echo $key; ?> = '<?php echo $value; ?>';
<?php endforeach; ?>
<?php endif; ?>

swfobject.embedSWF("<?php echo IV_PATH; ?>imagevue2.swf", "imagevue", "100%", "100%", "8.0.0", "<?php echo IV_PATH; ?>expressInstall.swf", flashVars, {allowScriptAccess: 'always', allowFullScreen: true, bgcolor: '#<?php echo $this->bkGrColor; ?>'}, {id: 'imagevue', name: 'imagevue'});
// ]]>
</script>
</td>
</tr>
</table>
<?php echo $counters; ?>
</body>
</html>
ww.vihrogone.com
accuracy in 3D
 
addk2
Posts: 13
Joined: 25 Dec 2007, 03:23

26 Oct 2009, 11:36

Now I filed the SEO fields in the settings, as I got the new version.
Hope that work
Thanks a lot!
ww.vihrogone.com
accuracy in 3D