ContentPart "Register (Tabs)" -> Accordion (MooTools)

If you have created additional (non official) documentation or tutorials or something like that please post this here
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by pepe »

360fusion wrote:...
I expected it to work like this site: http://www.zugsailing.com/cms/index.php?de_personen created by mazze. http://forum.phpwcms.org/viewtopic.php?f=12&t=17008...
Does anyone have (or can make) a template to make the tabs CP work like Mazze's site? I'm not skilled enough in code to make one myself.
...
As i have seen, Mazzes site does the job by using ADOBE "SPRY"-Framework... a JS-class based set of scripts...
I have downloaded the Framework... and will try to get a solution.

Give me some days...
After a first look, i think: It must be possible (for me) :D
Will give you some information during my "juggeling" with the code.

The CP "Tabs" is my friend during my trial.... hope, i will find a solution :wink:
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by Jensensen »

[x]

obsolete.
today we know: "never mix inline php and JS"

[x]
Last edited by Jensensen on Sat 20. Sep 2008, 18:49, edited 1 time in total.
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
360fusion
Posts: 120
Joined: Wed 30. Aug 2006, 01:15
Location: Yarm, UK
Contact:

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by 360fusion »

As i have seen, Mazzes site does the job by using ADOBE "SPRY"-Framework... a JS-class based set of scripts...
I have downloaded the Framework... and will try to get a solution.
This is why i love this community. I look forward to seeing your solution Pepe.

The next step would be for Oliver to add the ability to edit and create new templates for templates/inc_cntpart/ just like you can add and edit layout templates or the frontend css file. Or now am i just being greedy? :wink:

One step at a time maybe....

Ben
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by flip-flop »

The next step would be for Oliver to add the ability to edit and create new templates for templates/inc_cntpart/ just like you can add and edit layout templates or the frontend css file ...
Hmm, we edit and create new templates since half a year ....... :shock: :shock:
ADOBE "SPRY"-Framework... a JS-class based set of scripts...
A second framework? Why you don´t use one of the enhancements of MooTools?

Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
pepe
Posts: 3954
Joined: Mon 19. Jan 2004, 13:46

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by pepe »

My newest experiments with CP "Register (Tabs)": http://forum.phpwcms.org/viewtopic.php? ... 49#p103349
User avatar
kukki
Posts: 1710
Joined: Mon 7. Feb 2005, 20:02
Location: Berlin Köpenick
Contact:

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by kukki »

Weil meine eShop-abeiten mich augenblicklich wegen der stupiden Arbeiten am Datenstamm anöden und ich nach einiger Enthaltung und nur Mitlesen wieder dem CMS widme, habe ich doch gleich noch einmal die aktuelleren Updates mir lokal aufgespielt und dabei bin ich auf eine Kleinigkeit gestoßen, die mir aufgefallen ist und mich wurmt. Ich habe einfach den Lapsus nicht gefunden.
Bei Öffnen des RigisterTabs rutscht das Register beim ersten Mal um eine Zeile weniger auf. Hat jemand eine gute Idee, was das sein könnte, vielleicht ein Zählerlapsus von wegen 1 anstatt 0 oder so :!: :idea:
Wiederholung mit F5 !
Wiederholung mit F5 !
Lieber arm dran als Arm ab!

meine historische Website: Jagdgeschwader 300 1.9.34-R554
kukki's SpIeLwIeSe V.1.9.33 R553 responsive
zuker
Posts: 80
Joined: Fri 18. May 2007, 17:13
Location: Lithuania

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by zuker »

With r259 this Tab Accordion doesn‘t work anymore.

I gues problem is mootools.js file(template/inc_js/mootools/mootools.js
). When I change this file with version r257 mootools.js file, then accordion plays again.
٩(͡๏̯͡๏)۶
User avatar
juergen
Moderator
Posts: 4556
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by juergen »

update -> 263, rollback to older Version included
hausmeister
Posts: 219
Joined: Thu 18. Dec 2008, 12:45

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by hausmeister »

is it possible to have the first entry opened on page load?
i havent found anything in the forum on this topic.

thanks
der hausmeister
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by update »

.......
opacity: 0.5, duration: 500, alwaysHide: true, show: 0,
.......

show: 0 --> first one
show: 1 --> second one
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
hausmeister
Posts: 219
Joined: Thu 18. Dec 2008, 12:45

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by hausmeister »

thanks. will try that later ;)

der hausmeister
hausmeister
Posts: 219
Joined: Thu 18. Dec 2008, 12:45

Re: ContentPart "Register (Tabs)" -> Accordion (MooTools)

Post by hausmeister »

claus wrote:.......
opacity: 0.5, duration: 500, alwaysHide: true, show: 0,
.......

show: 0 --> first one
show: 1 --> second one
that wasn´t the complete solution.
i have also had to change the following line

Code: Select all

accordion.showThisHideOpen(); //no open element on load
to

Code: Select all

//   accordion.showThisHideOpen(); //no open element on load
thats it. thanks for your answer.

der hausmeister
Post Reply