Keyword

Content module and Tools module will not display

More
11 years 5 months ago #112970 by matt
I have installed joomla 3.1 and k2 2.6.6. Every module I have displays properly. However none of my K2 modules will display no matter where I place them. I enabled debugging and I can see that the queries are being ran, however the display for those module blocks are showing:

1. <div class="rt-grid-4 rt-alpha"> </div>
2. <div class="rt-grid-4"> </div>
3. <div class="rt-grid-4 rt-omega">
<div class="rt-block ">
<div class="module-surround">
<div class="module-title">

1 and 2 are not displaying anything. however module 3, a custom html module is displaying.

The queries for the K2 modules look like they are being ran:

SELECT i.*,
CASE WHEN i.modified = 0 THEN i.created ELSE i.modified END as lastChanged, c.name AS categoryname,c.id AS categoryid, c.alias AS categoryalias, c.params AS categoryparams
FROM XXXXX_k2_items as i RIGHT JOIN XXXXX_k2_categories c
ON c.id = i.catid
WHERE i.published = 1
AND i.access IN(1,1,5)
AND i.trash = 0
AND c.published = 1
AND c.access IN(1,1,5)
AND c.trash = 0
AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2013-05-10 14:00:46' )
AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2013-05-10 14:00:46' )
AND i.catid IN(16)
ORDER BY i.id DESC
LIMIT 0, 3
SELECT id
FROM XXXXX_k2_categories
WHERE parent IN (44)
AND id NOT IN (44)
AND published=1
AND trash=0
AND access IN(1,1,5)
SELECT i.*,
CASE WHEN i.modified = 0 THEN i.created ELSE i.modified END as lastChanged, c.name AS categoryname,c.id AS categoryid, c.alias AS categoryalias, c.params AS categoryparams
FROM XXXXX_k2_items as i RIGHT JOIN XXXXX_k2_categories c
ON c.id = i.catid
WHERE i.published = 1
AND i.access IN(1,1,5)
AND i.trash = 0
AND c.published = 1
AND c.access IN(1,1,5)
AND c.trash = 0
AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2013-05-10 14:00:46' )
AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2013-05-10 14:00:46' )
AND i.catid IN (44)
AND i.featured != 1
ORDER BY i.ordering
LIMIT 0, 2


Any help would be sincerely appreciated!

Thanks,

Matt

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #112971 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Content module and Tools module will not display
Hello matt,

Are you sure you they are not just empty? Keep in mind that if the K2 content module does not have any content to show it will not render at all.

You can try debugging them also by using the system template ( adding the ?template=system to your URLs will do the trick).
Or manually selecting items from the module's params to make sure the module renders when there is content to show.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum