Linking item list itself

More
11 years 5 months ago #31467 by brandonking
Hello,

Item list creation in category(Backend), there is Link Title option.
Can you add a Link to Block of item list(item row) itself as well?

I don't know this could be nice feature for FC but could be easier for end users and looks better.

I have tried it and it works well, see below.

copy below codes at line 61 on category_items.php in each blog-category folder.
Code:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <script> jQuery.noConflict(); (function($) { $(document).ready(function(){ $('.itemrow').click(function(){ location.href=$(this).find('h2 a').attr('href'); //$('.itemrow > h2 a').click(); }); }); })(jQuery); </script>

There are two <li>, leading block and intro block.
add below code under <li and close </div> before </li>
You can add one bolck or both it is your option.
Code:
<div class="itemrow" style="overflow: hidden;">

apply css to itemrow class to change background color, that's it.

Hope this is accepted :D

Regards,
Brandon

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #31470 by ggppdk
Replied by ggppdk on topic Linking item list itself
There is in global configuration 2 parameters:

Under Tab "Content Lists" / sub-section "Item lists"
-- Show Title (in lists)
-- Link Title (in lists)

NOTE 1: These parameters exist in every individual category parameters too


NOTE 2:
these parameters are
'show_title_lists'
'link_title_lists'

and are loaded by category as:
'show_title'
'link_title'

and then used inside category_items.php


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #31473 by brandonking
Yes I know that feature but I am talking about linking item row.
With this, you can click anywhere(not only title) in each item block to see item.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #31476 by ggppdk
Replied by ggppdk on topic Linking item list itself
i see,

i miss-read your post then,

such an option maybe added in future version, maybe

thanks for sharing your solution in the forum

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #31489 by micker
Replied by micker on topic Linking item list itself
thanks for sharing

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 1 month ago #34975 by brandonking
Hello ggppdk,

I am bring this up again and please consider adding this in category_items.php
This feature is useful when users are browsing website on small devices. Not only title, users can touch(click) on item list to see item view.
Code:
<script> jQuery.noConflict(); (function($) { $(document).ready(function(){ $('.bloglist_item').click(function(){ location.href=$(this).find('h2 a').attr('href'); }); }); })(jQuery); </script>
I guess you will modify or use php instead.
Anyway, I will send you my URL and have a look.

Best wishes,
Brandon

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.300 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline