Videoshare in Module

More
10 years 3 months 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
10 years 3 months 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
10 years 3 months 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 review. Thanks!

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

More
10 years 3 months 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
10 years 3 months ago - 10 years 3 months 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 review. Thanks!
Last edit: 10 years 3 months ago by ggppdk.

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

More
10 years 3 months 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.

More
10 years 3 months ago #58392 by micker
Replied by micker on topic Videoshare in Module
hello
2 solutions =>
backend
create an override of flexicontent backend in isis template
front end
create link to flexicontent submission
check type, categorie and other option
and add css to hide field in type configuration (georgios message)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
10 years 3 months ago #58408 by ggppdk
Replied by ggppdk on topic Videoshare in Module
Hello

Use v3.0.9-rc
github.com/FLEXIcontent/flexicontent-cck/releases

- go to the FLEXIcontent type that you want to customize
- open "Item form FE"
- scroll down, and load default configuration (use GREEN parameter "Preset configurations") and then move fields to different TABs
- use _skip_ to skip an empty TAB (please read popup descriptions of parameters)
- to add custom HTML, TABs, or fieldset inside your item form, please create in fields manager new field(s) of type "Custom HTML/..."
- to place some special case fields like "language" or "Publishing" stuff, please create in fields manager new field(s) of type "Core property"


-- 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 review. Thanks!

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

More
10 years 3 months ago #58419 by Soulrider
Replied by Soulrider on topic Videoshare in Module
I don't know what i'm doing wrong. I attached a printscreen of frontend and tabs in backend.

i will hide items with css, but how can i get all on a single page. i have first a form to choose type, category and title. is it possible to link to the second form page. something like this: /index.php?option=com_flexicontent&view=item&layout=form_video&task=add&type=musikvideos&category=musikvideos

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

More
10 years 3 months ago #58450 by ggppdk
Replied by ggppdk on topic Videoshare in Module
Hello


you can skip a TAB but the fields that were in the TAB must be placed in some other place

anything that is not placed will be appended to the bottom of the form

e.g.
to disable language or publishing options, you can use parameters a little above, scroll up to find them


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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