Separating the clock from the date

More
6 years 6 months ago #73250 by aminweb
is it possibile add css class for part hours date?
for ex:
l,D F Y <div class="time-clock-hidden">h:i</div>

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

More
6 years 6 months ago #73251 by micker
you can do it in template view directly but you need to code it

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]
The following user(s) said Thank You: aminweb

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

More
6 years 6 months ago #73252 by aminweb

micker wrote: you can do it in template view directly but you need to code it

how do it?
please guide me with syntax code
so thanks

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

More
6 years 6 months ago - 6 years 6 months ago #73254 by micker
hello
1 you need to load your field in render position
2 insert your rendering field where you want
Code:
<?php $date = $item->fields["fieldname"]->display; $disp_date = explode( " ", $date); echo $disp_date[0]; ?>
in this case i explode string date with space and load first value
now you need to adatp this to your code and your value format (fieldname = yourfieldname, " " space delimiter, [0] is first value [1] second ect)

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 6 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 6 months ago #73256 by aminweb
thanks but I could not :(
I add date field in render position in table listing default template.
and insert your code in category_items.php but nothing

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

More
6 years 6 months ago #73259 by micker
you need to work a little and maybe lean a little php sorry we can't provide specific code for free because we have many works on core component

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]
The following user(s) said Thank You: aminweb

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

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