Blankstrap - Bootstrap based theme v0.2 Blankstrap - Bootstrap based theme v0.2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Blankstrap - Bootstrap based theme v0.2

Started by kostekjo, June 04, 2013, 09:23:38 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kostekjo

I would like to share with You the first version of the theme. Please let me know about any problems considering this theme.

Demo: http://pawelkoston.pl/demos/coppermine/ (fixed)
Download: https://bitbucket.org/pawelkoston/blankstrap-coppermine-theme/get/master.zip

Description:
Simple Coppermine theme build based on Twitters Bootstrap. It can be easily themed using a custom bootstrap.css file. You can download ready bootstrap themes from http://bootswatch.com/ or create Your own here: http://twitter.github.io/bootstrap/customize.html

License:
WTFPL

Known Issues:
- The admin interface is still based on <table>'s and it needs some improvements
- You still get the old jQuery 1.3
- Some of the theme elements (mostly not used by default) are not included

phill104

#1
That looks absolutely brilliant. Using Twitter Bootstrap is something I would love to see as the base for the CPG theme engine as it allows the development of themes to be done so quickly and with ease. Love how you have also mad your theme responsive too, well done. I am really looking forward to seeing you share the completed version.
It is a mistake to think you can solve any major problems just with potatoes.

johnfelipe


ErikM

Hi,

I can hardly wait for it's release. It's looks like great. A function to swipe the photo's on mobile, instead of using the back en next buttun would be a much greater option.

Erik

dmcaloney

Fantastic theme and just the type I am after for my family photo site.

Would really appreciate a share of this.

kostekjo

#5
[Edit: moved everything to the first post]

phill104

Your link is still showing the curve theme. I assume you meant this - http://pawelkoston.pl/demos/coppermine/?theme=blankstrap

Fantastic work and many thanks for your contribution.
It is a mistake to think you can solve any major problems just with potatoes.

Niecher


dmcaloney

Fantastic theme, many many thanks for sharing.

phill104

It is a mistake to think you can solve any major problems just with potatoes.

kostekjo

Thanks Phill !

I've updated the theme:

Changes for v0.2
   - Little visual improvements
   - Included Icons by Glyphicons
   - Changed thumbanil view, so that whole thumbnails are visible
   - removed border, and title attributes from thumbnails

If anyone wants to take a part in the development, contact me or just send a pull request.

allvip


phill104

Quote from: allvip on July 16, 2013, 11:09:27 PM
I don't understand how to use this bootsrpa.Can you please give me details?

All the details are on the above site. It really is too complex to go into detail here especially when there are hundreds of sites dedicated to the bootstrap engine that will explain all.
It is a mistake to think you can solve any major problems just with potatoes.

thedastardly

This is fantastic. Thanks so much!

However, I'm getting this error on the homepage, and the categories don't load. Every other page works fine.

Fatal error: Call to a member function attributes() on a non-object in E:\wamp\www\gallery\themes\blankstrap\theme_listings.php on line 195

Any ideas?

kostekjo

Probably You don't have SimpleXML installed / enabled. The code that fails, is responsible for replacing the default title attribute of an image link. If you're happy with the default titles you can comment out the whole try/catch section:


/* try {
            $el = &simplexml_load_string($thumb['image']);
           
            $attribs = $el->attributes();
            unset($attribs->title);
           
            $thumb['image'] = $el->asXML();
} catch (Exception $e)  {

} */

thedastardly

Quote from: kostekjo on July 29, 2013, 10:35:22 AM
Probably You don't have SimpleXML installed / enabled. The code that fails, is responsible for replacing the default title attribute of an image link. If you're happy with the default titles you can comment out the whole try/catch section:

Thanks for the quick reply. I checked my PHPinfo and SimpleXML is enabled.

I did try commenting out that bit, and it worked, but since the cat thumbs were showing up I'm a bit confused as to what the code actually does?

Also when you said you left out some theme elements does this also include the "Edit/Delete/slideshow" options under each image?

kostekjo

Quote from: thedastardly on July 29, 2013, 11:49:45 AM
I did try commenting out that bit, and it worked, but since the cat thumbs were showing up I'm a bit confused as to what the code actually does?
The code unsets the title attribute on an <img> tags for thumbnails.

Quote from: thedastardly on July 29, 2013, 11:49:45 AM
Also when you said you left out some theme elements does this also include the "Edit/Delete/slideshow" options under each image?
Yes. I'm considering creating a configuration file for the theme, so such features could be enabled by users that need it. As for now, you would have to manually add those buttons in by placing
echo $nav_menu ; somewhere in theme_display_image() function in theme_image.php file.

nickelas

A bootstrap theme is fantastic news, thanks!

If I may suggest a setting for what info to show when hovering a thumbnail
Human

marcelm

Many thanks to Kostekjo for the this theme and finally my site is compatible with mobile devices.

marcelm

After much trying and searching I found that you need all the 12 javascript files + the jquery.js that comes with the development tool to have the menu button working.