How to show different custom fields on slave sites

More
9 years 8 months ago - 9 years 6 months ago #53145 by ggppdk
Hello

please note that i cannot really answer questions on configured sites with access to the site or spending time on it


i am not sure of what you are asking ?
why would the 2nd site show something less unless you configure it properly ?

if you want to show different categories maybe try using confiuguring menu items


-- 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...
Last edit: 9 years 6 months ago by ggppdk.

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

More
9 years 8 months ago - 9 years 6 months ago #53159 by zerotwothree
Hi

I have shared items assign to a primary category called Offers and am using a modified flexicontent template called Offer. I have created a new category called Health for use on a slave site and have assigned a modified flexicontent template to the Health category. I created custom fields that will only be called in the Health template however since the Offers template is assigned to the Offer items and it appears only one template can be assigned to an item the slave site is displaying the items using the Offers template.

By assigning the Health template to the category doesn't seem to override the Offers template. Is there a way to override the Offers template being used for each slave site? Does that make sense?

Thanks,
Chris
Last edit: 9 years 6 months ago by ggppdk.

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

More
9 years 8 months ago - 9 years 6 months ago #53161 by zerotwothree
Hi

I think I found how to override the template on

www.flexicontent.org/documentati ... -view.html

but where would I find this code?

$link = '...';
$link .= (strstr($link, '?') ? '&' : '?') . 'clayout=othertemplate';

Thanks,
Chris
Last edit: 9 years 6 months ago by ggppdk.

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

More
9 years 8 months ago - 9 years 6 months ago #53165 by ggppdk
Hello

the code is an example,

you use it at the place that the link is printend

e.g. inside
category_category.php
category_items.php

of FLEXIcontent templates


-- 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...
Last edit: 9 years 6 months ago by ggppdk.

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

More
9 years 8 months ago - 9 years 6 months ago #53190 by zerotwothree
Hi

Thanks for clarifing that. I see three

href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $item->categoryslug, 0, $item)); ?>"

but not sure how to insert that. Where would that go please?

Thanks,
Last edit: 9 years 6 months ago by ggppdk.

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

More
9 years 8 months ago - 9 years 6 months ago #53199 by ggppdk
href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $item->categoryslug, 0, $item)); ?>"


Code:
<?php $_link = JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $item->categoryslug, 0, $item)); $_link .= (strstr($_link, '?') ? '&' : '?') . 'ilayout=othertemplate'; ?> . . . href="<?php echo ; $_link; ?>"


-- 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...
Last edit: 9 years 6 months ago by ggppdk.

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

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