nwrightau VIP
Total posts: 99
22 Сен 2014 07:31

Hi,

Anyone know how to edit the compare record layout? I've tried editing the template that's set for compare in the section type but it doesn't do anything.

Am I missing something?

Thanks

Последние изменения: 26 Сен 2014


Sergey
Total posts: 13,748
22 Сен 2014 08:29

Please in the section parameters set vertical template for compare. This one sreated especialy for article comparisions.

It is simple article list template and you can edit it as any other template in cobalt.

http://docs.mintjoomla.com/en/cobalt/custom-templates-general


nwrightau VIP
Total posts: 99
22 Сен 2014 23:37

Hi,

Yes I've tried that, I set the compare template to vertical and try and edit the vertical template but nothing changes when I edit it.


pepperstreet VIP
Total posts: 3,837
23 Сен 2014 01:09

nwrightau nothing changes when I edit it

Some thoughts... :

  • you might edit the wrong file
  • your edits are not saved for any reason (remote file and permissions?)
  • did you create overrides in yourTemplate/HTML folder (accidentally)

nwrightau VIP
Total posts: 99
23 Сен 2014 07:36

pepperstreet

nwrightau nothing changes when I edit it

Some thoughts... :

  • you might edit the wrong file
  • your edits are not saved for any reason (remote file and permissions?)
  • did you create overrides in yourTemplate/HTML folder (accidentally)

Thanks, I double checked it's the file that template points to - when you goto Info in template details it shows you the file path. This is the one i'm editing, yet even if i make this file completely blank everything displays.

I must be missing something.


pepperstreet VIP
Total posts: 3,837
24 Сен 2014 00:02

nwrightau I double checked it's the file that template points to

If you really edit the original file... then you must have a copy (override) file in -> YourJoomlaTemplate -> HTML folder.


Sergey
Total posts: 13,748
24 Сен 2014 07:49

nwrightau if i make this file completely blank everything displays

What file in particualr you edit and what is your section setting for compare? Or you are talking about diff in audit log?


pepperstreet VIP
Total posts: 3,837
24 Сен 2014 11:32

Sergey Or you are talking about diff in audit log?

:) Was about to ask the same question.

Version Control ?

Since there is no template select in backend... you can make a usual J! template override for the default layout. Original files should be located here:

Versions manager

../components/com_cobalt/views/versions/tmpl/

Versions compare

/components/com_cobalt/views/diff/tmpl/


nwrightau VIP
Total posts: 99
25 Сен 2014 01:07

pepperstreet

Sergey Or you are talking about diff in audit log?

:) Was about to ask the same question.

Version Control ?

Since there is no template select in backend... you can make a usual J! template override for the default layout. Original files should be located here:

Versions manager

../components/com_cobalt/views/versions/tmpl/

Versions compare

/components/com_cobalt/views/diff/tmpl/

Ahhhh that would be it - it is versions compare. Will take a look there.


nwrightau VIP
Total posts: 99
25 Сен 2014 06:08

Works well, thanks.


pepperstreet VIP
Total posts: 3,837
26 Сен 2014 00:03

nwrightau Ahhhh that would be it - it is versions compare. Will take a look there.

That is not the section parameter -> templates -> Compare ;)

nwrightau Works well, thanks.

You're welcome!

Работает на Cobalt