- Posts: 12
- Thank you received: 0
important
-
emadsroorco@gmail.com
Inactive member - Topic Author
- New Member
Less
More
10 years 10 months ago #36732
by emadsroorco@gmail.com
can i make hot scroller read from many categories
important was created by emadsroorco@gmail.com
can i make hot scroller read from many categories
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 10 months ago #36733
by ivan.milic
Replied by ivan.milic on topic important
Yes, just put comma separated ID list
Please Log in to join the conversation.
-
emadsroorco@gmail.com
Inactive member - Topic Author
- New Member
Less
More
- Posts: 12
- Thank you received: 0
10 years 10 months ago #36736
by emadsroorco@gmail.com
Replied by emadsroorco@gmail.com on topic important
but this id is for article not for categoy
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 10 months ago #36741
by ivan.milic
Replied by ivan.milic on topic important
Open:
modules\mod_hot_scroller\mod_hot_scroller.xml
around line 104 you will find:
<field name="catid" type="category" extension="com_content" multiple="false" size="5" label="Category" description="A content category" />
change multiple="false" to multiple="true", then you can use CTRL to select multiple choices with mouse.
modules\mod_hot_scroller\mod_hot_scroller.xml
around line 104 you will find:
<field name="catid" type="category" extension="com_content" multiple="false" size="5" label="Category" description="A content category" />
change multiple="false" to multiple="true", then you can use CTRL to select multiple choices with mouse.
Please Log in to join the conversation.
-
emadsroorco@gmail.com
Inactive member - Topic Author
- New Member
Less
More
- Posts: 12
- Thank you received: 0
10 years 10 months ago #36744
by emadsroorco@gmail.com
Replied by emadsroorco@gmail.com on topic important
i did that but i get
Warning: Invalid argument supplied for foreach() in \xampp\htdocs\emad\misr\modules\mod_hot_scroller\mod_hot_scroller.php on line 137
Warning: Invalid argument supplied for foreach() in \xampp\htdocs\emad\misr\modules\mod_hot_scroller\mod_hot_scroller.php on line 137
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
10 years 10 months ago #36747
by ivan.milic
Replied by ivan.milic on topic important
$where_clause = "\n AND ( a.catid IN (". $catid .") )";
replace with:
$where_clause = "\n AND ( a.catid IN (". implode(",",$catid) .") )";
replace with:
$where_clause = "\n AND ( a.catid IN (". implode(",",$catid) .") )";
Please Log in to join the conversation.
Time to create page: 0.092 seconds