Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Modal window

10 years 2 months ago
  • Andrius's Avatar
    Topic Author
  • Andrius
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Dear Jomsocial team,

Thank you for the best template for jomsocial I ever had! Great job! and with perfect support it's even greater ;)
Could you please advise where I can find modal window template php file, I mean within my server com_community folder?
I would like to modify a bit login, photos and video modal (pop up) windows.

Thank you in advance,
Have a nice weekend!
Andrius

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

Hi Andrius,

Ehm, this popup is bit tricky, because be handled by javascript and css file, not php file.. I need ask this to our frontend developer. I can get the answer on monday, since today and tomorrow is weekend

thank you

10 years 2 months ago
  • Andrius's Avatar
    Topic Author
  • Andrius
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Thank you dimas!
Just for info, I want to add advertisement java code there.

Have a nice weekend,
Andrius

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

hi Andrius,

I see, I suggest you create your own javascript code instead hack the popup file, you can append your ads with javascript. eg like this :

jQuery('.joms-popup').append('YOUR HTML/JAVA ADS  CODE');
//or
jQuery('.mfp-content').append('YOUR HTML/JAVA ADS  CODE');

it more simple i think

10 years 2 months ago
  • Andrius's Avatar
    Topic Author
  • Andrius
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Thank you Dimas!
I will try this.
is it possible to add php script instead of 'YOUR HTML/JAVA ADS CODE'?

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

Please try this :

jQuery('.joms-popup').append('<?php echo "print out with php" ?>');

10 years 2 months ago
  • Andrius's Avatar
    Topic Author
  • Andrius
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Hi Dimas,

I've tried to put suggested code in the template custom code after body and as a result I had just sour code output as is at the bottom of the page.
Could you advise please where shall I put it?

Brads
andrius

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

What do you want looks like? please provide me the screenshoot

10 years 2 months ago
  • Andrius's Avatar
    Topic Author
  • Andrius
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Hey Dimas,
first of all on a top of content then if possible on a bottom.
Please have a look to the attached screenshot. The priority for me is top part of a window.

Best regards!
andrius

Attachments:
10 years 2 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Andrius,

Try this :

// sidebar 
jQuery('.joms-popup__comment').append(' xxx ');
// top 
jQuery('.joms-popup__commentwrapper').prepend(' xxx ');
// bottom 
jQuery('.joms-popup__comment'). after(' xxx ');

I cant guarantee the code will work smoothly, for further help I suggest you hire the 3rd party dev.

10 years 2 months ago
  • Andrius's Avatar
    Topic Author
  • Andrius
  • Offline
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 2
Licenses:
JomSocial Expired Socialize Expired

Thank you Dimas!
Could you please tell me name of a file where I can add this code?

Thank you for the great support!
Have a nice day,
Andrius

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

Hi Andrius,

You can add this after trigger when you open the photo.. well like I said at the first post this hack is very tricky.. we can help you too much, I suggest you hire the 3rd party developer www.jomsocial.com/jomsocial-developers for finishing it.

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