How to show different custom fields on slave sites

More
9 years 7 months ago - 9 years 5 months ago #53216 by zerotwothree
Hi

Thanks for helping. When I tried that it changed all links on the page to

/site_content?ilayout=easyliferewards

The category and item is not coming up in the url.

I put the php bit at the top of the page on its own or should it be included with other code? I put it after the // ITEMS as MASONRY tiles block of code.

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

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

More
9 years 7 months ago - 9 years 5 months ago #53246 by ggppdk
Hello

i made a small mistake in the above code:
Code:
href="<?php echo ; $_link; ?>"


should be without the ; :
thus like this:

Code:
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 5 months ago by ggppdk.

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

More
9 years 7 months ago - 9 years 5 months ago #53249 by zerotwothree
Hi

Sorry, forgot to mention, I did catch that and used href="<?php echo $_link; ?>" but all links were coming up as /site_content?ilayout=easyliferewards

Would it work if ilayout=othertemplate was added somehow after $_link in the existing href?

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

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

More
9 years 7 months ago - 9 years 5 months ago #53252 by ggppdk
hello

yes you could


-- 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 5 months ago by ggppdk.

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

More
9 years 7 months ago - 9 years 5 months ago #53254 by zerotwothree
Hi

What syntax would I use then please?

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

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

More
9 years 7 months ago - 9 years 5 months ago #53280 by zerotwothree
Hi

What would the correct syntax be for that please, can't quite get it.

Thanks
Last edit: 9 years 5 months ago by ggppdk.

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

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