Keyword

Modify Tag-Page

  • razen
  • razen's Avatar Topic Author
  • Offline
  • Senior Member
More
9 years 2 months ago - 9 years 2 months ago #145835 by razen
Modify Tag-Page was created by razen
I would like to modify the tags-page:

The title is "Displaying items by tag: <tag>" - but in the template I see only this: "<?php echo $this->escape($this->params->get('page_title')); ?>"
1. Where can I activate this title? I can modify the template so that I can get it, but I'm sure there's an option where I can activate it
2. Where can I change the text from "Displaying items by tags: ..." to something different?
3. How can I add an itemCounter like in the category-view?

EDIT:
Answer to 3 seems to be "<?php echo $this->pagination->total; ?>" - the same as for search results...

EDIT 2:
Answer to 2 is "in /languages/en_GB/en-GB.com_k2.ini" - was searching in the wrong place -.-
Last edit: 9 years 2 months ago by razen.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #145887 by Krikor Boghossian
Replied by Krikor Boghossian on topic Modify Tag-Page
Hello razen,

You are correct on 2 and 3.
Now as for 1, the page's title can be shown/ hidden from the menu item's settings.

The code that generates this title is:
	<?php if($this->params->get('show_page_title')): ?>
	<!-- Page title -->
	<div class="componentheading<?php echo $this->params->get('pageclass_sfx')?>">
		<?php echo $this->escape($this->params->get('page_title')); ?>
	</div>
	<?php endif; ?>

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