 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
April 8th, 2010, 04:03 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
| Adsense-Integration in Templates
Hello,
I want to integrate Adsense banner in PhotoPost-Templates. For example below the header. Do you have a template list and description?
Thank you in advance.
Regards,
Frank
|
| |
April 8th, 2010, 07:50 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
| Which Templates for What--FAQ?
That tells what templates for what script.
You can place adsense code at the top of the menubar template for it to display above the menubar which would be below the header otherwise you can also put it at the end of your header.
|
| |
April 8th, 2010, 08:38 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
|
Thank you! |
| |
April 8th, 2010, 09:35 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
Your quite welcome
|
| |
April 8th, 2010, 12:17 PM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
|
Chuck, how can I move the menubar.tmpl from the top of the home/index-page to the bottom?
I think, there must be something like an index/main-template, which calls the other template-parts of the page, for example the menubar template?! But where? |
| |
April 8th, 2010, 01:46 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
You would need to modify the actual php script and rearrange the tmpl include lines.
|
| |
April 8th, 2010, 03:02 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
| Quote:
Originally Posted by Chuck S You would need to modify the actual php script and rearrange the tmpl include lines. | Modify which file?
|
| |
April 8th, 2010, 03:22 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
That would depend on the actual page script your trying to modify. For instance if its the index it would be index.php
|
| |
April 8th, 2010, 05:40 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
| Quote:
Originally Posted by Chuck S That would depend on the actual page script your trying to modify. For instance if its the index it would be index.php | Okay, it works for the index.php. Now the menubar is on the bottom. But --> Which php files also use the template "menubar", so I can move all menubar templates to the bottom for a unique navigation?
And which template is this welcome and search box with "show the newest photos, last day, last week ..." etc?
Thank you in advance.
Frank
|
| |
April 8th, 2010, 06:04 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
Frank all the core php files you see browing the gallery use the menubar tmpl |
| |
April 8th, 2010, 06:13 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
| Quote:
Originally Posted by Chuck S Frank all the core php files you see browing the gallery use the menubar tmpl  | Yeah, good idea. And this question? --> Which template is this welcome and search box with "show the newest photos, last day, last week ..." etc?
* If I change all these php and tmpl files ... everything will be fine ... until the next photopost update.
Is there any simple workaround to save all my sourcecode changes? |
| |
April 8th, 2010, 06:47 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
indexhead
No there is no workaround if you change code and then update you need to apply those changes to the new code.
|
| |
April 9th, 2010, 02:05 AM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
|
Thank you! |
| |
April 9th, 2010, 08:37 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
Your welcome
|
| |
April 9th, 2010, 08:48 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
I posted there
|
| |
April 9th, 2010, 05:47 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
|
What is the template for the maximized (the biggest size) photo? This thing with only the maximized photo in one window?
|
| |
April 9th, 2010, 08:01 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
showfull.php and showfull template
|
| |
April 10th, 2010, 05:53 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Dec 2009 Location: Germany
Posts: 163
|
Thank you!
* 1) Chuck, is it possible to put some extra text (advertising) at the end of the user defined ecard text? As some freemail providers use it as promotion in every signature? Is there a template for such things?
* 2) Now I have my advertising-links in the showfull template. But I would like to have different links depending on the category of a photo. Can I determine the actual category of a photo in the showfull template?
Last edited by vFranky; April 10th, 2010 at 06:14 AM.
|
| |
April 10th, 2010, 08:16 AM
|
#20 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,938
|
well you may hack your code as you wish although there is no product support for that.
You can look at your showfull file and maybe use some conditional in your showfull tmpl. I beleive the variable for category is $dbcat.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 04:10 PM. | |