[SOLVED]cat list some with link to item view some not

More
10 years 8 months ago - 10 years 8 months ago #49914 by mdma
Hello!

how to achieve this:
in category view (as a list) there should be items with linked titels(standard/default) to item view and some with link to item disabled in category list...

greetings
Last edit: 10 years 8 months ago by mdma.

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

More
10 years 8 months ago #49917 by micker
sorry i don't realy understand ...
us default template in your category and drag and drop field wanted in template administration

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
10 years 8 months ago #49919 by mdma
hello!sorry for unclear question:
1.)in frontend!:
2.)in category view (as a list) the titel links to item view.
this is by default on/off configurable=standard functionality.

3.)i need categoryview as list, some titel link to item view,
but others dont link to item, and titels are greyed out(no linked titels to item view for them)

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

More
10 years 8 months ago #49922 by ggppdk
Hello

i understand

there is no such option available the parameter "link title in lists" either links all or does not link any


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
10 years 8 months ago #49959 by mdma
thank you alot!
i try other question:would that be a solution maybe what do you think? for example i create field called field3000:

field3000=values1 empty or fe. class="disabled"

calling field something like this:
www.flexicontent.org/documentation/faq/6...to-work-in-v156.html
Code:
<!-- BOF item title --> <?php if ($show_title) : ?> <?php if ($link_titles) : ?> <a class="fc_item_title <?php echo field3000 value>"> href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $item->categoryslug, 0, $item)); ?>"><?php echo $item->title; ?> <?php else : echo $item->title; endif; ?> <?php endif; ?> <!-- EOF item title -->


would that work that way?

or better with $this->fields->display;

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

More
10 years 8 months ago #49973 by ggppdk
Hello

you can do the above inside your custom template

to use a select field with ID 47 that has "YES/NO" option for linking

you could do:
Code:
$fld_id_DO_link = 47; $do_link = @ $items[$i]->fieldvalues[$fld_id_DO_link]; if ( $do_link || $do_link===null) { // LINK the title } else { // Do not LINK the title }


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.343 seconds
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