value in table in frontend

More
6 years 8 months ago #72709 by aminweb
Replied by aminweb on topic value in table in frontend
I do it.
but have a problem
this my code:
Code:
<table style="width:100%"> <tr> <th>{{hotelname##label}}</th> <th>{{room1##label}}</th> <th>{{room2##label}}</th> <th>{{room3##label}}</th> <th>{{room3-2##label}}</th> </tr> <tr> <td>{{hotelname}}</td> <td>{{room1}}</td> <td>{{room2}}</td> <td>{{room3}}</td> <td>{{room3-2}}</td> </tr> </table>
I use Allow multiple values
when use multiple values show table head for each value.I want show table head (th) only once.

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

More
6 years 8 months ago #72711 by ggppdk
Replied by ggppdk on topic value in table in frontend
Hello

when use multiple values show table head for each value.I want show table head (th) only once.


exactly,
with the HTML that you are allowed it is repeated per value-set of the fieldgroup
so you will get the head row repeated N times if you have N values

i see the need to add 2 new parameters
HTML before values
HTML after 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
6 years 8 months ago - 6 years 8 months ago #72712 by micker
Replied by micker on topic value in table in frontend
You Can do it with open and close field option simply
No need to add option

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]
Last edit: 6 years 8 months ago by micker.
The following user(s) said Thank You: aminweb

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

More
6 years 8 months ago #72713 by aminweb
Replied by aminweb on topic value in table in frontend
thanks for guide me.
"" You Can do it with open and close field option simply"""
please explain more :(
thanks

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

More
6 years 8 months ago - 6 years 8 months ago #72714 by ggppdk
Replied by ggppdk on topic value in table in frontend
Hello

You Can do it with open and close field option simply
No need to add option


right , thanks micker

you can add your code in open and close tags of the fieldgroup field
please see the popup description of the parameters

- just for enter the label of every field use the actual field label
- or if you want them translated create Joomla language strings and enter language strings


-- 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...
Last edit: 6 years 8 months ago by ggppdk.
The following user(s) said Thank You: aminweb

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

More
6 years 8 months ago #72715 by aminweb
Replied by aminweb on topic value in table in frontend
oh thanks.
please see my code is correct?
in custom html:
Code:
<tr> <td>{{hotelname}}</td> <td>{{room1}}</td> <td>{{room2}}</td> <td>{{room3}}</td> <td>{{room3-2}}</td> </tr>

in open:
Code:
<table style="width:100%"> <tr> <th>hotel name</th> <th>room one</th> <th>room two</th> <th>room three</th> <th>room four</th> </tr>

in close :
Code:
</table>

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

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