Keyword

change a header title

More
9 years 2 months ago #145661 by alex
change a header title was created by alex
hey,

a friend asked me to make updates of his site and I am trying to figure out to change a certain header title. I cannot find anything related to it in the backend. Maybe you can help me? Ive got a little snippet of the code:
<!-- Plugins: BeforeDisplayContent -->
<!--K2 Plugins: K2BeforeDisplayContent -->
<div class="itemImageBlock span8"></div>
<div class="itemContentBlock span4">
	<div class="module">
        	<h3 class="header">
            		<span class="title"></span>
        	</h3>
        <!-- Item text  -->
        <div class="itemFullText">
            <h2></h2>
            <p></p>
            <p></p>
        </div>
    </div>


The website of it: www.craftbrewcruise.ca/about-tcbc/key-features/about-the-magic-spirit-vancouver
The text: Craft Brew Cruise - 2014

He wants me to change 2014 to 2015 or just remove it...

so far...

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 #145675 by Krikor Boghossian
Replied by Krikor Boghossian on topic change a header title
This appear's to be the K2 item's title.

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

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

More
9 years 2 months ago #145676 by alex
Replied by alex on topic change a header title
but the title of that particular item is actually "The Magic Spirit" I dont know where that "Craft Brew Cruise - 2014" is coming from?!

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 #145689 by Krikor Boghossian
Replied by Krikor Boghossian on topic change a header title
Is there a module published inside that item?
Any {module} code inside the item?

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

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

More
9 years 2 months ago - 9 years 2 months ago #145696 by alex
Replied by alex on topic change a header title
I dont know... the backend is such a mess... lot of demo stuff and lorem ipsum in the module section... I thought I would find out with browser code tools, normaly you would have smth like mod192 closing to the regarding code but in this case there is just module! Its really weird... I looked up items, categories by name and any menu points if their is a string like that but could not find...

Edit: Just unpublished all modules to test, but the header was still displayed

Edit 2: I figured out it has smth to do with Category item layout - Select a template: portfolio in the options of the categorie, if changed to default the string disappears. Where can I find the templates for k2?
Last edit: 9 years 2 months ago by alex.

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 #145715 by Krikor Boghossian
Replied by Krikor Boghossian on topic change a header title

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

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

More
9 years 2 months ago - 9 years 2 months ago #145720 by alex
Replied by alex on topic change a header title
I was reading about the templates yesti already, but I havent had access to the local files til now. I found the template, it was located in the template/html/com_k2.... there is an item.php and item_related.php

In the item.php I found this:
<h3 class="header"><span class="title"><?php echo JText::_('JM_K2_ABOUT_PROJECT'); ?></span></h3>
				<?php if($this->item->params->get('itemIntroText')): ?>

Now I have to find out where this is declared?! Any idea? I guess I gotta seek in the backend again... grml

Here is the source of item.php


Edit: ok I finally found it... it was declared in language/overrides/en-GB.override.ini :)

Thanks for the help...
Last edit: 9 years 2 months ago by alex. Reason: fund solution

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 #145732 by Krikor Boghossian
Replied by Krikor Boghossian on topic change a header title
It's nice to hear that you solved it :)

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