Item alias in module

More
12 years 6 months ago #31189 by tevez15
Item alias in module was created by tevez15
Hi

I have a quetion, is possible i use the item alias in module fc?

I have the title, but i want alias to.

Thanks :P

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

More
12 years 6 months ago #31190 by ggppdk
Replied by ggppdk on topic Item alias in module
in helper.php

after:
$lists[$ord][$i]->title = ...
add
$lists[$ord][$i]->alias = $row->alias;

AND after:
$lists[$ord][$i]->title = ...
add
$lists[$ord][$i]->alias = $row->alias;

-- then inside news.php TEMPLATE file,
use $item->alias instead of $item->title,

-- i ll commit it so that updated helper file will have this


-- 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
12 years 6 months ago #31192 by igcorreia
Replied by igcorreia on topic Item alias in module
Nice :D

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

More
12 years 6 months ago #31211 by tevez15
Replied by tevez15 on topic Item alias in module
Thanks.. i can be use this in component?

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

More
12 years 6 months ago #31214 by ggppdk
Replied by ggppdk on topic Item alias in module
Hello,

you mean use item's alias in item/category/etc views?
no, theres is no such option


-- 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
12 years 6 months ago #31316 by tevez15
Replied by tevez15 on topic Item alias in module
hum.. ok. But thanks for the help with module :)

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

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