Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help! Cant seem to add it to a joomla site. #41

Open
Cam-Designs opened this issue Jan 12, 2018 · 3 comments
Open

Please help! Cant seem to add it to a joomla site. #41

Cam-Designs opened this issue Jan 12, 2018 · 3 comments

Comments

@Cam-Designs
Copy link

I would be over the moon stoked if someone could possibly help me add this to a joomla site.

@thatkookooguy
Copy link

thatkookooguy commented Jan 16, 2018

@Cam-Designs maybe you should add some details so people will be able to help you better.

Something like:
Which OS are you on? What browser did you test this on?
Which part of the process are you stuck on? Is it related to the installation of this module? Maybe it got something to do with understanding where to put tilt.js to integrate with Joomla?

Unless this Joomla site blocks external resources, I find it hard to believe tilt.js have some server-side platform compatibility issues. the two parts (Joomla & the site you're building) are running on different computers (Joomla is serving the site from the server while the site itself runs on the user's browser)

@Cam-Designs
Copy link
Author

Cam-Designs commented Jan 17, 2018 via email

@thatkookooguy
Copy link

by the documentation, looks like you need to add this to a component or module's display template:

<?php
$document = JFactory::getDocument();
$document->addScript('<string_path_to_tilt.js>');
?>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants