New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Display category name

  • thomas
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

Display category name was created by thomas

hello ,
i would like to show the category name ,thumbnail and title when showing the feature videos.
is that possible?
thank you in advance
10 years 10 months ago #5682

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Display category name

- Open {root}/modules/mod_allvideosharegallery/tmpl/default_videos.php

- Search for
<span class="title"><?php echo $videos[$i]->title; ?></span>
- Add the following line below it
<span class="views"><strong>Category : </strong><?php echo $videos[$i]->category; ?></span>
- That's it. Hope, this solved your issue!!!
Last edit: 10 years 10 months ago by Administrator.
10 years 10 months ago #5683

Please Log in or Create an account to join the conversation.

  • thomas
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

Replied by thomas on topic Re: Display category name

great extention,
great support!!
10 years 10 months ago #5686

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0

Replied by nick on topic Re: Display category name

it doesn't work for me
10 years 6 months ago #6157

Please Log in or Create an account to join the conversation.

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Display category name

You should be using the component view. So, you need to do the changes in following files

- {root}/components/com_allvideoshare/views/category/tmpl/default.php
- {root}/components/com_allvideoshare/views/search/tmpl/default.php
- {root}/components/com_allvideoshare/views/video/tmpl/default_relatedvideos.php
- {root}/components/com_allvideoshare/views/videos/tmpl/default.php
Last edit: 10 years 6 months ago by Administrator.
10 years 6 months ago #6158

Please Log in or Create an account to join the conversation.

  • Posts: 13
  • Thank you received: 0

Replied by nick on topic Re: Display category name

I Added the following line below as you told it before
<span class="views"><strong>Category : </strong><?php echo $videos[$i]->category; ?></span>
in each files you said
but no category is displayed
10 years 6 months ago #6159

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies