By stefano rigazio on Tuesday, 27 March 2018
Posted in General Issues
Replies 3
Likes 0
Views 558
Votes 0
I would need to display descriptive text only in the home of the component maybe inside the "block" where there is the search, the link to Forum, Recent, etc etc that you see in the demo http://easydiscuss.stackideas.com/

thanks a lot

stefano
Hi Stefano,

I not really sure what you are trying to achieve. Do you mean this(http://take.ms/Hx5XW)?

If that's the case, its not possible since it will affect the HTML structure of the toolbar.
·
Tuesday, 27 March 2018 17:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Also above but only see in the home of the component because now I put the text but you see in the home of the component and also inside the individual posts
·
Tuesday, 27 March 2018 20:44
·
0 Likes
·
0 Votes
·
0 Comments
·
If you need to customize the codes on the toolbar, the template file is located in /components/com_easydiscuss/themes/wireframe/toolbar/default.php

As for how to detect if you are on the home page of EasyDiscuss, you could use a code like this, (assuming you are on the forums view)


<?php if (JRequest::getVar('view') == 'forums') { ?>
show some content on forums view here
<?php } ?>
·
Tuesday, 27 March 2018 21:35
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post