1. elisa
  2. RO Users
  3. Sunday, 19 June 2022
  4.  Subscribe via email
Hi !
I tried to set up article attribs like that (screenshot) but it does not work. Actually I only want to change one of the attributes. How would one do this?
Thanks
Attachments (1)
Accepted Answer
Accepted Answer Pending Moderation
Hello Elisa,
We have increased the size of default field value with the attached patch file.

1. Load the attached patch file.
2. In RO CSVI About page, click on Verify database button. That will update default field in database.
3. In template fields edit page try saving attribs in default field. Default field has been changed to textarea so the lengthy values are handled.

Let me know on how that goes.
Attachments (1)
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Users
  3. # Permalink
Accepted Answer Pending Moderation
Hello Elisa,
Actually I only want to change one of the attributes.

All the attributes fields are available as individual template fields. You can add that one attribute you want to change as template field and import the value.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Users
  3. # 1
Accepted Answer Pending Moderation
Hi Tharuna, not sure how to do this. the field is not available there (I updated the templatefields before trying) (see screenshot in attachment)

Thanks
Elisa
Attachments (1)
  1. more than a month ago
  2. RO Users
  3. # 2
Accepted Answer Pending Moderation
Hello Elisa,
This does not seem to be core Joomla attribute. May I know how you have added this field in Joomla? Can you send me a screenshot on where you see this field?
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Users
  3. # 3
Accepted Answer Pending Moderation
Hi Tharuna,
yes thats not a Joomla attribute. Bute it's saved in attribs. It comes from the commercelab shop.
I wanted to set the default value of the attribs field but that did not work (initial post)

thanks
Elisa
  1. more than a month ago
  2. RO Users
  3. # 4
Accepted Answer Pending Moderation
Hello Elisa,
yes thats not a Joomla attribute. Bute it's saved in attribs. It comes from the commercelab shop.

That explains why you don't see the field in template fields. We support only core Joomla attributes fields in Joomla content import.

I wanted to set the default value of the attribs field but that did not work (initial post)

Default field value in database can hold 255 characters. The attributes value saved for Default field is too long and so it cannot be saved. You can either change the definition of default_value field in #__csvi_templatefields to Tinytext from varchar(255) in database or copy the attributes value to import file and use the value from there.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Users
  3. # 5
Accepted Answer Pending Moderation
Hi Tharuna,


That explains why you don't see the field in template fields. We support only core Joomla attributes fields in Joomla content import.

Is there a special code to just add something like a plugin for external attrib fields?

Default field value in database can hold 255 characters.

That's strange because the attribs database field has way more than 255 characters and I did not change anything about it? Or did I misunderstood that?

or copy the attributes value to import file and use the value from there.

Probably I need to change the database field then because the import file is coming from the Store and is not changeable

thanks
  1. more than a month ago
  2. RO Users
  3. # 6
Accepted Answer Pending Moderation
Hello Elisa,
Is there a special code to just add something like a plugin for external attrib fields?

There is no plugin but you can create an override for import and write code for adding the extra attribute field. One drawback with the override file is that with any update the code in override does not get updated.

That's strange because the attribs database field has way more than 255 characters and I did not change anything about it? Or did I misunderstood that?

Yes attribs field in #__content table has 5120 characters. But I was talking about default_value field in #__csvi_templatefields.

Probably I need to change the database field then because the import file is coming from the Store and is not changeable

Ok, you can change the definition of default_value field in #__csvi_templatefields.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Users
  3. # 7
Accepted Answer Pending Moderation
thank you, I changed it in the Database. Do I have to change it after each update?
  1. more than a month ago
  2. RO Users
  3. # 8
Accepted Answer Pending Moderation
Hello Elisa,
Do I have to change it after each update?

Yes, as of now you need to change it with update of RO CSVI. We will see what we can do about this in upcoming RO CSVI release.
Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Users
  3. # 9
Accepted Answer Pending Moderation
Ok thank you, since the Joomla Core field does not have this limitation it would be great to either have it extended by default or have an easy way to define own attribs fields :)
thanks!
  1. more than a month ago
  2. RO Users
  3. # 10
Accepted Answer Pending Moderation
Thank you it works :)
  1. more than a month ago
  2. RO Users
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!