Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 07:33:56 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155439 Posts in 21702 Topics by 7732 Members
Latest Member: Smacki
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: ToggleMe V1.0  (Read 1502 times)
bgg

Offline Offline

Posts: 101



« on: August 26, 2008, 05:32:38 AM »

This looks very good !

http://www.websitebaker2.org/forum/index.php/topic,9289.msg57396.html#msg57396

Can someone please post a English definition?
Logged
Luckyluke

Offline Offline

Posts: 555



« Reply #1 on: August 26, 2008, 09:08:58 AM »

Yeah, this is good. But I think it fails in some templates.
I try this in the Argos1 template but it didn't work.
But in the Round template was everything OK.

Grtz,
Luc
Logged
bgg

Offline Offline

Posts: 101



« Reply #2 on: August 26, 2008, 09:42:53 AM »

I have n't played with this yet, but the error must of at css level..

Logged
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #3 on: August 26, 2008, 12:50:58 PM »

I think the reason it won't work in my (Argos) template is a conflict in DIV ID's. These kind of slide out functions mostly work with ID's for each DIV. I guess there is a conflict with one or more ID's in the template? Try to find and rename the conflicting ID's in either template, CSS or module.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
BerndJM

Offline Offline

Posts: 1764



« Reply #4 on: August 26, 2008, 01:06:35 PM »

Hi,

in the Argos template is the code missing to include the frontend.js / frontend.css files:
Code:
<?php

// this allows to include the optional module files (frontend.css, frontend.js) into the head section

if(function_exists('register_frontend_modfiles')) {

  
register_frontend_modfiles('css');

  
register_frontend_modfiles('js');

?>

Just put this part in the head section of the templates index.php

Regards Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
Argos
Moderator
**
Offline Offline

Posts: 2156


WWW
« Reply #5 on: August 26, 2008, 01:10:19 PM »

Thanks Bernd. Can this be changed in the download section by an admin?
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
BerndJM

Offline Offline

Posts: 1764



« Reply #6 on: August 26, 2008, 01:24:22 PM »

ToggleMe V1.0
Is a lightly modified FAQ-Baker Modul.
Mainly made do provide a "slim" FAQ - show/hide longer descriptions to a short text.
But you can use it also for much more tricky things. A nice example made by Stefek you can see here.

Both parts "question" and "answer" are WYSIWYG. The layout can easily modified via the frontend.css file.

Attention! it needs the snippet to include fontend.js / frontend.css as mentioned in the Module Guide.

You must define at least one category but, if you don't need categorys it's easy to hide the category, simply by deleting the {CATEGORY} in the modules options.

Known "issue":
Some editors put <p></p> around the text. This will be filtered out in the "question" part, to get a valid html output. So if you need paragraphs in this part you have to use <br />'s insteed.

Hope you can understand my englisch undecided
Regards
Bernd
« Last Edit: August 26, 2008, 01:48:21 PM by BerndJM » Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
Luckyluke

Offline Offline

Posts: 555



« Reply #7 on: August 26, 2008, 01:46:30 PM »

Hi,

in the Argos template is the code missing to include the frontend.js / frontend.css files:

Just put this part in the head section of the templates index.php

Regards Bernd

Hi,

indeed, you're right. I tested now with the Argos1 Template and it works!!

Thxalot,
Luc
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!