Module FC SCOPE by Back Links

More
12 years 7 months ago #25317 by ggppdk
I am not sure what you are asking, but maybe this will clarify things:

The item properties e.g. item->title , item->image etc available to the Universal module templates --are assigned-- inside module helper file (helper.php)

like this:
$lists[$ord][$i]->title = ...
$lists[$ord][$i]->title = ...

so they will not reach the template unless you assigned them inside the module helper file.


-- 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 7 months ago - 12 years 7 months ago #25320 by igcorreia
Here is an exmaple:
*video link removed* *request link to see it*
Last edit: 12 years 7 months ago by igcorreia.

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

More
12 years 7 months ago #25321 by igcorreia
The only Idea I have is to get the ID of each item, for example:
Code:
$productsRelated = $item[$i];

How can I fetch this item PRICE field and IMAGE based in this ITEM ID, I mean literately hard-coded in the module.

I need to fetch the field PRICE from this ITEM ID
and
I need to fetch the field IMAGE from this ITEM ID

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

More
12 years 7 months ago #25328 by ggppdk
Here is the article for retrieving a custom field value
(look at case 2:)
www.flexicontent.org/documentati ... forms.html

please note that in the given example, you will need to set the variables:
$fcitem_id, $fccat_id, $field_id

to appropriate values


-- 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 7 months ago #25335 by igcorreia
yes. will try like this. think it would work. thanks again.

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

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