-
AuthorPosts
-
giulia72 Friend
giulia72
- Join date:
- July 2011
- Posts:
- 238
- Downloads:
- 18
- Uploads:
- 33
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
February 5, 2016 at 3:06 pm #877286Hi
I would to prevent copy of content / right click of mouse in a single page.
I found a javascript code to do it, but I don’t know how to implement it in a single article.Do you have any suggestion?
Thanks
GiuliaPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
February 5, 2016 at 3:22 pm #877292Hi
You can add the code in template options > Custom tab before /head or /body using
Hope it helps .giulia72 Friendgiulia72
- Join date:
- July 2011
- Posts:
- 238
- Downloads:
- 18
- Uploads:
- 33
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
February 8, 2016 at 7:50 am #878835Yes but in this case I will add the code in the whole website .
I want to add it only in a single pagePankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
February 8, 2016 at 8:31 am #878855Hi
then You can add it in your article or in the custom html module that is published on that page .giulia72 Friendgiulia72
- Join date:
- July 2011
- Posts:
- 238
- Downloads:
- 18
- Uploads:
- 33
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
February 8, 2016 at 8:57 am #878882It is not so easy as any php code is ignored in a single article unless you know how to insert a php code in a Joomla article
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
February 8, 2016 at 9:13 am #878893Hi
These are the only options , or u need to do customization in php files .
Article files are defined in the /html/com_content/article/default.phpgiulia72 Friendgiulia72
- Join date:
- July 2011
- Posts:
- 238
- Downloads:
- 18
- Uploads:
- 33
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
February 8, 2016 at 9:18 am #878904The second option is for the whole website not for only one article
No problem
I will look for other wayThank you
giulia72 Friendgiulia72
- Join date:
- July 2011
- Posts:
- 238
- Downloads:
- 18
- Uploads:
- 33
- Thanks:
- 5
- Thanked:
- 1 times in 1 posts
February 8, 2016 at 12:38 pm #879110For your info:
there are several Joomla plug-ins (in Joomla estensions) that allow to insert php, javascriptm and other code in a single article1 user says Thank You to giulia72 for this useful post
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
February 8, 2016 at 1:23 pm #879122Thanks for sharing .
It will help others users . You can also search Extension on JED to prevent copy content on site . -
AuthorPosts
This topic contains 8 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum