Remove pinterest button from all images except the main article - joomla

I want to add a pinterest button to joomla articles, and I achieved it by adding the code:
<script type="text/javascript" src="//assets.pinterest.com/js/pinit.js" data-pin-hover="true"></script>
But this code adds the button to all images in the page. How can I add it only to the main article image?
Thank You

I'd suggest writing a small/simple Content Plugin (see the developer tutorial link). The Joomla SE site has a question/answer that discusses customizing images for articles - it may be a good starting point for you.

You can put a pin it button next to an image with this:
http://networkconnected.co.uk/all-extensions/pin-it-any-image

Related

How would I move from the default ASP.NET layout to another theme

I just started to use MVC for a simple website. Very new to this.
I am trying to change from the default layout to a simple layout page with sidebar navigation with drop-down list capability. Something similar to one that is shown in the enter link description here
Could you please guide me through this? I have downloaded the HTML, CSS and js files.
I added them to the project and referred to them in the bundleconfig.cs. But still no success.
Thank you very much

Override css for specific pinterest buttons

I have added a pinterest button to my site so that if any image is hovered, the pinterest button will show up and you will be able to pin the image to your board:
<script type="text/javascript" async defer src="//assets.pinterest.com/js/pinit.js" data-pin-hover="true" data-pin-do="buttonBookmark" data-pin-color="white"></script>
However, on a couple of images, the button sits on top of the site header (which is fixed position to the top of the page) and disappear once the cursor enters the header. I have been searching but could not find any way to overwrite the inline styles that are applied to the button for specific images.
Any solution I have found is for the older version of the pinterest button where you can easily override the styles in your css file.
Does anyone know how to do this for the new button?
Here is a fiddle demonstrating my problem - you cannot click the button for the top two images
In the end I made my own plugin to loop through all images on the page and create a link which I then had complete control over.
As long as the link href was formatted in the following way, it seemed to work:
https://www.pinterest.com/pin/create/button/?url=[full url of web page]&media=[full url of image]&description=[image title]

Joomla 2.5 Template Configuration Error

This is my first experiment with Joomla (2.5) and I am having trouble figuring out what is not configured correctly between the two.
I started with the template and all was good but then as I was configuring / adding content I must have changed something.
The two areas in question is the "top movies" section at the bottom and the "Latest News", Recent News tabs.
Looking at the html in developer tools I can clearly see the difference but I can't figure out what to do / change / look at in the Joomla admin.
The original template is here:
http://temp.lamplighterguild.com/
The one I eventually want to go live with is here:
http://take7.lamplighterguild.com/
I'm not sure what else to post but if you'll just educate me more on what I can provide I'll be happy to update / edit.
Thank You
Edit
Elin you were most helpful pointing me in the right direction. What I found was that another module I was using Code 7 Responsive Slider jquery was colliding with the templates jquery. If I disable the Code 7 slider the jquery carousel and jquery tabs are back to the original.
So now I am off to figure out how to get them to play nice...including using another slider if needed. FWIW I need the images to be href links and that was not readily available using the default slider that came with the template so I grabbed another slider.
Put your comment in some form of an answer and I will mark it for you.
Thanks again.

In Joomla how i can put an image on the principal page and when i click the image this open an article?

I'm using joomla 3.0.3.
I want to put a simple image on the principal page and when I click this image, automatically (changes the page) and opens an article with some info that I want to put on it.
It is possible?
With joomla default, or I need an extension for can do it?
Thanks a lot!
You can achieve this by creating a menu item for the blog view of frontpage or content.
This will load a number of articles and paginate them. In the options, you will find Intro articles (on top), then the number of articles to load in columns, then a list of links. Put 0 on the links and on the first articles, and you will get your list of articles in a grid.
Depending on the template you are using, the settings of the menu link could be enough to achieve what you want; if not you can write a template override to display exactly what you want.

Display full article using ajax through readmore

Basically joomla articles show excerpt and a readmore link. Upon click the readmore the the full page loads. But can the full text be loaded on the same box when readmore is clicked. As in a slider using ajax?
Is there any module or plugin that already does this?
You can try this extension - http://extensions.joomla.org/extensions/site-management/site-performance/13293

Resources