1. resif
  2. General
  3. Thursday, August 05 2021, 04:44 PM
how can i add adsense code to image details page(bottom image before image descption) on social network...
resif Accepted Answer
how many days we wll wait....
  1. more than a month ago
  2. General
  3. # 1
admin Accepted Answer
Admin
Hi,
sorry but there was a weekend :)

To do this you can add a code from AdSense in the photo view by following these steps:
- Access to Admin Panel (http://docs.easy-profile.com/index.php/article/social-network-configuration)
- Go to Theme Manager
- Choose "Social Network" theme
- Choose the view file like Elements/ajax/photo_detail.ctp
- Click on "Copy" button and copy in your theme (or Blue theme). with this step this file will be overridden and you will not lose changes with updates
- Goto Admin Panel->Themes Manager->Choose "Your Theme" (or Blue theme)
- On left bar choose Elements/ajax/photo_detail.ctp (this is the new file copied from default template)
- In the new file replace you can add the AdSense code in the position that you prefer, for example after line 28 (after the image)
  1. more than a month ago
  2. General
  3. # 2
resif Accepted Answer
ok thank you
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.