Flexi as downloads component?

More
7 years 11 months ago - 7 years 11 months ago #61997 by ggppdk
About module "fixing"
- there is nothing to be fixed, :) it is a new feature



About file field, about adding different display for category view
- it makes sense to have different display, which could be by duplicating the VIEWING TAB and creating:
Viewing - Category



Here is what to do now:
edit you custom layout for file field

or if you are using the default layout file of file field:
/plugins/flexicontent_fields/file/tmpl/value_InlineBoxes.php

then
1 . edit the above (BUT DO NOT make any other changes to it, they will be over written):
add at the bottom
Code:
$field->hits_total = $hits_total;

2 . Edit the category Layout of the FLEXIcontent template that you use for the category views
and move the file field into position "Render only"

3. Inside file the category_items(_html5).php
print the total downloads via:
Code:
echo JText::_('LANG_TOTAL_DOWNLOADS') .' '. $item->fields['my_file_field_name']->hits_total;


-- 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...
Last edit: 7 years 11 months ago by ggppdk.

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

More
7 years 11 months ago #62003 by lipatovroman
Yes! It works :D !!!
Waiting only for a module.

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

More
7 years 11 months ago - 7 years 11 months ago #62118 by Mahmood
Great Topic! :)

Just wondering when do you plan on releasing v3.0.15 ?

Also will this ordering option "Most downloaded" of file_hits also work if I am trying to sort items by hits on a weblink or any specific field? Or is it only for file downloads.

It would be great if this feature let people sort any type of field that was capable of recording hits, as it will be very useful for Analytic purposes.

As you know a hit on an item is not the same as a hit on a "Buy Now" link or "Download Now" link. :cheer:

Also (maybe I'm asking too much :P ) but would it be possible to record the date of the hits e.g. total number of hits for a specific day?
Last edit: 7 years 11 months ago by Mahmood. Reason: Forgot to mention something important

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

More
7 years 11 months ago #62157 by ggppdk
Hello

for weblinks there is no specific table, so currently it cannot be done without adding a new TABLE or without adding ...

- about, there is ALREADY statistics TABLE: (for 1-2 years now)
that logs downloads per registered user and for guests too

e.g. user A downloaded file F 53 times , last download date: YYYY/MM/DD

some work is needed to make the statistics data of it viewable


-- 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
7 years 11 months ago #62167 by Mahmood
but Flexi-Content does keep a record of the number of click-through (hits) for any given web-link. And you can chose to display these hits. So they must be stored somewhere for this to be possible. :unsure:

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

More
7 years 11 months ago #62196 by ggppdk
Hello

for the case of files
- we have a -seperate- DB column , thus it straight-forward to implement
- and because of the -seperate- DB column , it is FAST !

for the case of weblinks, the hits are serialized together with other properties into the weblink field value
- so not possible now using SQL, unless we do some very costly routines !

In future, fields will have 3 columns for custom indexes in a per field TABLE, allowing more flexibility , and be sortable according to multiple properties ... with any performance impact


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.292 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