Skip to main content

Recent Posts

1
XT-CMS + Xara / Senior moments here. Long time since I worked with a cms program.
« Latest 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.

2
Thanks for the clarification Tom.
I've emailed you a single page .xar file as it's to big as an attachment.
Egg
3
XT-CMS + Xara / Senior moments here. Long time since I worked with a cms program.
« Latest 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.
4
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 to a cms page.
Scroll & see the difference.
5
Support / Correct PHP and Ioncube versions for XT-CMS v. 2.1.5?
« Latest by xtom on November 10, 2021, 10:39:07 PM »
Hi Karen,

Yes the latest release version 2.15 should run on that version of PHP - I have a test version running here on PHP 7.4.25 and ioncube 10.4.5 but it should work with newer ioncube loader version too as they tend to be backwards compatible.

You can check by installing a fresh install of the CMS to a new folder so it doesn't disrupt any live site and see if you can login to the admin area.

6
Support / Correct PHP and Ioncube versions for XT-CMS v. 2.1.5?
« Latest by karenc on November 03, 2021, 01:37:34 PM »
Hello we are looking to upgrade and want to make sure everything goes well with all the new versions. We are running everything on Windows IIS.
Current configuration:
PHP (Windows) : 7.3.11
XT-CMS : 2.0.0
Xara Web Designer Premium: 10
Ioncube: 10.3.9

Can we upgrade to:
PHP (Windows): 7.4.25
XT-CMS: 2.15
Xara Web Designer Premium: 10 (no upgrade)
Ioncube: 11.0

Are these all compatible with XT-CMS with Xara? Any special things to integrate?

Thanks Tom...

Karen
7
XT-CMS + Xara / Dynamic Web Page Templates in Xara
« Latest by xtom on October 15, 2020, 12:18:12 AM »
Hi sera, basically you just assign that class name to an element and then when you click on that element it will extend the page. For example the checkout page in the CMS uses it, so when you click the radio box to specify a different delivery address it displays extra fields on the page for this and because the radio box has class="extend_page" it extends the page, of course the tweak must be present in the page template. You can check it over on the Xara+CMS demo at https://demo.xt-cms.com/xara/store/ - just add a product to cart and click through to the checkout page.

This is the HTML below for the radio box on the checkout page and you can see how it has class="extend_page"

Code: [Select]
<input type="radio" name="seperate_delivery_address" value="1" class="extend_page" onclick="javascript:show('delivery_details');">
So when this radio button is clicked it will show the extra fields for the delivery address and also extend the page. So using just this class name on an element with the tweak should extend the page with a click. Of course the javascript to show the extra/hidden content will vary depending on what you are using but the tweak and class name should work independently to that.

If you wanted to add this class name to something in Xara you can apply the name htmlclass=extend_page using the apply name toolbar button or add it to custom HTML in a placeholder.
8
XT-CMS + Xara / Dynamic Web Page Templates in Xara
« Latest by sera49 on October 12, 2020, 07:44:03 PM »
Hi Xtom,

will really appreciate your help -

"... The page will extend automatically when it loads but you can also make it extend after it loads by using class="extend_page" - when any element with this class is clicked on it will extend the page. This can be useful for forms that show hidden content on the page after load. You can change this class name and the trigger event itself in the javascript code by editing the head code in the Footer Start placeholder...."

Can you please specify how this should be done? Thank you very much!
9
XT-CMS + Xara / Dynamic Web Page Templates in Xara
« Latest by xtom on August 19, 2020, 04:29:17 PM »
OK I just found a small bug that will prevent the tweak from working if you publish it onto a https website.

In the HTML code (head) section for the Footer Start placeholder make sure the link to the jquery file starts with https:// and not http:// otherwise the browser will treat the file as insecure and if your website is https it will block the file from loading. It should be as below..

Code: [Select]
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
Although when using with the CMS you should replace this with the template tag {jquery} - this is how I normally use it and didn't notice the problem with the old link to the google hosted jquery file.

I've updated the tweak download file in the first post with this fix.



 
10
XT-CMS + Xara / Dynamic Web Page Templates in Xara
« Latest by xtom on August 19, 2020, 03:51:21 PM »
First thing to check is if the tweak works when previewing in your version of Xara.

So download and open the example tweak file afresh and in the content placeholder replace {page_content} with lots of paragraph tags like below code example.

Code: [Select]
<div class="my_d_content" style="width:100%; position:absolute;">
<p>test</p><p>test</p><p>test</p><p>test</p><p>test</p>
<p>test</p><p>test</p><p>test</p><p>test</p><p>test</p>
<p>test</p><p>test</p><p>test</p><p>test</p><p>test</p>
<p>test</p><p>test</p><p>test</p><p>test</p><p>test</p></div>

After you replace this code click the preview page button in Xara.

Does the page extend and footer move down to accommodate all the test paragraphs? Or is it not working even in the preview?

If it doesn't work when previewing in Xara you might need to change the number of divs in the Footer Start placeholder as described. But let me know what happens when you just preview in Xara and we can troubleshoot further.