Select Field using SQL: how to set default to 1st record

More
10 years 1 month ago #50357 by Kintamani
Thank you for your help.
I'm sorry to ask you where I should copy the example code that you suggested.
From your previous message, I understand that there should be a parameter to add the JS code but I was not able to locate where the parameter is and where to copy the JS code you sent to me.

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

More
10 years 1 month ago #50366 by ggppdk
Hello

-- the CUSTOM JS parameter is in item form TAB of component properties
-- and you can customize in content type parameters too, to have different JS per content type


this particular JS will not cause problem even if you load in any view, (so you could add to some JS file loaded by backend or frontend Joomla template) but better add to the parameter


-- 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
10 years 1 month ago #50371 by Kintamani
Thank you so much.
Much clearer now.
I could locate both parameters (component and type) as per your indications.

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

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