mpropst Posted March 5, 2004 Share Posted March 5, 2004 Hi all, I haven't found much discussion on this 'interesting' contribution. I searched for CMS in the contributions, and while it isn't exactly what I needed, I found something else that helped to work in conjunction. At any rate, the Site Text Manager contrib changes all the text keys that are defined in the flat files to database entries in a new table called web_site_content. I had no end of problems getting all the text in there; it appears to be a very incomplete collection of text keys, so I had to add quite a few. I am somewhat new to PHP, and one of my slow points is still concatenation and escaping characters. Of course, it seems to be a little better than ASP, whose comment character is an apostrophe. Who thought of that? This contribution lets you input any code you like into the text boxes that influence the text keys' content, unfortunately it escapes all quotes with a backslash automatically. This makes sense, yes, but it doesn't strip them and then put them back. So in the content output to the pages, I had to strip the slashes or the content itself had the slashes in it. I also had to strip them in the textareas on the editing page (otherwise there is a new set of slashes every time you edit the content). Only problem is, once I did that, the images don't appear in the previews. They do appear in the actual content, the code generated is perfectly fine, but the previews have broken images. I don't expect the previews to be perfect (they don't reference the site's CSS so they look wonky anyway), but it would be nice for my client to see the pictures so he knows whether or not he's got the link right. If anyone has used this and knows how to get those pics to show up in the preview without having a bazillion slashes, your words of help would be incredibly appreciated. Barring all that, if anyone can recommend a CMS that lets my client edit the non-store pages and add others, maybe I would be having less of a headache anyway. (And maybe I could find one with a basic WYSIWYG--something like this forum) Obviously this contrib involved a lot of modifications to a lot of pages and the DB, but I'm not attached! thanks a million Mike :huh: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.