Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to Where are my banners?

More on Banner modules

Thanks Gary,

In response to:

" Is it possible to place an "ad or a banner" at any other place on the page?"

You stated:


''" The banner zone tag can be put in any template, so you can have it in the top bar (tiki-topbar.tpl), bottom bar (tiki-botbar.tpl), or tiki.tpl to place the banner in the midsection of the page (at the risk of elbowing into the column display area). Since the tag is placed in templates, you can also add it specifically to one Tiki feature's pages, such as the Directory or Blogs. It does take a bit of understanding of what a template file is doing, in order to put the tag in the right place, but shouldn't take long to figure that out. Put it at the very top or bottom or just outside of a "section".

Secondly, banners can be put in modules. In this way they can either go in the left or right column, or into one or more wiki pages via the module plugin.

I haven't tested banners much recently but this is the designed behavior. What other placement flexibility are you looking for?"''




I worked with the Dynamic Content System (DCS) first based from your suggestions in Dynamic Contents and Ephemerides. I will respond to the features of DCS in another postQuestion but basically what I found was that I could place a DCS "module", e.g., , anywhere directly on a "page content file".

Without much documentation about banners, I assumed that I could do the same also with banners, i.e., place a banner module, e.g., , anywhere directly on a "page content file". The latter did not work. [I enumerated what worked already in my previous response to Sheep so I will not repeat it here.]

After reviewing and trying what you suggested I found that a banner module, e.g., , may be added through the "body of the page" mainly through the main template scripts, i.e., the "tpl" files. Correct me, if I am mistaken, but I do not think a banner module, e.g., , can be added directly to the templates prepared through "Content templates" (tiki-admin_content_templates.php). There might be a way around this, but I have not had a chance to explore that yet.




I reviewed your response in Dynamic Contents and Ephemerides. For the script of your personal websiteQuestion, you stated that you added:


(div)
(table width=100% border=0)(tr)(td)

(/td)(/tr)(/table)

(/div)


where I see only one banner module, i.e., . It appears however that there are at least three randomized banner modules in your personal websiteQuestion, in the same location. Unless I missed it, I do not see any feature in the Admin "Banner modules script" that would specify such a randomization procedure. For your webpage, is the randomization itself done through some sort of "php or some other forms of scripting in the "Select ONE method for the banner" options, or some other ways?


To rephrase, for following series of images and corresponding associated caption and text:


  • Banner 1a:
    --(img src="/image folder 1/flower1.jpg")
    --associated caption and text1

  • Banner 1b:
    --(img src="/image folder 2/animal1.jpg")
    --associated caption and text2

  • Banner 1c:
    --(img src="/image folder 3/plantl1.jpg")
    --associated caption and text3

  • How can the above images and assoicated captions and text be randomized, in the same location, using the a single banner module?
  • Is there a way to get a copy of the revised theme and revised scripts needed to create your personal websiteQuestion?
    [Note: I do not plan to use the theme colors or layout, I just wish to see what "php and tpl" files had been revised and how these files have been simplified to achieve the non-standard wiki appearance.]


Finally, I assumed in your personal websiteQuestion, you have to create a unique modified "tiki-view_articles page" and the corresponding "tiki-view_articles.tpl" to introduce the specific DCS and banner modules that will appear exclusively in the aforementioned page?

  • Does this mean that if I want to have unique banners for let us say for example, the "arts" vs "literature" sections, I need to have corresponding unique "php" and "tpl" for each of these sections?


To avoid confusion, I presented my follow-up about DCS in the separate thread Banners vs DCS FeaturesQuestion.

Thanks again.

cgc0202