Support

  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.

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.

Guidelines

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.