Videoshare in Module

More
9 years 1 month ago #58375 by Soulrider
Hi

I want to show youtube thumbs in the category view and in the flexicontent module. In the category view it works with this:
Code:
<div class="desc-content field_<?php echo $field->name; ?>"><?php /* <?php echo $field->display; ?> */ ?> <a href="<?php echo JRoute::_(FlexicontentHelperRoute::getItemRoute($item->slug, $item->categoryslug, 0, $item)); ?>" class=""> <?php echo '<img src="http://img.youtube.com/vi/'.substr($field->display,57,16).'/0.jpg" width="100">'; ?> </a> </div>

In the Flecivontent module that doesn't work, only in the category_items.php it works.
How gan i get the youtoube/videoshare field in the flexicontent module? I tried different things an no one works. Can anyone give me a hint?

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

More
9 years 1 month ago #58377 by Soulrider
Replied by Soulrider on topic Videoshare in Module
I tried using the fields in module too. Fields parameters in backend is all on and nothing is shown.

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

More
9 years 1 month ago #58379 by ggppdk
Replied by ggppdk on topic Videoshare in Module
Hello

the field is an image field ?

do not use $field->display to get the path, instead see here:
www.flexicontent.org/documentation/faq/7...e-gallery-field.html

e.g. to print the array do:
Code:
echo "<pre>Image field thumbs: "; print_r($field->thumbs_src); echo "</pre>";


-- 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
9 years 1 month ago #58381 by Soulrider
Replied by Soulrider on topic Videoshare in Module
THANK YOU!

I have a second problem. I want to customise the item form. I've found this:
www.flexicontent.org/documentation/faq/6...ntend-item-form.html

components/com_flexicontent/views/item/tmpl/form.php

copy above file to templates/mytemplate/html/com_flexicontent/item/form.php


I have copy the file to site template folder and flexicontent folder and it takes always the original file.

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

More
9 years 1 month ago - 9 years 1 month ago #58382 by ggppdk
Replied by ggppdk on topic Videoshare in Module
Hello

to customize frontend item form,

go to component parameters and find the item form TAB
- (if you want to effect ALL types) then set the relevant parameters
- then scroll down to find the parameters for what is displayed in every "TAB" of item form
and copy the values into a specific TYPE e.g. to "article" and then customize it there

(in v3.0.9 will have a load defaults button, so that you do not need to copy manually from component parameters)



-- 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...
Attachments:
Last edit: 9 years 1 month ago by ggppdk.

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

More
9 years 1 month ago #58384 by Soulrider
Replied by Soulrider on topic Videoshare in Module
Hello

Half I Understand but it's very confusing.

I want a form in which the user doesn't have to choose the type, A form on a single site with category, title, description, tags and videoshare and nothing else. With hidden date, user id,...

I'm trying to do this all day long. Once in a while something is displayed different but i'm not able to sort the different fields or make a link with type is given

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

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