On Mon, May 10, 2004 at 06:05:05PM +0200, Manuel Kasper wrote:
> > on the portal page. Perhaps there could be a drop-down with a few
> > placement options for this, such as Left, Right, Center or
> > something like that? Or (going overboard) a marker could be used in
> > the body HTML window, indicating the placement of the button (ie.
> > the text [BUTTON] in the HTML window would be replaced by the
> > actual button on the page).
>
> What do you folks think about this suggestion? Require the user to
> supply the complete HTML, with a special tag where the button is to
> go? Then again, we could just leave out that special tag issue,
> because the HTML for the button is actually pretty simple, and just
> supply the button HTML code on the portal setup page for the user's
> convenience. Definitely a more flexible solution (think about people
> who want to CSS-style their buttons or use an image as a button...).
Rather than inventing a special syntax to replace a piece of an HTML file
with something else, could you use PHP? After all, isn't that what it's
made for?
--
Jim |