1. abhinav.cyber
  2. Support
  3. Wednesday, January 20 2016, 05:57 PM
Hi,

is there an way to control what is shown about an event on home scree.

say,,if a new photo is added,can i display the caption as well on home scree..and similarly of other properties for video/blog can be displayed at home scree?

regards,
AJ
admin Accepted Answer
Admin
Hi,
Yes, but you need to override template with Socialnetwork Plugin theme manager.

in Admin Panel->Theme Manager you will find activities layout in Elements/activities.cpt (this is container of all activities and it is shared by all activities), for each activity type you will find template files into Elements/misc/activity_content/ and Elements/misc/activity_text/. In this folder you can customize your output for each activity type.

say,,if a new photo is added,can i display the caption as well on home scree..and similarly of other properties for video/blog can be displayed at home scree?
Try this:
- Goto Admin Panel->Themes Manager->Choose "Social Network" theme
- On left bar choose Elements->misc->activity_content/photos_add.ctp
- Click on "Copy" button and copy in your theme (or blue them). with this step this file will be overriden and you not lose changes with updates
- Goto Admin Panel->Themes Manager->Choose "Your Theme" (or blue theme)
- On left bar choose Elements->misc->activity_content/photos_add.ctp (this is the new file copied from default template)
- add something like this in this file and save:
<?php echo( $photo['Photo']['caption']); ?>
  1. more than a month ago
  2. Support
  3. # 1
  • Page :
  • 1


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