Die Suche ergab 44 Treffer

von ounos
Mi 15. Apr 2015, 10:14
Forum: webEdition Basic Version
Thema: Compare dates
Antworten: 7
Zugriffe: 5308

Re: Compare dates

Currently dates are represented as UNIX-Timestamps, so they're not very likely equal. If you want equality, you have to use type="date" and compare this to a formated date, as it is returned by we:field type="date" Maybe we should make this here more userfriendly. <we:field type...
von ounos
Di 14. Apr 2015, 14:55
Forum: webEdition Basic Version
Thema: Compare dates
Antworten: 7
Zugriffe: 5308

Re: Compare dates

e_herrmann hat geschrieben:hi,
did you try with type=date?
Yeap, ofc. That was my first attempt.
When I use that, it doesn't return any result.
von ounos
Di 14. Apr 2015, 12:18
Forum: webEdition Basic Version
Thema: Compare dates
Antworten: 7
Zugriffe: 5308

Re: Compare dates

Hm, it seems that attribute "operator" does not work for "equal", only for "greater" or "less".

Is this a known bug ? Any workaround ?
von ounos
Mi 8. Apr 2015, 16:56
Forum: webEdition Basic Version
Thema: Compare dates
Antworten: 7
Zugriffe: 5308

Re: Compare dates

try <?php $today=time();?> <we:ifField name="Enddatum" match="$today" operator="less"> Thank you, it worked! I had tried time() too using type="date" though. Maybe, a clarification is needed in the documentation: http://webedition.org/de/webedition-cms/dokume...
von ounos
Mi 8. Apr 2015, 10:02
Forum: webEdition Basic Version
Thema: Compare dates
Antworten: 7
Zugriffe: 5308

Compare dates

Hey, I use some code like the following: <we:ifField type="date" name="Enddatum" match="$today" operator="less"> where $today = date("Y-m-d") or even date("Y-m-d - H:m) like the date field "Enddatum" I use. But, it doesn't seem to work...
von ounos
Di 31. Mär 2015, 10:01
Forum: webEdition Basic Version
Thema: Customer document
Antworten: 7
Zugriffe: 7551

Re: Customer document

JFTR: It worked using we:write attirbute protected=true.
von ounos
Mo 30. Mär 2015, 16:01
Forum: webEdition Basic Version
Thema: Delete document
Antworten: 2
Zugriffe: 2986

Delete document

Is there any way to delete attached binary files, when I delete a webEdition document ?
(For both frontend & backend)

Thank you in advance.
von ounos
Fr 20. Mär 2015, 17:10
Forum: webEdition Basic Version
Thema: Customer document
Antworten: 7
Zugriffe: 7551

Customer document

Hey, my customers have the ability to create wE documents, using some php code and we:write. Is there any way to store also customer owner in the document ? What I would manually do if I open a we document and under Tab: Customer > 'Connect with Customer' assing a customer. Can I do that using php ?...
von ounos
Di 3. Feb 2015, 10:35
Forum: webEdition Basic Version
Thema: Document rename
Antworten: 7
Zugriffe: 5023

Re: Document rename

So, for now the only way to rename a document is using the php code from your first post ?
Anyway, thank you so much for your time and I hope the same functionality will be possible for documents also in the future.
von ounos
Mo 2. Feb 2015, 16:12
Forum: webEdition Basic Version
Thema: Document rename
Antworten: 7
Zugriffe: 5023

Re: Document rename

mokraemer hat geschrieben:jepp, this should be the name Attribute, which I can see is undocumented
Hm, it seems that 'name' attribute doesn't do anything.
von ounos
Mo 26. Jan 2015, 13:42
Forum: webEdition Basic Version
Thema: Document rename
Antworten: 7
Zugriffe: 5023

Re: Document rename

Maybe I should be more specific: I need a custom document name when I use <we:write type="document"> tag instead of the default id number. Is there a better solution than the one you provide ?

Thank you very much for the fast response.
von ounos
Mo 26. Jan 2015, 11:34
Forum: webEdition Basic Version
Thema: Document rename
Antworten: 7
Zugriffe: 5023

Document rename

Hello,

is there any way to rename a wE document using we tags or php code ?

Thank you in advance
von ounos
Di 23. Dez 2014, 11:40
Forum: webEdition Basic Version
Thema: <we:form> & <we:write>
Antworten: 1
Zugriffe: 3030

<we:form> & <we:write>

Is there any good example or any mini-tutorial how do these 2 tags work ?
Tag reference is not really helpful.
Thank you in advance.
von ounos
Mi 6. Aug 2014, 11:14
Forum: webEdition Basic Version
Thema: Cockpit & Last Modified widget
Antworten: 1
Zugriffe: 3273

Cockpit & Last Modified widget

I have upgaded to the latest version of wE (6.3.8-s2). If I enable Last Modified widget, the same MySQL-error is generated multiple times. MYSQL-ERROR Fehler: 1054 Detail: Unknown column 'a' in 'where clause' Info: Query: SELECT 1 AS a FROM tblLock WHERE ID=19 AND tbl="tblTemplates" AND Us...

Zur erweiterten Suche