Page 1 of 1

Author mode, change attributes

Posted: Thu Jul 09, 2015 9:23 pm
by luxlunae
Is there a way to change element attributes from author mode?

I use

content:attr(lang);

as part of my css block to display the attribute but it does not seem to be able to be changed in author view. That was great when all I was displaying was IDs, but now that I need to be able to change the languages it is not so great.

Re: Author mode, change attributes

Posted: Fri Jul 10, 2015 8:39 am
by alex_jitianu
Hello,

You can use form controls instead of just static content, like this:

Code: Select all

content:oxy_textfield(edit, '@lang', columns, 40);
There is also the Attributes View which can be used to the same extent.

Best regards,
Alex

Re: Author mode, change attributes

Posted: Fri Jul 10, 2015 5:20 pm
by luxlunae
using attributes view alongside my author window solves the problem nicely, thank you.