Thx mates !
@Bucklash, yes it is deprecated but still, it can display the catid.
I switched to :
$jinput = JFactory::getApplication()->input;
$catid = $jinput->get('catid', '');
echo $catid;
Same behavior. Thanks a lot anyaway )
_
@WebOne
Thanks, but as the manual says, it should be possible to play with the catid livevalue.
_
The plugin your link brung me to is about making search list inside a searlist and pass live value to the child (which seems to have to be a different content type by this way).
_
exemple : List of categories [cat1] [cat2] ... and inside each item results, another list with all article in each category
like tha [cat1{art1}[art5}] [cat2{art2}] [cat3{art3}] ....
_
What I try to achieve is very simple, and it works ... as long you don't turn the SEBLOD SEF ON.
_
_
Here is my demo website where I have the problem and a concret exemple
_
In my search settings that will display the items on the right side, I pu :
CCK > on the content type, nothing special
_
a field that grab live value on ID (of the main content), with "different", so it will displays all the other items that have a different article ID for the same content type .. nothing special, it works perfectly.
_
a field that grav live value on CATID set to "exact" (on my website, it would be "cuisine", "salon", ... which mean kitchen, living room, etc ...). so it will displays all the other items that have a different article ID for the same content type with the same CATID.
_
I turn on debug for my test.
_
> With SEBLOD SEF : Alias (safe)
http://pole-artisan.com/realisations/harum-do-dolorem
end of the seblod request that displays my items on the right :
AND t0.cck = 'realisations' < content type
AND t1.id NOT LIKE '%32%' < live value ID
__
> With SEBLOD SEF : Joomla Native Behavior
http://pole-artisan.com/10-realisations/32-harum-do-dolorem
end of the seblod request that displays my items on the right :
AND t0.cck = 'realisations' < content type
AND t1.id NOT LIKE '%32%' < live value ID
AND t1.catid LIKE '%10%' < live value CATID
_
As I said, it works only if the SEBLOD SEF is turned of :/ Else it doesn't even try to catch the catid in the request.
I'll make some more test, but I think I did all the tests I can think about.
_
If somebody have an idea. Thanks again !