- Posts: 25
COMMUNITY FORUM
User page item title links
- oliver87
- Topic Author
- Offline
- Junior Member
Less
More
12 years 11 months ago #57250
by oliver87
User page item title links was created by oliver87
Hi, I dont know, but titles on my user page doesn't work as link! I can onlli click on image or readmore button but titles are not a links.
I chceck user.php file and I foud piece of code and it should generat links from titles
<div class="userItemHeader">
<?php if($item->params->get('userItemTitle')): ?>
<!-- Item title -->
<h3 class="userItemTitle">
<?php if ($item->params->get('userItemTitleLinked') && $item->published): ?>
<a href="<?php echo $item->link; ?>">
<?php echo $item->title; ?>
</a>
In backend i set option "titles as links". What's wrong?
I chceck user.php file and I foud piece of code and it should generat links from titles
<div class="userItemHeader">
<?php if($item->params->get('userItemTitle')): ?>
<!-- Item title -->
<h3 class="userItemTitle">
<?php if ($item->params->get('userItemTitleLinked') && $item->published): ?>
<a href="<?php echo $item->link; ?>">
<?php echo $item->title; ?>
</a>
In backend i set option "titles as links". What's wrong?
Please Log in or Create an account to join the conversation.
- oliver87
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 11 months ago - 12 years 11 months ago #57251
by oliver87
Replied by oliver87 on topic Re: User page item title links
Any ideas? :)
I check again all setting on two different installations of K2. On the first one in K2 preferences it is set
"Title as links on author's site" and this is working fine
But on the second installation all setting are same (even tis above) but titles on user page arne not working as links :(
I check again all setting on two different installations of K2. On the first one in K2 preferences it is set
"Title as links on author's site" and this is working fine
But on the second installation all setting are same (even tis above) but titles on user page arne not working as links :(
Please Log in or Create an account to join the conversation.
- oliver87
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 11 months ago #57252
by oliver87
Replied by oliver87 on topic Re: User page item title links
Maybe there is something wrong with css?
In my case it's look like this:
Maybe I should write something more also in php files?
div.groupLinks { margin: 0; padding: 0; }
span.catItemEditLink {
border-bottom: 2px dashed #ddd;
display: block;
margin: 0 0 4px 0;
padding: 16px 36px 4px 4px;
text-align: left;
}
div.catItemHeader h3.catItemTitle, h2.latestItemTitle, div.genericItemHeader h2.genericItemTitle, div.userItemHeader h3.userItemTitle, div.userItemTitle
{
border-top: 5px solid #bbb; padding: 35px 0px 10px 0px;
color: #222;
font-family: Anton, sans-serif;
text-transform: uppercase;
font-size: 220%;
font-weight: bold;
line-height: 130%;
margin: 0px !important;
:
}
div.catItemHeader h3.catItemTitle a, h2.latestItemTitle a, div.genericItemHeader h2.genericItemTitle a, div.userItemHeader, h3.userItemTitle a, div.userItemTitle
{ color: #222; text-decoration: none; }
In my case it's look like this:
Maybe I should write something more also in php files?
div.groupLinks { margin: 0; padding: 0; }
span.catItemEditLink {
border-bottom: 2px dashed #ddd;
display: block;
margin: 0 0 4px 0;
padding: 16px 36px 4px 4px;
text-align: left;
}
div.catItemHeader h3.catItemTitle, h2.latestItemTitle, div.genericItemHeader h2.genericItemTitle, div.userItemHeader h3.userItemTitle, div.userItemTitle
{
border-top: 5px solid #bbb; padding: 35px 0px 10px 0px;
color: #222;
font-family: Anton, sans-serif;
text-transform: uppercase;
font-size: 220%;
font-weight: bold;
line-height: 130%;
margin: 0px !important;
:
}
div.catItemHeader h3.catItemTitle a, h2.latestItemTitle a, div.genericItemHeader h2.genericItemTitle a, div.userItemHeader, h3.userItemTitle a, div.userItemTitle
{ color: #222; text-decoration: none; }
Please Log in or Create an account to join the conversation.
- Jiliko.net
- Offline
- Platinum Member
Less
More
- Posts: 567
12 years 11 months ago #57253
by Jiliko.net
Replied by Jiliko.net on topic Re: User page item title links
Hi,
You've got an url we can check ?
Olivier
You've got an url we can check ?
Olivier
Please Log in or Create an account to join the conversation.
- oliver87
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 11 months ago - 12 years 11 months ago #57254
by oliver87
Replied by oliver87 on topic Re: User page item title links
Sure, here it is :)
maxmania.pl/component/k2/itemlist/user/65-dredamek
Titles in user page view are not links while it should to :(
maxmania.pl/component/k2/itemlist/user/65-dredamek
Titles in user page view are not links while it should to :(
Please Log in or Create an account to join the conversation.
- oliver87
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 11 months ago #57255
by oliver87
Replied by oliver87 on topic Re: User page item title links
Any ideas? :)
Please Log in or Create an account to join the conversation.
- Jiliko.net
- Offline
- Platinum Member
Less
More
- Posts: 567
12 years 11 months ago #57256
by Jiliko.net
Replied by Jiliko.net on topic Re: User page item title links
Hi,
It' not because of css because the link is really not here, so it's either a configuration problem or you have an override of the K2 template where the link code has been removed.
Olivier
It' not because of css because the link is really not here, so it's either a configuration problem or you have an override of the K2 template where the link code has been removed.
Olivier
Please Log in or Create an account to join the conversation.
- oliver87
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 11 months ago - 12 years 11 months ago #57257
by oliver87
Replied by oliver87 on topic Re: User page item title links
Thank's for response :)
Could You show me line of code to correct?
Maybe I'am "blind" but i have not idea where I should to change it :)
Could You show me line of code to correct?
Maybe I'am "blind" but i have not idea where I should to change it :)
Please Log in or Create an account to join the conversation.
- oliver87
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 25
12 years 11 months ago - 12 years 11 months ago #57258
by oliver87
Replied by oliver87 on topic Re: User page item title links
Here's another installation. Maybe somebodu cold show the difference i code? Why user itemlist view working on ciekawastronaswiata.pl and on maxmania.pl doesn't?
ciekawastronaswiata.pl/index.php?option=com_k2&view=itemlist&task=user&id=73:katherina
ciekawastronaswiata.pl/index.php?option=com_k2&view=itemlist&task=user&id=73:katherina
Please Log in or Create an account to join the conversation.