-
AuthorPosts
-
joachim funk Friend
joachim funk
- Join date:
- January 2013
- Posts:
- 45
- Downloads:
- 4
- Uploads:
- 7
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
January 19, 2014 at 6:08 pm #193880Hi there,
I’ve an article set to Content-Type “Text”, Animation “None” and Grid-Type “1×1”. The hover-effect is on title AND description – but the linking only works only by clickíng on the title.
There’s a solution for a similar problem with Content-Type “Image”:
http://www.joomlart.com/forums/topic/link-just-works-in-article-title/Could someone help me to have the linking also on click at the description?
Thanks a lot!MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
January 20, 2014 at 8:58 am #519055Please PM me url and admin credentials of your site, I will help you out.
joachim funk Friendjoachim funk
- Join date:
- January 2013
- Posts:
- 45
- Downloads:
- 4
- Uploads:
- 7
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
January 20, 2014 at 10:35 am #519095Hi MoonSailor,
thanks for your reply – I’ve sent you a PM with the login-data to my site…
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
January 22, 2014 at 3:52 am #519332Here are what I changed in your site:
<blockquote>
I’ve an article set to Content-Type “Text”, Animation “None” and Grid-Type “1×1”. The hover-effect is on title AND description – but the linking only works only by clickíng on the title.
</blockquote>In file “/templates/ja_fixel/js/jquery.article.js” I added javascript code:
masonry.off('click.fixelpopup').on('click.fixelpopup', '.items.text ', function(){
var urlart = ($(this).find('.article-link, .readmore-link, .video-link').eq(0).prop('href') || '');//redirect
if(urlart.length >0 ){
window.location.href=urlart;
}
});
Underneath this line of code:
masonry.off('click.fixelpopup').on('click.fixelpopup', '.items.video', startpopup);
Now,all items with type of “text”, when you click, it will open article details page.
<blockquote>
I’ve a longer article with a Read-more-Link to show properly in category-view. My problem: I want to set the content-type to “gallery” and show the article also in a 1×1-grid on the frontpage. Unfortunately, the Read-More-Link – so I suppose – is crashing the gallery in the grid-view. There’s only shown a missing icon-picture… Any ideas?
</blockquote>You add the image in wrong way so that it didn’t show in frontend
Image should be added in introtext part of article. I just fixed it for you.
Kindly have a look at this and let me know if this helps.
-
1 user says Thank You to MoonSailor for this useful post
joachim funk Friendjoachim funk
- Join date:
- January 2013
- Posts:
- 45
- Downloads:
- 4
- Uploads:
- 7
- Thanks:
- 15
- Thanked:
- 3 times in 1 posts
January 22, 2014 at 9:23 am #519360Hi Moon Sailor!
Works perfect – thanks a lot, exactly what I want. The only thing I don’t understand is the part “Image should be added in introtext part of article.” In your uploaded screenshot the images are added behind the “read-more-id”, not before. It works fine, but I don’t understand it :confused: Perhaps you could give me a hint?
Thanks
JoaAuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by joachim funk 10 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Grid-Layout: Link in article with content-type "Text" only works on title
Viewing 5 posts - 1 through 5 (of 5 total)