This is Slick...

Stumbled upon a really cool FREE CMS solution that I can’t get to work in freeway? doh!

See the Demo here http://www.ltsun.com/demo/index.php

See the Review here http://cssdivine.com/?page_id=64"
This also reviews Webyeb but I really like how slick LTSun is…

See the mini documentation article here http://cssdivine.com/?page_id=111"

The tutorial looks really basic to set up in freeway but I’m getting errors before I can start.
I’m placing the HTML markups exactly as the mini documentation tutorial points out, I am using Source Code Snooper to insert code snippets in text & images.

I’m now waving the white flag. Problems start for me with the HTML markups and I get “require_once” function Errors. After removing this error I get
“Fatal error: Call to undefined function” in my Text & Images. So I’m still in the starting block, otherwise I would of sent a link.

Could someone advise what I’m doing wrong in Freeway? After they have got this working PLEASE!
Pete


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Pete. I’ve recently realized there’s a problem with the mini documentation- if you’re trying to cut and paste the code directly from the website for some reason that will generate errors. But if you downloaded ltsun you can open the example index.php file that comes with it, and copy and paste the code that looks exactly like my examples from it.

I’m going to go through that posting today and try to figure out why the code is giving errors, but using the code from the downloaded files should work just great for you!

If you need any further help feel free to email me at contact at cssdivine.com


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I posted a tutorial for CMS Made Simple found here:

http://freewaytalk.net/thread/view/10346

It’s a simple CMS to use and free as well.

CMS Made Simple History and FAQ:


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I took a look at the demo page and it appears to have a glitch in the styling with a stray horizontal bar on the right side, also the little text area edit bars seem oddly placed but minor issue. LTSun is intriguing CMS though. I’ll peruse the docs.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I’ll peruse the docs.

Hmm…silly me for thinking there were docs. I did see the mini docs at CSSDivne, but some unanswered questions remain.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Yeah it’s pretty new and fairly unknown as far as I can tell so there aren’t really any docs except for what I wrote up. I’ve spoken with the guy who made it (he’s really nice) and he’s working on an update version that takes care of the minor glitches and has even more capabilities but all in all it’s worked wonderfully for me.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Jess,
thanks for your reply.Yes I noticed before the problems with the characters “” fixed by over typing them, I also copied the code directly from the index.php
My problems start with the “require_once” I still get errors like:
Warning: require_once(ltsun-config.php) [function.require-once]: failed to open stream: No such file or directory in….? Files are in the directory.
Jess, any advise… did you set up your working page in Freeway? Chucka, did you get it working?
Many thanks,

Pete


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

My first attempt is a mixed success. I just opened the sample index.php page that comes with the cms without making a Freeway page. Although the engine appears to be running correctly as I can login. As soon as I successfully login I get directory errors as LTSun appears to not like the directory structure my host creates. Once that is cleared it should work fine.

I have to point out here I have a major reservation about the config file as it requires you to add in your ftp username and password. Because it is a php file it’s fairly secure, but it is a bit unconfortable knowing that is there.

Pete, it sounds like your problem might be related to where you have inserted the start code in your page. “<? php session_start(); ?>” has to be above all the html. Then the next bit of code (<link rel=) etc. has to be at the top of the head section of your page. Then the php require bit has to be at the top of body. You do all that in the Page menu under HTML Markup…

Double check where you put it all.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I just realized that the developer used Prototype/Scriptaculous for a lot of the engine. Make sure that you do not have more than one copy of these installed as they are also used by some Freeway actions.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you want to be sure that you won’t step on any of the Actions,
simply use Protaculous to add the libraries. If the CMS has a hard-
coded reference to Prototype, then remove it. The Protaculous Action
will add the library (or libraries, if you need script.aculo.us as
well) to the page, and register it with the document so it doesn’t
get added twice.

Walter

On Jun 13, 2008, at 12:12 AM, chuckamuck wrote:

I just realized that the developer used Prototype/Scriptaculous for
a lot of the engine. Make sure that you do not have more than one
copy of these installed as they are also used by some Freeway actions.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If the CMS has a hard-
coded reference to Prototype, then remove it. The Protaculous Action
will add the library (or libraries, if you need script.aculo.us as
well) to the page, and register it with the document so it doesn’t
get added twice.

I’m afraid it’s more of a problem than that. The javascript libraries are included in the engine directories so it goes there looking for the scripts. It’s possible to rewrite the php of course but not my cup tay.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Unless the CMS is dynamically rewriting your page head to include the
reference to these JavaScript libraries, then I believe you will have
control over this. I haven’t looked at this product in depth, but the
way these sorts of things usually work (and I’ve built a few of them
from scratch) is that the PHP handles form requests and generating
dynamic content from database queries, and the HTML handles all
requests for static content. JavaScript is part of the latter. If you
look at the example page, does it not require you to add the call to
the JavaScript libraries within the HEAD of your page?

Walter

On Jun 13, 2008, at 11:39 AM, chuckamuck wrote:

I’m afraid it’s more of a problem than that. The javascript
libraries are included in the engine directories so it goes there
looking for the scripts. It’s possible to rewrite the php of course
but not my cup tay.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you
look at the example page, does it not require you to add the call to
the JavaScript libraries within the HEAD of your page?

Actually the sample index page only calls javascript in the head section. The libraries are called from the body via a php script.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ok Pete, I did figure out why you may be getting the directory errors. The very first thing the engine does when you first browse to the CMS page template is create a directory of cache files (the Freeway page is technically a template using this CMS). If you previously opened the index.php page that the CMS comes with, then your Freeway page will be looking for the wrong cache files once you browse to it. The cache creation files have to match the page you are browsing.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Chucka,
Sorry for my delay in replying to you have been interstate on work for the last week.
Yes, got the CMS up and running. I think my problems before were more to do with me not understanding how this systems works, I understand the workings now.
I also contacted the developer and as Jess stated is a top guy who will bend backwards to help you.
I think Walter is correct on his conclusion above that the function cannot be added twice e.g… Prototype & script.aculo.us.
My test page to make sure everything works is here, http://www.tptc.com.au/petetest/test.php PASSWORD & USERNAME IS “admin”
I also added another page with the slide down action here http://www.tptc.com.au/petetest/test2.php
YES, this displayed a WARNING that the script was added twice, one in the head and one in the body. All functions on the page work correctly except you get an #error message
displayed.
I’m not really sure or have not looked into the fix that Walter was talking about when he said this problem could be fixed by the Protaculous Action.

Anyway in my head if all fails then the quick solution for me would be to create a normal Freeway HTML page with an Iframe thats looks at the CMS.
When google sees this CMS page and visitors click on it, redirection to my Freeway HTML page, any script.aculo.us problems for me now solved.

Also is there a way to have a sample/tutorial page that only caches in there browser so the next person will not see the changes that others had made in that CMS page.
The reason why I am asking this is I want a test page that my clients could manipulate before they work on there own. I have a timber business in Australia. In the next few weeks I will give my distributors a web page, only one.
This will be locally listed, like a giant yellow pages listing which they will be able to make changes too. Basically I want to support there business because they are supporting mine.

Thanks for any advise,

Kind regards,
Pete


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options