Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 dynamic styles

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
2hats Posted - 14 Apr 2008 : 07:41:15
Hi,
I would like to be able to enter a style name (in Text1 properties)
such as <?=$cssClass['Text1']?>
However, when it gets exported, it becomes <?=$cssclass'text1'?>

(all lower case and [ stripped out). Is it possible to recognise
the php print <?= and not alter the class name?

A dynamic value such as <?=$value['Text1']?> is not changed during export.

Regards
13   L A T E S T    R E P L I E S    (Newest First)
2hats Posted - 29 Apr 2008 : 00:42:16
Davide
Can you please explain further.

I have tried various combinations of / and \ to no effect.
This is my understanding of escaping.

Also, the same problem occurs with the label object.

Is it possible to display <?=$productData[0]['pmProduct']?> in the label object, as I would
like to format the result. It could be done in html object, but not so visual.

Thanks
s.dav Posted - 18 Apr 2008 : 17:31:43
See 3 replies before this.
2hats Posted - 18 Apr 2008 : 09:54:23
Davide,
The table object looks quite good, but how do I get '<?' to show in cell, rather than '& lt;?'

To be useful, the cells need to be filled dynamically.

Regards
2hats Posted - 17 Apr 2008 : 10:18:32
sorry,
above post shows < and > as ampersand lt; ampersand gt; after table export
s.dav Posted - 17 Apr 2008 : 10:16:15
<? and <% in a label and table object are always escaped; I'll try to maintain them as they can be useful ;-)
2hats Posted - 17 Apr 2008 : 05:24:39
Davide,
In the table object, code such as <?=$customer['order']?> gets converted on export to <?=$customer['order']?>

Can this be fixed?
2hats Posted - 17 Apr 2008 : 05:04:37
Richard,

It's about having php (identified by <?= or <? print) not being modified by the export process. The web designer can
use any php they like, good or bad, or asp, their choice.
Also 'between tags' would allow any code (asp, php, or comments?) between <select> </select> tags.
s.dav Posted - 16 Apr 2008 : 10:08:17
I don't know, where can I find a good PHP guide? I'm able to create samples only in ASP language :-(
richinri Posted - 16 Apr 2008 : 09:13:15
Just a thought - I have been told more than once to NEVER use any PHP abbreviated syntax on the net. It won't validate and causes problems with various servers depending on their PHP setup.
2hats Posted - 16 Apr 2008 : 06:47:23
Hi Davide,

Also in the option custom code, maybe a tab 'between tags' to allow
dynamic <option>..</option> generation, such as
<option value = "">Select Quantity Required </option>

<?php
For ($i=0; $i < count($orderOption); $i++) {
$order=$orderOption[$i];
?>

<option value = "<?php print $order ?>"<?php print selectOption($customer["order"],$order)?>><?php print $order ?></option>

<?php
}
?>

It can be fudged by using 'into Tag' and adding a > at the start of the php code, and leaving the last > off the php code.

Regards
s.dav Posted - 15 Apr 2008 : 12:09:29
Obviously ;-)
2hats Posted - 15 Apr 2008 : 06:46:27
Thanks Davide.

Similarly for other form elements....option, radio, button etc
if possible.

Thanks again.
s.dav Posted - 14 Apr 2008 : 10:04:12
You are right, fixed in version 4.2 that will be released very soon.
Many thanks, if you have other tips like this let me know.

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000