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

Adding custom code to the module

  • Tony Murray
  • Topic Author
  • Visitor
  • Visitor

Adding custom code to the module was created by Tony Murray

Hi,
I want to add some custom code the the module I have set up as a thumbnail which puts a sliding title and text over the thumbnail. It is a shape 5 addition called infoslide. The code is -
<div class="s5_is_slide">
<div class="s5_is_display">
<h3>Example Slide</h3>
This is dummy text. You can add any text or html markup here.
</div>
</div>

Where do I find the module html where I can add this?

Thanks
11 years 1 month ago #5413

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

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Adding custom code to the module

I can just point you to the Module html file. Editing our core files should be done at your own risk.

For categories layout,

{root}/modules/mod_allvideosharegallery/tmpl/default_categories.php

For videos layout,

{root}/modules/mod_allvideosharegallery/tmpl/default_videos.php
11 years 4 weeks ago #5414

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

  • Tony Murray
  • Topic Author
  • Visitor
  • Visitor

Replied by Tony Murray on topic Re: Adding custom code to the module

If I add the edit in there it will be the same for all the gallery modules, but how do I add it to an individual gallery module or a variation of the custom code on different gallery modules?
11 years 4 weeks ago #5420

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

  • Tony Murray
  • Topic Author
  • Visitor
  • Visitor

Replied by Tony Murray on topic Re: Adding custom code to the module

Its all good. I've set the categories pages up in a different way which doesn't require any editing of the code and still has the look which I was after.
Thanks
11 years 4 weeks ago #5425

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

Time to create page: 0.096 seconds

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