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
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 (
- 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.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.


Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy ProfileĀ® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.