Form2Content Pro version 6.17.4
I am using sigplus to show images, but I cannot se what Template Parameter I can use to show the image caption on each image?
The content type field is "Image Gallery" and I have set both "Show Alt tag field" and "Show Title tag field" to yes. The user can enter a title and an alt tag for each image - but I can choose neither one in my template parameter?
How do I set the value of "Show Alt tag field" or "Show Title tag field" in my template as parameter?
Form2Content Forum
Questions and answers for Form2Content, a Joomla CCK.
- Ellen Jensen
- Form2Content Lite & Pro
- Tuesday, 19 February 2019
- Subscribe via email
Accepted Answer
Accepted Answer
Pending Moderation
If you want a different title per image (and have user(s) change it via F2C) you need to code as the 3rd party Joomla plugin options don't allow for this level of dynamic.
PS The code you use is based on the Joomla template framework. Boostrap/UIkit etc.. I am sure you can find examples of the html (and possibly include a JS file) and copy/paste. There might also be pure CSS solutions.
Regards,
Patrick
PS The code you use is based on the Joomla template framework. Boostrap/UIkit etc.. I am sure you can find examples of the html (and possibly include a JS file) and copy/paste. There might also be pure CSS solutions.
Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so
- more than a month ago
- Form2Content Lite & Pro
- # Permalink
Accepted Answer
Pending Moderation
Is it at all possible to to make use of either "Show Alt tag field" or "Show Title tag field" of a Image Gallery content type field in a template?
- more than a month ago
- Form2Content Lite & Pro
- # 1
Accepted Answer
Pending Moderation
Hi Ellen,
Please provide information on how Sigplus adds title or alt. Add your own template code so we can understand what you are doing.
In the F2C Gallery field settings you can set to display title and alt for each image.
Regards,
Patrick
Please provide information on how Sigplus adds title or alt. Add your own template code so we can understand what you are doing.
In the F2C Gallery field settings you can set to display title and alt for each image.
Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so
- more than a month ago
- Form2Content Lite & Pro
- # 2
Accepted Answer
Pending Moderation
Hi Patrick,
Sigplus uses "caption_title"
This outputs "test" as caption on each image - but I would like to set this dynamically with a template parameter.
Yes, I can set Image Gallery field to display title and alt on the submissionform, but I would also like to display these afterwards again through a template.
How do I fetch these values / what template parameter to use?
Sigplus uses "caption_title"
{ldelim}gallery border="1px solid #ddd" rows=1 cols=1 alignment="left" rotator_links=0 rotator_trigger="click" rotator_step="single" rotator_alignment="c" caption_title="test" mobile="responsive"{rdelim}stories/{$GALLERY_PATH_RELATIVE}{ldelim}/gallery{rdelim}
This outputs "test" as caption on each image - but I would like to set this dynamically with a template parameter.
Yes, I can set Image Gallery field to display title and alt on the submissionform, but I would also like to display these afterwards again through a template.
How do I fetch these values / what template parameter to use?
- more than a month ago
- Form2Content Lite & Pro
- # 3
Accepted Answer
Pending Moderation
Hi Ellen,
A gallery is an ARRAY, ie multiple images with multiple title/alt etc.
The SIGplus seems to only allow for ONE title for ALL the gallery.
If you want to template that add a F2C text field "gallery title" and set the output in your template code.
As per documentation and example:
https://documentation.form2content.com/f2c-field-types/image-gallery-field
https://gist.github.com/Form2Content/cc31050a6c370dc2cfbe
You can also get each individual image/title/alt using the ARRAY code and build any type of gallery but is more advanced. This of course does not work with your Sigplus as it just links to a FOLDER with images....
Hope this answers your question.
Regards,
Patrick
A gallery is an ARRAY, ie multiple images with multiple title/alt etc.
The SIGplus seems to only allow for ONE title for ALL the gallery.
If you want to template that add a F2C text field "gallery title" and set the output in your template code.
As per documentation and example:
https://documentation.form2content.com/f2c-field-types/image-gallery-field
https://gist.github.com/Form2Content/cc31050a6c370dc2cfbe
You can also get each individual image/title/alt using the ARRAY code and build any type of gallery but is more advanced. This of course does not work with your Sigplus as it just links to a FOLDER with images....
Hope this answers your question.
Regards,
Patrick
Please read the F2C documentation before asking questions! Thank you if you've done so
- more than a month ago
- Form2Content Lite & Pro
- # 4
Accepted Answer
Pending Moderation
Thank you for your answer. I think I understand now.
I cannot use sigplus to do what I want, instead I have to code like your examples show.
I cannot use sigplus to do what I want, instead I have to code like your examples show.
- more than a month ago
- Form2Content Lite & Pro
- # 5
- Page :
- 1
There are no replies made for this post yet.
However, you are not allowed to reply to this post.
However, you are not allowed to reply to this post.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »