Page 1 of 1

google adwords

Posted: 21 Sep 2008, 10:29
by spyker
Just a quick one,

I am currently building a website around the imagevue system. My current site has google analytics installed between the header and the main body of the index page so i can track visits to my site.
Code
<script>
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape(src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script>
var pageTracker = _gat._getTracker();
pageTracker._trackPageview();
</script>
I would just like to know, were do i need to put this in my imagevue v2 gallery? The gallery will be the main page, the index.

Any input would be great.

Posted: 22 Sep 2008, 06:04
by mjau-mjau
You can edit the following file:
imagevue/templates/index_gallery.phtml

Posted: 22 Sep 2008, 06:10
by spyker
Again and as usual thanks for the speedy reply!

Neil.

Posted: 06 Dec 2008, 08:48
by Watts
mjau-mjau wrote:You can edit the following file:
imagevue/templates/index_gallery.phtml
Ok Karl, thanks, but can i put also the Google adsense ? i paste the google adsense code like :
<script type="text/javascript"><!--
google_ad_client = "pub-000";
/* 728x90, accueil */
google_ad_slot = "000";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

But nothing appears.
An idea ?
Thanks Crew

Posted: 07 Dec 2008, 23:31
by mjau-mjau
You have a link? This is most likely because of the nature of the HTML that contains the SWF. The SWF is set to take 100% of the height, and scrollbars are turned off. Most likely, your google links are beneath the visual area of the browser.

To successfully embed your own html items, you need to recreate your own html page and most likely use tables to fit items appropriately to the browser stage. You can start by copying the source here:
embedDemo.html

Posted: 10 Dec 2008, 10:07
by clemi6
how did you set the frame around the gallery like: embedDemo.html

https://www.photo.gallery/soda/embedDemo ... /moreinfo/


thanks..

Posted: 10 Dec 2008, 11:05
by mjau-mjau
clemi6 wrote:how did you set the frame around the gallery like: embedDemo.html

https://www.photo.gallery/soda/embedDemo ... /moreinfo/
I suggest you "view source" from that page. It's all in the code, and that blue frame is just a blue border set in CSS:
Code
.imagevueWrap {
     border: 9px solid #5874Ae; margin: 0 0 36px 0; height: 400px;
}

Posted: 10 Dec 2008, 12:15
by clemi6
I'm really sorry but I'm not a pro.

how i can view the "view source".
and in wich CSS file I have to modify de code. I use the default themes, but in the theme stylesheet I don't find th "imagevueWrap".

in this demo the imagevue gallery in ulpload in a html page?

thanks a lot for your help.

Posted: 10 Dec 2008, 21:56
by mjau-mjau
If you goto view -> source in your web browser, you will see the entire code for that page, including how to embed the gallery, and the CSS code for the frame.

All the code you need is in the source, and there are no other external CSS files or anything for that page. Not quite sure why you are looking for ".imagevueWrap" in the theme stylesheet. Theme stylesheets are for the theme textformatting of the gallery. This document is an example of "how to embed the gallery in a html page". The CSS in this document are for the document layout only, not for the gallery/flash.
clemi6 wrote:in this demo the imagevue gallery in ulpload in a html page?
This is the demo gallery embedded into a HTML page.