Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Second Video Layout

6 years 7 months ago
  • U.M.'s Avatar
    Topic Author
  • U.M.
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Active

Hi,
I want to have two layouts for for standalone video. One is the default template and have made another video template, /com_community/templates/jomsocial/layouts/videos/video_layout2.php
i want the other one to be displayed by url parameters, how to view it?

6 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

HI Usama,

Please check this file components/com_community/views/videos/view.html.php you can see the code fetch template code there, you just need to play with that code.

thank you!

6 years 7 months ago
  • U.M.'s Avatar
    Topic Author
  • U.M.
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Active

Please guide with more instructions, line number, which code to change, what to add?
Thanks!

6 years 7 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Look on this function _getVideosHTML(), and the tempate be called from this code

->fetch('videos/list');

6 years 7 months ago
  • U.M.'s Avatar
    Topic Author
  • U.M.
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Active

okay, ive started to "play" with it :)

can you tell me how the get the video feed url?
what i saw a view.feed.php file, how to call that via url? i wanna see the feed list of all videos

6 years 6 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi USama,

The feed feature already dis-continued, and cant be used because its coming from old code.

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW