donpetru

+Clients
  • Content count

    599
  • Joined

  • Last visited


7 Followers



About donpetru

  • Rank
    Spam Happy
  • Birthday 01/04/1980

donpetru's Activity

  1. donpetru added a post in a topic: IPB Gallery - how insert google ads through albums list ?.   

    <if test="$category['category']['categories_count'] % $this->settings['display_max_categories'] == 4"> <div class='gallery_category'> <div> PRINT </div> </div> </if> I tried to inset the above code in foreach loop but does not work ??? Can anyone tell me where I'm wrong? Please! 
  2. donpetru added a post in a topic: IPB Gallery - how insert google ads through albums list ?.   

    Anyone ???
  3. donpetru added a post in a topic: IPB Gallery - how insert google ads through albums list ?.   

    I installed the latest version of IPB 3.4.7 and the photo gallery main page looks like this:

    As can be see from the attached picture above, I would like to introduce an google ads between albums list. To do this, I will have to modify the template called:  (Gallery) Homepage --- category_listing ". This template looks like this:
    <div class='gallery_box'> <foreach loop="categoryLoop:$categories as $data"> <div class='gallery_category'> <div> <a href='{parse url="app=gallery&amp;category={$data['category_id']}" base="public" template="viewcategory" seotitle="{$data['category_name_seo']}"}' title='{$data['category_name']}'> <h2>{$data['category_name']}</h2> <div class='gallery_category_image'<if test="hasImage:|:$data['coverUrl']"> style='background-image: url({$data['coverUrl']});'</if>></div> </a> <ul class='gallery_item_info ipsList_inline'> <li class='left' title='{$this->lang->words['updated_ucfirst']}'> <img src='{$this->settings['img_url']}/gallery/icon_clock.png' alt='' /> {parse date="$data['category_last_img_date']" format="DATE"} </li> <li title='{$this->lang->words['col__gallery_categories_category_count_imgs']}'><img src='{$this->settings['img_url']}/gallery/icon_image.png' alt='' /> {$data['category_count_imgs']}</li> <if test="categoryAllowsAlbums:|:$data['category_type'] == 1"> <li title='{$this->lang->words['col__gallery_categories_category_public_albums']}'><img src='{$this->settings['img_url']}/gallery/icon_albums.png' /> {$data['category_public_albums']}</li> </if> <li <if test="categoryComments:|:!$data['category_count_comments']">class='faded'</if> title='{$this->lang->words['col__gallery_categories_category_count_comments']}'><img src='{$this->settings['img_url']}/gallery/icon_comments.png' alt='' /> {$data['category_count_comments']}</li> </ul> </div> </div> </foreach> </div> <br /><br /> but I don't know how to modify the template above. I believe that an instruction  '<if> </ if>' should be introduced in foreach loop, but I not sure how to write this <if> statement. For this reason we turned to yours help. 
    So, I hope with yours help to find a solution.
     
  4. donpetru added a post in a topic: Recent Posts (Sidebar Block)   

    I have version 3.3.4 and I found some time that closed topics are not displayed in the list of recent posts . It does not seem fair. Is there any way to be displayed and closed threads ?
  5. donpetru added a gallery image in Member's Gallery   

  6. donpetru added a gallery image in Member's Gallery   

  7. donpetru added a gallery image in Member's Gallery   

  8. donpetru added a gallery image in Member's Gallery   

  9. donpetru added a gallery image in Member's Gallery   

  10. donpetru added a gallery image in Member's Gallery   

  11. donpetru added a gallery image in Member's Gallery   

  12. donpetru added a gallery image in Member's Gallery   

  13. donpetru added a gallery image in Member's Gallery   

  14. donpetru added a gallery image in Member's Gallery   

  15. donpetru added a gallery image in Member's Gallery   

Status Feed