Author Topic: Banner ads across every page  (Read 8642 times)

0 Members and 1 Guest are viewing this topic.

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Banner ads across every page
« on: September 30, 2007, 05:20:24 PM »
Which file do I edit to show banners on each and every page above the category title, and or pictures as indicated on the attached picture circled in red.  I got it to show in the yellow header, but I want it in the main 'home' gallery page.. and on each and every page as it changes..


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Banner ads across every page
« Reply #1 on: September 30, 2007, 08:56:14 PM »
In all HTML templates (include {header} and {footer} one), look for: {site_name}. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Banner ads across every page
« Reply #2 on: October 01, 2007, 01:11:54 PM »
In all HTML templates (include {header} and {footer} one), look for: {site_name}. ;)

True, for some files, but the category pages do not include {site_name} . Is there no common file that loads all the content within the theme, such as home, categories and albums?  Or, which file is utilized to load the categories and albums? It does not appear to be home.html, since {site_name} is shown in that one..


Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.423
    • View Profile
    • 4images - Image Gallery Management System
Re: Banner ads across every page
« Reply #3 on: October 01, 2007, 01:49:01 PM »
try header.html or footer.html
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Banner ads across every page
« Reply #4 on: October 01, 2007, 01:58:56 PM »
I look screenshot again and see [MOD] - Banner ads ... I think you need help for this MOD ? If so ... post in that topic for support ...
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Banner ads across every page
« Reply #5 on: October 02, 2007, 03:00:47 AM »
I did see that mod, but I don't want anything in my head and footers - it takes away from the main template of the site unless you make it to match exactly.  I would rather have it show in the spot I wanted it to show.  I will check the mod out to see if it suits my needs.  I would hate to have to go through each and every file to add my banner link, as I am still evaluating the software to see if it suits my needs over coppermine and photopost.  Too many tweaks in one template does not allow much to another, which is a painless task of re-editing , and particularly to edit what you remember you edited the first time.  thanks for the help!

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Banner ads across every page
« Reply #6 on: October 02, 2007, 03:04:02 AM »
The Banner Ads MOD use tag so you can add where you want in HTML templates (must have {header} and {footer} for HTML files).

Quote
Too many tweaks in one template does not allow much to another, which is a painless task of re-editing , and particularly to edit what you remember you edited the first time.

I do different. I no edit each HTML template files for content. I code with one static layout. You need modify includes/template.php file for speed task. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Banner ads across every page
« Reply #7 on: October 02, 2007, 04:43:28 AM »
[
Quote
I do different. I no edit each HTML template files for content. I code with one static layout. You need modify includes/template.php file for speed task. ;)

I can understand that, but unless you know some coding, the instructions for every mod is to add to this and that file.  How do you edit just based in one file then?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Banner ads across every page
« Reply #8 on: October 02, 2007, 04:45:08 AM »
Quote
How do you edit just based in one file then?

I post solution soon. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline skidpics

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
Re: Banner ads across every page
« Reply #9 on: October 02, 2007, 08:02:54 PM »
Quote
I post solution soon. ;)


Good deal!  editing  templates is a task, and it would be so nice if 4images applies these via a plug-in manner that coppermine does with some...

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Banner ads across every page
« Reply #10 on: October 02, 2007, 11:44:42 PM »
And why double post ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: Banner ads across every page
« Reply #11 on: October 03, 2007, 03:21:29 AM »
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?