Keyword

Link titles articles

  • Calogero
  • Calogero's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119488 by Calogero
Link titles articles was created by Calogero
Hi,

I am using joomla 2.5. I describe the problem:
I have a form that is only displayed on the home along with 2 other modules to display the headlines of k2.
How to articles in the main home there are those of k2. When I click on the title or read more about the article, it is opened on the same page also shows the modules that appear only in the home. At the click of the title I would like it to open in a new page where modules published on the home are not seen.

Obviously, the modules are visible ONLY on the home.

File: category_item.php

<?php if ($this->item->params->get('catItemTitleLinked')): ?>
<a href="<?php echo $this->item->link; ?>">
<?php echo $this->item->title; ?>
</a>
<?php else: ?>
<?php echo $this->item->title; ?>
<?php endif; ?>

This part is inherent in the article title link. Trying to insert various target does not change anything

I'm going crazy :(
thanks in advance.

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

  • Calogero
  • Calogero's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119489 by Calogero
Replied by Calogero on topic Re: Link titles articles
As if I click on the link of the author this does not happen, the page is displayed and the modules are not loaded.

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

  • Calogero
  • Calogero's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119490 by Calogero
Replied by Calogero on topic Re: Link titles articles
are willing to pay for a solution, I just can not comprehend how it is possible.

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

  • Calogero
  • Calogero's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119491 by Calogero
Replied by Calogero on topic Re: Link titles articles
updated:

- I create a special menu for users
- I create a menu item k2 Single Item
- Change to the new article I wrote
- Save and close.

Now if I click on the article title displayed on the home is opened as I want. It is not a solution! I'll have to publish thousands of articles which means creating thousands of menu items and in turn weigh db not counting the long string that I will have when I load the page.

So;
if you created an article that is not linked anywhere is displayed with all modules in the home, and if it is linked somewhere is displayed without the modules in the home since they are only visible on the home.


How can you solve?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #119492 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Link titles articles
You need to map your categories in your menu items, not your actual items.

Also make sure you are editing the correct template (check your category settings to see which K2 template is used).

FInally do no edit core files, you should override them. This tutorial will help you:
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

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

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

  • Calogero
  • Calogero's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119493 by Calogero
Replied by Calogero on topic Re: Link titles articles
I'm sorry, but I have not figured out what to do.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago #119494 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Link titles articles
I suggest you read a tutorial on how Joomla! menus and modules work.
Modules can be assigned to menu items and you need to map your categories in menu items in order to hide/show modules.
K2 uses core Joomla! functions so you won't have an issue when it comes to K2.

As for K2 these videos will definitely help you: getk2.org/documentation/k2class2012

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

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

  • Calogero
  • Calogero's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119495 by Calogero
Replied by Calogero on topic Re: Link titles articles
k2 has a widget that contains the latest items added?

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

  • Calogero
  • Calogero's Avatar Topic Author
  • Offline
  • New Member
More
10 years 11 months ago #119496 by Calogero
Replied by Calogero on topic Re: Link titles articles
I can not solve the problem

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 11 months ago - 10 years 11 months ago #119497 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Link titles articles
You need to read a tutorial on how Joomla! menus work.
Once you figure this out you won't have an issue with your modules and content.

Ps. You are looking for the K2 Content module.

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