Customizable FRONTEND Account Templates (Patch)

Stefek

Hello,

the Language shouldn't be a issue. I used the WB Language Strings so ist should translate.

However, this snippet was done years ago and I never tried to use it with a current version (i.e. 2.8.3.).
It shoul work though, with some minor changes.

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

bsdzilla

Has anyone tried it on a multilanguage site? Does it support this?


PurpleEdge

Thank you for the work you have done on this.

One question for the developers of WB - why aren't the paths to the "Account" folder saved in a variable, rather than hard coded into the framework, then there would be no need to rename the "account" folder?

Similarly - why not use variables for the names of all the front-end account pages, rather than hard coding them?


Stefek

Hello,

so it's not a bug in the patch then.

How do you include those parts into the website?
Via template or Layout Blocks?

Regards,
Stefek



[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

gila

Quote from: Stefek on June 25, 2010, 12:08:26 PM
Hello,

I don't know.
What happens, if you do not use my Patch but the original 'account/' Files in there?

Regards,
Stefek

it's the same  :|

Stefek

Hello,

I don't know.
What happens, if you do not use my Patch but the original 'account/' Files in there?

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

gila

hi, i'm tryng you patch without find a solution, please look ate may login page:

http://test.primastudio.it/doimo-decor/account/login.php?redirect=http://test.primastudio.it/doimo-decor/pages/ita/download.php

this is a normal page:
http://test.primastudio.it/doimo-decor/pages/ita/home.php


why in the login page i do not see the menu and the other content generate by a droplet?

thank you

Stefek

Hello Flip.

Please try a Droplet based solution first, bacause I won't have time to have a deeper look into this (loads of work at my desk)...

I will definiteley have a look into this.
But it can take some time.

Kind Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

flip

Hello Stefek,

Maybe you can also help me with another issue which I posted here:
https://forum.websitebaker.org/index.php/topic,17976.0.html

I added to the file login_form.htt the redirect parameter to the form submission link but it doesn't work. I'm not redirected to the specified page but I land on the start page when I login. I added the parameter in the LoginBox droplet where it works fine. Do you know why the redirect doesn't work in login_form.htt?

Do you also how I can make the redirect working when you logout? I tried it, added the parameter but I'm always redirected to the start page.



Philip


flip


Stefek

OK,
thanks for "bugreport".

I will handle it soon.

All best,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

flip

Hello Stefek,

Now it's working fine. I think that the wrong placeholder was in your original files which I downloaded. {MASSAGE_COLOR} is working though.

Philip

Stefek

Hello Flip.

Strange.. does there really write MASSAGE?
This must be a typo of mine.
Should be MESSAGE.


Please let me know if this handles the problem.

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

flip

Hello Stefek,

Very good that this patch exists and actually it should be part of the standard WebsiteBaker script to allow 100% customization of the frontend. I installed the script. When I use Forgot Password and request a new one, then I don't get any message. In the template forgot_form.htt is used:
<span class="massage_{MASSAGE_COLOR}">{MASSAGE}</span>

When I request a password, this results in <span class="massage_red"></span>. Why is no string shown for the {MASSAGE} placeholder?

Philip

mr-fan

for your bigger needs - you can maybe contact "ralf(Berlin)" i think i've read that he code a "contact -modul" but with features to manage userdata in back and frontend i think...you should ask him in this questions he's your man!

or there is some ideas growing up by another coder, too
https://forum.WebsiteBaker.org/index.php/topic,13928.msg102258.html#msg102258

:wink:

regards martin

Argos

#28
Quote from: mr-fan on October 30, 2009, 06:34:21 PM
@jürgen:
maybe you can combiene this mod for your needs
https://forum.WebsiteBaker.org/index.php/topic,15162.0.html
i think it's what you mean?

I guess so. But I need to show the extended profile information on the frontend in public view as well. As a minimum. But to be able to use it as a simple public personal profiles system, you need to have frontend filter and search options as well. Such a system would make WB much more interesting for social media applications, a functionality where WB really has shortcomings now.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Stefek

Quote from: Stefek on October 30, 2009, 04:48:05 PM
It's time to write a ticket.
Any body's gonna help me? (Never did it before.)

Is there someone who wants to help me to write the ticket?

It's all ready now.

Regards,
Stefek

EDIT//
:mrgreen:
Waldschwein already submitted a ticket some days ago...  :roll:
http://project.websitebaker2.org/ticket/830

Thank you very much, Michael.

QuoteHello! The introduced Backend template engine to 2.8.0 has one bug: - signup_form.php - login_form.php - forgot_form.php - preferences_form.php are only skinable inside the .phps, not with the .htts.

But please consider, that the ticket description is not correct.
The bugfix hadles NOT the BACKEND THEMES.
It adresses the account folder, not the admin folder  :wink:

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Stefek

Hello Martin,
thanks for the above Link.
I am sure something of this kind can be implemented very well into the HTT Files if someone wants to run this extension.
Unfortunately the link to the droplet is dead....

Regards,
Stefek
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

mr-fan

#25
hi guys,

nice mod for real control of the complete design! very good for professional websites!!

@jürgen:

maybe you can combiene this mod for your needs

https://forum.WebsiteBaker.org/index.php/topic,15162.0.html

i think it's what you mean?

//Edit:  there is also a droplet for frontendusage - i think this can be easy used with the htt files now!!  8-)

regards martin

Stefek

Quote from: Argos on October 30, 2009, 06:20:21 PM
I don't know if it's related, but is it more easy now to have a signup form with more info fields?
Hello Jurgen.

As I am new to php, I just can give a semiprofessional answer and maybe another one can give more info on this.
But yes, it should be easier to implement such functionalities by using php in combination with the htt files and inserting droplets to them.

A good coder will be able to do that.

And the advantage is, that such solutions wouldn't need any further core replacement (only template adjustements) in order to implement such solutions.

Thanks for your comment.
I hope some coders will say more on this topic.

Regards,
Stefek

[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Argos

#23
Great work, and another step towards an even more powerful WB!

I don't know if it's related, but is it more easy now to have a signup form with more info fields? I'd love to have WB to be able to function as a simple profile manager where visitors can sign up fill in a form (with custom fields beside the current default ones), and can manage and show their profile on the frond end.
Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
----------------------------------------------------------------
Please don't request personal support, use the forums!

Stefek

Hello Chio,

thanks for your comment.

Quote from: chio on October 30, 2009, 04:40:13 PM
Where I had the troubles was to realize: Its the TEMPLATE_DIR where to put the second folder.

Well I thought that it should be clear (because of the title of the thread "Skinable FRONTEND Account...").

Quote from: chio on October 30, 2009, 04:40:13 PM
2) Move the entire folder "account-htt" into your templates folder

Anyway, I think now with the new illustrations everything is fine and understandable.

It's time to write a ticket.
Any body's gonna help me? (Never did it before.)

Regards,
Stefek


[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

chio

How to replace the account-Folder - this wasn't the problem.
Where I had the troubles was to realize: Its the TEMPLATE_DIR where to put the second folder.

Anyway, it works fine now and the first thing I'll do with it: Get rid of the Form-Reset button. I wonder how many people klick the reset instead of the submit button...

Stefek

#20
Hello.
Some people also had problems to integrate the account-htt files.

This is also very easy.
But Remember: this is optional.
(No one really needs to use this "extra-feature". The Patch addresses also the validation bugs and handles them.)

The whole patch was originally written to reduce validation errors and to give you the ability to redesign all those areas without any need to change the core files. And it does exactly that while applying this steps.

First: Downlaod the 'account-htt.zip' file from the second post of this thread (Answer#1)

STEP 3)
Using your FTP Client (or by downloading your template with the AddonsFileEditor) go to your Template and move the account-htt directory in there.


STEP 4)
Go to this directory and style this files to your design needs




Important Note:
The files attached in the second post is just a demo.
I wanted to give you a example about how this could be used in a real situation.

If you want to start from zero, you can also open the zip file "account-patch.zip" and pick up the 'htt' directory, rename it to 'account-htt'  and there you go - a fresh and clean set of account-htt files (without images, css etc.).



Regards,
Stefek



[gelöscht durch Administrator]
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden

Stefek

#19
Some people has had problems to understand to how apply the patch they told me via PM.

I decided to illustrate that.
So, here we go.

STEP 0)
Download the patch from the first Post (account_patch.zip)



STEP 1)
A) Using a FTP Client, go to your WebsiteBaker Installation and look for the 'account' directory
B) Reneme it to 'account_backup' in order to backup this directory

STEP 2)
A) Rezip the zip file 'account_patch.zip' and rename the 'account_patch' directory into 'account'
B) Using FTP upload this directory to the root of your installation

You're done.
No validation errors anymore.

Furthermore, you can now use the optional design-kit as described in the next post.

Enjoy it!
Regards,
Stefek

[gelöscht durch Administrator]
[i]"Gemeinsam schafft man mehr."[/i]

[b][url=http://duden.de/rechtschreibung/gemeinsam#Bedeutung1]gemeinsam[/url][/b]
1. mehreren Personen oder Dingen in gleicher Weise gehörend, eigen
2. in Gemeinschaft [unternommen, zu bewältigen]; zusammen, miteinander
#Duden