Add article title to read more link

কিভাবে Read more... আর্টিকেল টাইটেল যোগ করবেন ?

যদি আপনার টেমপ্লেট এ Read more... অপশন না থাকে তাহলে 'html' নামে একটা ফোল্ডার তৈরী করেন। তারপর নিচের ধাপগুলো অনুস্বরণ করুন।

Then locate the following files
  • (joomla)/components/com_content/views/category/tmpl/blog_item.php
  • (joomla)/components/com_content/views/frontpage/tmpl/default_item.php
  • (joomla)/components/com_content/views/section/tmpl/blog_item.php

Copy the files to your template's html folders
  • (yourtemplate)/html/com_content/category/blog_item.php
  • (yourtemplate)/html/com_content/frontpage/default_item.php
  • (yourtemplate)/html/com_content/section/blog_item.php

Open these files.
Nearly at the bottom of these files you should be seeing something like:
<a href="<?php echo $this->item->readmore_link; ?>" class="readon<?php echo $this->item->params->get('pageclass_sfx'); ?>">
     <?php if ($this->item->readmore_register) :
          echo JText::_('Register to read more...');
     elseif ($readmore = $this->item->params->get('readmore')) :
          echo $readmore;
     else :
          echo JText::sprintf('Read more...');
     endif; ?></a>
Change the line
echo JText::sprintf('Read more...');
into
echo JText::sprintf('Read more', $this->item->title);
The “Read more” link should now look like this: Read more: (Article title)

Loading
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Flying Twitter Bird Widget By ICT Sparkle