How to insert a custom internal title to a row?
2 weeks 3 days ago #73953
by ebura
How to insert a custom internal title to a row? was created by ebura
I know we can define the ID and/or the Class of a row, but how about inserting a custom title to a row?
The reason for this is that I have a table of contents that reacts to certain rows, and a watcher that changes the items in the TOC depending on the ID of the row. The items must have a human-readable title for each row...
How to do this?
The reason for this is that I have a table of contents that reacts to certain rows, and a watcher that changes the items in the TOC depending on the ID of the row. The items must have a human-readable title for each row...
How to do this?
Please Log in or Create an account to join the conversation.
2 weeks 2 days ago #73956
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to insert a custom internal title to a row?
Hi
a row is a container, there is no "title" feature for it. The title attribute is available for images, videos, buttons, links ... items that generate some content. A row is only a container
CEd
a row is a container, there is no "title" feature for it. The title attribute is available for images, videos, buttons, links ... items that generate some content. A row is only a container
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
2 weeks 2 days ago #73957
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to insert a custom internal title to a row?
PS : I also don't understand the relation between the TOC and the need of a title
you can have a TOC that is created from your headings, but using a title is something that shall be used for accessibility for example, not for the structure of the TOC
you can have a TOC that is created from your headings, but using a title is something that shall be used for accessibility for example, not for the structure of the TOC
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
2 weeks 2 days ago #73959
by ebura
Replied by ebura on topic How to insert a custom internal title to a row?
The need for a title is as I said, to have a human-readable title at the TOC.
I understand your replies, my need is to have something like the custom ID or custom CSS, but in this case a custom internal title. The output could be "data-custom-title".
Can you point me into the direction to do this?
Or maybe the solution is for me to create my own addon for a virtual row with a custom title, and inside have a <div class="innercontent"></div> to hold the content...
I understand your replies, my need is to have something like the custom ID or custom CSS, but in this case a custom internal title. The output could be "data-custom-title".
Can you point me into the direction to do this?
Or maybe the solution is for me to create my own addon for a virtual row with a custom title, and inside have a <div class="innercontent"></div> to hold the content...
Please Log in or Create an account to join the conversation.
2 weeks 2 days ago #73960
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic How to insert a custom internal title to a row?
the row is not an addon (plugin) as for the others
it's a part of the internal mechanism. You can only create some addons for the content that you put in a column (orange controls)
why not simply use headings (h1, h2, h3 ...) to put in each row and use a TOC plugin like Table Of Contents CK which retrieves the text from the headings automatically ?
www.joomlack.fr/en/joomla-extensions/table-of-contents-ck
it's a part of the internal mechanism. You can only create some addons for the content that you put in a column (orange controls)
why not simply use headings (h1, h2, h3 ...) to put in each row and use a TOC plugin like Table Of Contents CK which retrieves the text from the headings automatically ?
www.joomlack.fr/en/joomla-extensions/table-of-contents-ck
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
2 weeks 2 days ago #73961
by ebura
Replied by ebura on topic How to insert a custom internal title to a row?
I thought of that, but the thing is this TOC is already made by a cliente and I need to implement it the way they have it.
Thanks for the clarifications and suggestions.
My solution will be to create an addon of a custom title (hidden in the front) that will be read by a javascript function to parse the TOC.
Thanks for the clarifications and suggestions.
My solution will be to create an addon of a custom title (hidden in the front) that will be read by a javascript function to parse the TOC.
Please Log in or Create an account to join the conversation.
Time to create page: 0.222 seconds