TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 10-11-2005, 04:02 AM   #1 (permalink)
The Contributor
 
Join Date: Jun 2005
Posts: 40
Thanks: 0
clenard is on a distinguished road
Default WYSIWYG Website Editor? (Web Version)

Hey everyone -- I'm back again and I have a question...

I'm creating a "user Site Builder" that basically uses PHP/MySQL & Smarty... the user enters info into the form, chooses a design (smarty hosts the template designs) and clicks Submit... once the Submit button is clicked -- the "Creator system" sends an email to the user with their username and password... right? so, here we go...

the user can login to the "system" with their username and password and I'd like for them to be able to edit their site via a WYSIWYG Web Editor... they should be able to change ANYTHING about the site, including design if needed -- but by using MYSQL & Smarty to grab their template choice and populate the template from the MySQL info -- is this possible? I haven't gotten that far yet and I'm not real sure about how Smarty works -- in details anyway...

Any info would be great! Thanks :)
clenard is offline  
Reply With Quote
Old 10-11-2005, 01:29 PM   #2 (permalink)
The Acquainted
 
Join Date: May 2005
Posts: 106
Thanks: 0
jaswinder_rana is on a distinguished road
Default

a great system would it be indeed, if it comes in reality. following ar esome suggestions, and i am writing them as a process
1) User logs in and edit a template.
2) Template has some special things, and they can enter their own, like {TITLE}, {BODY}, {LOGO}, and so on
3) then through 2 text boxes they enter key value pair, which is stored in database
4) key value pair in our example would be "{TITLE} (key)" and "Here is the title" (value)[/b]
5) User save the template.
6) for their site part, these key value pairs are retrived from database, and then anything matching key in the template is replaced by value, using Smarty.
7) If user is missing something, its their fault, as they are responsible for changing the template and entering all key value pairs.


So, that is what came in my mind right away. their can be more solutions, and if i could thin kof anything better, i'l post again.

hope this helps
__________________
---------------------------
Errors = Improved Programming.
Portfolio
Send a message via MSN to jaswinder_rana
jaswinder_rana is offline  
Reply With Quote
Old 10-11-2005, 07:32 PM   #3 (permalink)
The Contributor
 
Join Date: Jun 2005
Posts: 40
Thanks: 0
clenard is on a distinguished road
Default

Yeah that helps me Jas, thanks!

I was thinking of doing away with the WYSIWYG Editor and making my own "boxes" on a per-page , per-template , per-user option for editing their site - but I thought having something like the Editor from innovastudio.com would come in better, even the looks lol well, mostly the looks :D

So, yeah, I'm still taking notes of everything and will continue to jot down any other advice. Thanks! :)
clenard is offline  
Reply With Quote
Old 10-12-2005, 05:54 PM   #4 (permalink)
The Contributor
 
Join Date: Mar 2005
Posts: 81
Thanks: 0
AlEast is on a distinguished road
Default

Yest that editor is very nice and that is the one we decided to go with for our online manual development tool, publishexec.com

Clean and rather inexpensive to boot.
__________________
NEWEDGE Services, Inc. - Developers of ClientExec
AlEast is offline  
Reply With Quote
Old 10-12-2005, 09:20 PM   #5 (permalink)
The Contributor
 
Join Date: Jun 2005
Posts: 40
Thanks: 0
clenard is on a distinguished road
Default

That's a cool little tool you have there, Al. Was that just released? I actually just got the ClientExec thingy the other day lol I thought it was something to do with that -- but it's for developing HTML based Manuals, right?

Is it using PHP? Was it easy to implement?

Thanks for any info!
clenard is offline  
Reply With Quote
Old 10-14-2005, 08:06 PM   #6 (permalink)
The Contributor
 
Join Date: Mar 2005
Posts: 81
Thanks: 0
AlEast is on a distinguished road
Default

Sure was. We use it at clientexec and some other people are starting to use to create their online manuals as well. Just a MUCH cheaper way to develop manuals then using something like robohelp, albeit not as feature rich.
__________________
NEWEDGE Services, Inc. - Developers of ClientExec
AlEast is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 06:05 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design