How to make a table in a content item?

More
13 years 8 months ago #26045 by ggppdk
Each line has exactly the same properties?

e.g Two input text field and one select field

where is the problem in
a. duplicating the value-line
and
b. clearing properties of the previous value-line

such code is already available in the new updated email field, or the weblink field.


-- 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
13 years 8 months ago #26051 by igcorreia
we need the SELECT QUERY + multiple values + an input field with a label.

none of the available fields does this, not even the new email.

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

More
13 years 8 months ago #26086 by igcorreia
I have finish the plugin. If you interested please request it. Because I need to explain how to configure.

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

More
13 years 8 months ago #26100 by micker
maybe you can put it in non core extention with description ?
after i add it in extensions part site
thanks for sharing

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
13 years 8 months ago #26264 by igcorreia
Sure, I didnt put it yet in the forum becouse the client was testing.

Give me a few more days to stable it I will post for sure, this time with images.

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

More
13 years 8 months ago #26272 by micker
no problem thanks for futur sharing !

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
12 years 2 months ago #43615 by gkhn
Interesting topic :)

I wonder how i can just set up fields like product name/ product price and features
so that user can add these and it creates a nice table

----Product Name
Price -- - - -Features



SOmething like this

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

More
12 years 2 months ago #43618 by igcorreia
The easy way is to use the DEFAULT TEMPLATE, it is a table.

Create a type of content called PRODUCTS with 5/6/7 custom fields and assign them to the DEFAULT TEMPLATE create a menu item linked to the category and that is it.

Advanced solution is to create a custom module template that is a table.

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

More
12 years 2 months ago #43622 by gkhn

igcorreia wrote: The easy way is to use the DEFAULT TEMPLATE, it is a table.

Create a type of content called PRODUCTS with 5/6/7 custom fields and assign them to the DEFAULT TEMPLATE create a menu item linked to the category and that is it.

Advanced solution is to create a custom module template that is a table.


thank you for the reply.

What I am actually trying to do is this

<?php if ((isset($item->positions ) ) ) : ?>
<div class="row">
<div class="col-sm-12">
<div class="table-responsive table-bordered table-hover">
<table class="table">

<?php foreach ($item->positions as $field) : ?>
<thead>
<tr>
<?php echo $field->display; ?>
</tr>


</thead>
<?php endforeach; ?>
<?php endif; ?>

<tbody>
<?php if ((isset($item->positions ) ) ) : ?>
<?php foreach ($item->positions as $field) : ?>
<tr>
<?php echo $field->display; ?>

</tr>
<?php endforeach; ?>
<?php endif; ?>
<?php if ((isset($item->positions ) ) ) : ?>
<?php foreach ($item->positions as $field) : ?>
<tr>

<?php echo $field->display; ?>

</tr>
<?php endforeach; ?>
<?php endif; ?>
<?php if ((isset($item->positions ) ) ) : ?>
<?php foreach ($item->positions as $field) : ?>
<tr>
<td> <?php echo $field->display; ?></td>

</tr>
<?php endforeach; ?>
<?php endif; ?>
</tbody>

</table>
</div>
</div>
</div>


I can dynamically add text field to this using frontend submission.

The problem is if I want to add an image+text inside the table. If I can load the textarea just like the simple text field then my problem is solved :)

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

More
12 years 2 months ago #43623 by gkhn
I even tried loading a module via field but I cannot add prefix and suffix to modules...(<td> </td>)

I addded fields and using <td> prefix and suffix, I can get them work inside the table...(simple text only)

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