![]() ![]() ![]() | Register To Post |
Threaded | Newest First | Previous Topic | Next Topic | Bottom |
Poster | Thread |
---|---|
plusangel | Posted on: 2007/3/21 18:34 |
Home away from home ![]() ![]() Joined: 2006/3/8 From: Athens, Greece Posts: 237 |
bulletin + ajaxblock Dear friends,
The last days we had a talk with Nuno about a bunch of interesting xoopsCube matters. One of them was the usage of ajaxblock. I proposed to try make ajaxblock work with bulletin module instead news, as an alternative case. I followed the above procedure. At the end you will find a link to download a zipped packet containing all the required files, Get it, use it and come back to improve it. Please try it at home first ;) (i mean locally) The procedure: - Install ajaxblock module (classic steps) - Copy to your theme's folder the following files: XOOPS_URL/themes/your_theme/ajaxtabs.css XOOPS_URL/themes/your_theme/ajaxtabs.js and XOOPS_URL/themes/your_theme/images/shade.gif XOOPS_URL/themes/your_theme/images/shadeactive.gif - Edit your theme.html by adding the following lines
- Now, we have to change all the relative paths from news module to bulletin module (inside the XOOPS_ROOT_PATH/modules/ajaxblock/block_ajax.php file). Inside the modified bulletin-ajaxblock packet you will find the working version. - Edit XOOPS_TRUST_PATH/modules/bulletin/class/bulletin.php
to:
- Edit XOOPS_ROOT_PATH/modules/ajaxblock/block/block_ajax.php comment-out the align part sicne I couldn't find the corresponding variable in bulletin's sql code.
- And set $image to 1 in
so that you can show images inside the articles. In addition, inside the zipped ajax-block packet you will find the correct English translation thanks to Gigamaster and xoopserver!
|
gigamaster | Posted on: 2007/3/22 2:10 |
Home away from home ![]() ![]() Joined: 2005/12/30 From: Switzerland Posts: 1227 |
Re: bulletin + ajaxblock Hi Angelos,
Thanks. I get it and i'm going to test with bulletin. Best Regards, ![]()
|
gigamaster | Posted on: 2007/4/21 16:23 |
Home away from home ![]() ![]() Joined: 2005/12/30 From: Switzerland Posts: 1227 |
Re: bulletin + ajaxblock : Block Template Review template and CSS
.../modules/ajaxblock/templates/block/block_ajax.html
|
gigamaster | Posted on: 2007/4/21 16:29 |
Home away from home ![]() ![]() Joined: 2005/12/30 From: Switzerland Posts: 1227 |
Re: bulletin + ajaxblock : Ajaxtabs CSS Place ajaxtabs.css on your theme folder:
.../themename/ajaxtabs.css And add ajaxtabs.css to your theme.htm header
Critics and suggestions are welcome! ![]()
|
gigamaster | Posted on: 2007/5/4 2:18 |
Home away from home ![]() ![]() Joined: 2005/12/30 From: Switzerland Posts: 1227 |
Re: bulletin + ajaxblock : Ajaxtabs CSS Bug on news title link.
Modify template above !
|
plusangel | Posted on: 2007/5/4 17:49 |
Home away from home ![]() ![]() Joined: 2006/3/8 From: Athens, Greece Posts: 237 |
Re: bulletin + ajaxblock : Ajaxtabs CSS Nice job, Nuno!
...always active!
|
OneOfTen | Posted on: 2007/8/19 22:05 |
Just can't stay away ![]() ![]() Joined: 2005/12/31 From: Germany Posts: 118 |
Re: bulletin + ajaxblock : Ajaxtabs CSS I got the tiny problem that the pic 'loading.gif' while loading the content of a new tab is not displayed. Problem is in Firefox and IE 6/7, so must be a problem with my installation. Any idea?
|
gigamaster | Posted on: 2007/8/20 2:50 |
Home away from home ![]() ![]() Joined: 2005/12/30 From: Switzerland Posts: 1227 |
Re: bulletin + ajaxblock : Ajaxtabs CSS Hi,
If it's only the loading animation that is missing, check the image url on the file "ajaxtabs.js":
Have Fun! ![]()
|
OneOfTen | Posted on: 2007/8/20 20:37 |
Just can't stay away ![]() ![]() Joined: 2005/12/31 From: Germany Posts: 118 |
Re: bulletin + ajaxblock : Ajaxtabs CSS Hi,
I already did that and everything seemde ok. Now I tried some other paths and different pics but nothing worked.
|
gigamaster | Posted on: 2007/8/20 21:44 |
Home away from home ![]() ![]() Joined: 2005/12/30 From: Switzerland Posts: 1227 |
Re: bulletin + ajaxblock : Ajaxtabs CSS Hi,
That means the problem happen a step before... Maybe your theme is missing the link to ajaxtabs.js Check the code source of your rendered page. ![]()
|
(1) 2 » |
Threaded | Newest First | Previous Topic | Next Topic | Top |
Register To Post | |