[Plugins] Link content inside Flexicontent

More
15 years 7 months ago #9088 by vlester
Hello,

Is there a way to get the link of the field ? I would like to add a "readmore" link.
I try to add that in my template : <a href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($row->slug, $row->catslug));?>" but it doesn't work.
Code:
<!-- BOF Plugin Select FlexiItem --> <?php if (isset($this->item->positions['film'])) : ?> <div class="lineinfo subtitle2"> <?php foreach ($this->item->positions['film'] as $field) : ?> <span class="value field_<?php echo $field->name; ?>"><?php echo $field->display; ?></span> <span> [url=<a href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($row->slug, $row->catslug));?>]Read more[/url]</span> <?php endforeach; ?> </div> <?php endif; ?> <!-- EOF Plugin Select FlexiItem block -->

Thanks

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

More
15 years 7 months ago #9385 by yopyop001
Hi,

I updated the first post with the new version with minor changes

Changelog v0.3

+ Add Option multiple or single select list
# Change Plugin name
# Update link to article (add itemslug and categoryslug)
# Upadate language files en-EN and fr-FR

Regards

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

More
15 years 6 months ago #9919 by fesghel
It's great, thanks. but I have a suggestion for enhancing user interface. When you have many songs and singers, It's a bit difficult to select arbitrary singer(s) or song(s) with present interface. Besides, if you have songs classified in genres, then you can't filter them when you are to select them. I suggest sth like flexicontent configuration window.
I hope you get what I mean.

Thanks

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

More
15 years 6 months ago #10075 by fesghel
Hi,
I've a question. Imagine we have two types, Articles, Authors and in some articles we have author plus translator. Well I create two select item fields named "Author" and "Translator" for the article type. And in the author type I create two reverse item fields for written ones and translated ones. The problem is in the author pages that only name of the article is shown while I want it to show article name plus author and translator. Can I do it?
For example I have a story "Twilight" by "John Campbell", translated by "Fesghel". In Campbell page it's this way:
________________Twilight
and I want it this way:
________________Twilight | John Campbell/Fesghel

How can I do such a thing? Can I?
I will appreciate it if you help me.

Thanks

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

More
15 years 6 months ago #10076 by yopyop001
Hi,

Thanks for your comments. This plugin needs lot of enhancements (filter items by categories, or field value, ...)

I have to work on it... but i don't have enough time to do it soon.

For your second post : for now it's impossible to load fields by this plugin. I'm looking for an efficient way to do that.

Regards

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

More
15 years 5 months ago #10168 by fesghel
Hi,
Alright, I hope you can make it soon.

I've another question. The order of the names in the select box, is alphabetical right? The problem is that it's not completely true. I mean I've names in UFT-8 and some of orders are wrong. For example, Adam is after Bernard. How can I fix it?

Thanks

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

More
15 years 3 months ago #12378 by fesghel
And again I came. I want to change the way it displays values given to it. I mean instead of showing this way:
Singer
Fesghel
I want to show it like this:
Fesghel
Singer
In both item view and category view. Should I change CSS files or something?

Thanks

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

More
15 years 1 month ago #13125 by fesghel
What's up yopyop001? Is it going to change for possible next version?


Thanks

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

More
15 years 1 month ago #13153 by yopyop001
Hi,

Sorry for the late answer...

I don't understand that :

I want to change the way it displays values given to it. I mean instead of showing this way:
Singer


Fesghel
I want to show it like this:
Fesghel
Singer


Did you have an exemple, to see it online?

I'm waiting for the version 1.5.4 to begin working on a new version...

Regards

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

More
15 years 1 month ago #13171 by fesghel
Hi,
Your welcome. That's solved. I changed place of field and value in template/item.php, though for category view It didn't work.
For view issue, I took a look in other CCKs and found Zoo. It's created a template mode for this. I mean plus item view and category view, it has a "related" view, that manages it and you can configure it just like item and category views. Do you have any plans for it?

Thanks

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

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save