- Messaggi: 11
- Ringraziamenti ricevuti 0
Can CP be used to automatically append code
- nameviolated
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
13 Anni 2 Settimane fa #187
da nameviolated
Can CP be used to automatically append code è stato creato da nameviolated
Can I use custom properties to automatically append code onto the bottom of content? Will need to display in both article and blog_item mode. Looking at putting code onto the bottom of each article with an image that the user can click which will lead to an external URL.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
13 Anni 2 Settimane fa #188
da andrea_4g
Risposta da andrea_4g al topic Re: Can CP be used to automatically append code
The only things Custom Properties appends at the end of the article are the tags that have been assigned to that article.
The requirements are too sketchy (which image, which url , what kind of code, is it stored somewhere or it is inferred from the article, etc, etc) to give you any suggestion.
That sure looks like a task for a plugin. Possibly an existing one among the +8500 extensions for Joomla currently available.Looking at putting code onto the bottom of each article with an image that the user can click which will lead to an external URL.
The requirements are too sketchy (which image, which url , what kind of code, is it stored somewhere or it is inferred from the article, etc, etc) to give you any suggestion.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- nameviolated
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
- Messaggi: 11
- Ringraziamenti ricevuti 0
13 Anni 2 Settimane fa #189
da nameviolated
Risposta da nameviolated al topic Re: Can CP be used to automatically append code
The image would just be one stored on the server ie. Click here button. The code would just be html which would be the same as href, image and image alt. the URL is also stored in the article params in SQL.
On a side note is it possible to display the tags in a table? So I could display say a 2x2 table with a different tag property in each box?
On a side note is it possible to display the tags in a table? So I could display say a 2x2 table with a different tag property in each box?
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
13 Anni 2 Settimane fa #191
da andrea_4g
Cptags as a table:
No tables. But you can have your table-like layout with a modifications to the CSS stylesheet.
Risposta da andrea_4g al topic Re: Can CP be used to automatically append code
I'm second guessing myself about the need for a plugin. Why don't you just write that html code at the end of the article?...code would just be html...
Cptags as a table:
No tables. But you can have your table-like layout with a modifications to the CSS stylesheet.
Si prega Accesso o Crea un account a partecipare alla conversazione.
- nameviolated
- Autore della discussione
- Offline
- Nuovo Utente
Less
Di più
- Messaggi: 11
- Ringraziamenti ricevuti 0
13 Anni 2 Settimane fa #197
da nameviolated
Risposta da nameviolated al topic Re: Can CP be used to automatically append code
The html code would be at the end of every srticle and I add around 20 per day so trying to avoid copying and pasting each time.
Any links for the css code in tables off the top of your head?
Any links for the css code in tables off the top of your head?
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
13 Anni 2 Settimane fa #205
da andrea_4g
Risposta da andrea_4g al topic Re: Can CP be used to automatically append code
You should look here:
extensions.joomla.org/extensions/edition/custom-code-in-content
extensions.joomla.org/extensions/edition/custom-code-in-content
There's no standard CSS code for that. It strictly depends on the graphic layout you have to implement (colors, spacing, fonts, elements placement, etc).Any links for the css code in tables off the top of your head?
Si prega Accesso o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.140 secondi