Fieldtype: Relation // Inner HTML: category

More
7 years 2 months ago - 7 years 2 months ago #66134 by bytekulturmaya
Hello
I have a Relation Field and unfortunally the __item_url__ gets me to a total wrong site (i have for each category a menulink - no idea why it does not work| with modules it works fine?!)

so i thought i gonna set the path by myself... But i cant get the alias of the category in the relation-field.
Any Idea how i could make this?
Code:
<a href="nepal/__item_categories__/{item->id}-{item->alias}.html"><span class="icon-chevron-right"></span> {item->title}</a>
evetythin works fine - apart of the "__item_categories__"
I tryed many ways - nothing worked

Also the %%language_string%% is not working?!
Code:
<a href="%%language_string%%/nepal/__item_categories__/{item->id}-{item->alias}.html"><span class="icon-chevron-right"></span> {item->title}</a>


For any Tipp I'm very thankful!

Maya
Last edit: 7 years 2 months ago by bytekulturmaya. Reason: Found %%language_string%% also not working

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

More
7 years 1 month ago #66480 by ggppdk
Hello

there is no replacement like:
__item_categories__

but you can try {item->cat_alias} and see if this works for you

About __item_url__
- does it not link to the item
- or it links to the item via different than "desired" URL ?


-- 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.795 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