XT-CMS Forum

Themes & Page Design => XT-CMS + Xara => Topic started by: Egg Bramhill on January 11, 2022, 08:32:00 PM

Title: Senior moments here. Long time since I worked with a cms program.
Post by: Egg Bramhill on January 11, 2022, 08:32:00 PM
I've uploaded my Xara Pro+ files to the root/cms/themes/my-site folder
Mainly works as expected.
However I have some questions:
Without loading these Xara template pages to the sys folder they appear there, is this correct?
Some assets on a layer below the MouseOff do not appear. i.e. the header sticky linear rectangle below the white header text. Even if I bring this to the mouseoff layer they don't show.

Probably best if I show the difference.
Here's the https://htrsm.co.uk/ to a non cms page.
Here's the https://htrsm.co.uk/cms/?cat=0 (https://htrsm.co.uk/cms/?cat=0) to a cms page.
Scroll & see the difference.
Title: Senior moments here. Long time since I worked with a cms program.
Post by: xtom on January 11, 2022, 09:09:51 PM
Without loading these Xara template pages to the sys folder they appear there, is this correct?

Yes, this is correct. The CMS converts any special tags etc. found in page templates to php code and stores the new template file in the sys folder. These end up being the actual files used to display the pages.

I will have spend some time troubleshooting the other issue. If you can provide me with a xar file with the page template that has the issue I'll have a look at it and see if I can figure out what is happening.
Title: Senior moments here. Long time since I worked with a cms program.
Post by: Egg Bramhill on January 12, 2022, 11:56:33 AM
Thanks for the clarification Tom.
I've emailed you a single page .xar file as it's to big as an attachment.
Egg
Title: Senior moments here. Long time since I worked with a cms program.
Post by: xtom on January 12, 2022, 04:40:25 PM
Thanks Egg. I emailed you an updated template import file which should sort the problem.

scripts/process_update_templates.php

The CMS download packages have been updated with this new file also.

Title: Senior moments here. Long time since I worked with a cms program.
Post by: Egg Bramhill on January 17, 2022, 01:02:03 PM
That did the job nicely Tom.  :)