What is the current category of an article

More
11 years 10 months ago #38811 by rottenberg
Hello,
My articles have 1 main category and from 1 to 26 secondary categories.

When displaying an article I need to add an hyperlink to the list of all articles of the same category.

Exemple

Article A :
    main category : 1
    secondary categories : 2,3,4

Article B :
    main category : 1
    secondary category : 2,4,5

Article C :
    main category : 1
    secondary category : 2,3,5


I ask the list of category 5 => I get article B and article C.
I display the article C and from this article I ask for all articles of the same category => I get Article C and Article B

If I ask the list of category 2 => I get A,B,C.
I display the article C and I ask for all articles of the same category. I get article A,B and C.

From the same article C I may get distinct lists of articles following which category has called the article C.

My question : When I display an article, can I know which is the current category id. Knowing that I will be able to create an hyperlink for the articles of one category.

thank you for help
best regards
Michel

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

More
11 years 10 months ago #38813 by micker
Use universal module to display
All article
In subcategorie
With current categorie option
...

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 10 months ago #38814 by rottenberg
Bonjour,

j'ai bien pensé utiliser ce module, mais je dois présenter un slideshow des articles.
L'utilisateur me demande quand je clique sur un des articles du slideshow de donner avec le template modele categorie 'blog' la liste de tous les autres articles de cette catégorie.

Universal module a-t-il évolué pour présenter un slide show d'articles ?

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

More
11 years 10 months ago #38817 by ggppdk
Hello,

it is a coincidence that you ask of slideshow/carousel for universal content module

i have just finished
- SQL query optimization (e.g. 20x,40x speedup in sites with 30,000+ articles) , this query is 95% of the module time is large sites
- managed to solve all problems with a powerful carousel/slideshow template (it is finished) , just by default all options will be ON, future version will allow configuration of it without editting the template file carousel.php to set the variables ...

about current category of item, there is not such thing , there is
- item's main category , e.g.
Code:
$item->catid
- current category id of category view (may not be set at all if view is my-items, etc) which is :
Code:
$cid = JRequest::getInt('cid');


-- 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 10 months ago #38842 by rottenberg
a great new !
thank you.

For the problem of current category, I have solved temporally the problem inside netassopro flexiscroller.

Tell me when I can test the new universal module. I think it's not in the last V1699 Beta

bets regards

Michel

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

More
11 years 10 months ago #38843 by ggppdk
Yes,
not in r1699

it is in r1700 and i will make a public package for testing


-- 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.375 seconds
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
Save