R0.25 No Longer Supported

Category Name

  • shekar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 9 months ago #1 by shekar
Category Name was created by shekar
Hi,

Please suggest me to display the Catergory Name (Basic Finance Management-Showing on breadcrumb) instead of Courses [Marked with arrow]




Thanks
Shekar.S

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

More
15 years 9 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Re: Category Name
That cannot be done right now, as the heading is hardcoded.

You would need to modify Joomdle code to show the category title.

I think it may be a good suggestion, so I will write it down to study for future releases.
Thank you!

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

  • shekar
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
15 years 9 months ago #3 by shekar
Replied by shekar on topic Re:Category Name
Thank you Antonio

Its working now :)
I have modified: com_joomdle\views\coursecategory\tmpl\default.php


<?php if ((!is_array($this->categories)) || (is_array ($this->cursos))) : ?>
<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<tr>
<td width="90%" height="20" class="sectiontableheader<?php echo $this->params->get( 'pageclass_sfx' ); ?>">
<?php
foreach ( $this->cursos as $curso ) :
echo $curso;
break;
endforeach;
?>
</td>
</tr>

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

More
15 years 9 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Re:Category Name
Great :)

Thank you very much for sharing the code.

I will test it and put it in place for next release.

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