Keyword

Disable elements' link

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62481 by Kevin Psalmon
Disable elements' link was created by Kevin Psalmon
Hi all,

little question please, how can i disable elements' link ? I mean, title and picture links via "k2 content module".

Thanks :)

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

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62482 by Kevin Psalmon
Replied by Kevin Psalmon on topic Re: Disable elements' link
bump please... :(

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

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62483 by Kevin Psalmon
Replied by Kevin Psalmon on topic Re: Disable elements' link
bump again...

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

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62484 by Kevin Psalmon
Replied by Kevin Psalmon on topic Re: Disable elements' link
seriously ! no one know ?

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

More
13 years 3 months ago #62485 by william white
Replied by william white on topic Re: Disable elements' link
Use this reference
community.getk2.org/forum/topics/duplicate-the-mod-k2-content
and edit default.php to suit your needs

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

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62486 by Kevin Psalmon
Replied by Kevin Psalmon on topic Re: Disable elements' link
Hi William and thanks for your answer.

But, what is the connection between my request and "duplicate mod" ?

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

More
13 years 3 months ago #62487 by Aaron
Replied by Aaron on topic Re: Disable elements' link
If you are talking about how K2 is displayed (in the component) it is in the template files - depending on where you specifically are referring to. If you are talking about a module, I am not sure but I would imagine it is the same principle. There is a bit of code in the PHP that you can disable effectively turning off the href for the title - This is a hack to the module though. The template "hack" is not really a hack if you duplicate the "default" directory into your own named folder.


Aaron :)

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

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62488 by Kevin Psalmon
Replied by Kevin Psalmon on topic Re: Disable elements' link
I just want to "disable" links of K2 module yeah, nothing else.

I'll try to see that but, i'm pretty bad in PHP so... :(

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

More
13 years 3 months ago #62489 by Aaron
Replied by Aaron on topic Re: Disable elements' link
Kevin,

Please let me know which module you are looking at. I will take a look at it and see if it is something feasible to accomplish. JUST KEEP IN MIND - Modifying a module is a hack and any upgrades to K2 would overwrite those changes.


Aaron :)

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

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62490 by Kevin Psalmon
Replied by Kevin Psalmon on topic Re: Disable elements' link
I'm using K2_content module to display elements of a specific category.
This is was the question ? ^^

PS : no prob', i'll keep in mind for the update.

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

More
13 years 3 months ago #62491 by Aaron
Replied by Aaron on topic Re: Disable elements' link
After rereading.. I do see that.. sorry.. Unable to check at the moment but will repost here once I do.


Aaron :)

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

More
13 years 3 months ago #62492 by Aaron
Replied by Aaron on topic Re: Disable elements' link
Kevin,

From your file manager on your hosting account (or however you can access the file directly...), navigate to:
modules / mod_k2_content ? tmpl / Default /
Edit default.php

Title:
					

Aaron :)

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

  • Kevin Psalmon
  • Kevin Psalmon's Avatar Topic Author
  • Offline
  • New Member
More
13 years 3 months ago #62493 by Kevin Psalmon
Replied by Kevin Psalmon on topic Re: Disable elements' link
Hi,

sorry for being so long Aaron.

So ok thanks, i'll try to make those modify' and i'll be back ;)

See ya.

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


Powered by Kunena Forum