Advanced search  

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

Pages: [1] 2 3   Go Down

Author Topic: Blankstrap - Bootstrap based theme v0.2  (Read 44243 times)

0 Members and 1 Guest are viewing this topic.

kostekjo

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 5
Blankstrap - Bootstrap based theme v0.2
« on: June 04, 2013, 09:23:38 am »

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
« Last Edit: August 27, 2013, 02:02:28 pm by Phill Luckhurst »
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bootstrap based theme
« Reply #1 on: June 04, 2013, 10:39:03 am »

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.
« Last Edit: July 08, 2013, 10:23:29 pm by Phill Luckhurst »
Logged
It is a mistake to think you can solve any major problems just with potatoes.

johnfelipe

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 83
Re: Bootstrap based theme
« Reply #2 on: June 13, 2013, 08:23:49 pm »

Please share it
Logged

ErikM

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Bootstrap based theme
« Reply #3 on: June 13, 2013, 09:31:23 pm »

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
Logged

dmcaloney

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Bootstrap based theme
« Reply #4 on: June 19, 2013, 02:11:08 pm »

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

Would really appreciate a share of this.
Logged

kostekjo

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 5
Re: Bootstrap based theme
« Reply #5 on: June 20, 2013, 11:31:05 am »

[Edit: moved everything to the first post]
« Last Edit: June 21, 2013, 08:46:36 am by kostekjo »
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Bootstrap based theme
« Reply #6 on: June 20, 2013, 12:07:06 pm »

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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: Bootstrap based theme
« Reply #7 on: June 20, 2013, 12:37:04 pm »

Awesome !
Logged

dmcaloney

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Bootstrap based theme
« Reply #8 on: June 20, 2013, 01:44:25 pm »

Fantastic theme, many many thanks for sharing.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
« Last Edit: August 28, 2013, 03:18:23 pm by Αndré »
Logged
It is a mistake to think you can solve any major problems just with potatoes.

kostekjo

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 5
Re: Blankstrap - Bootstrap based theme
« Reply #10 on: July 10, 2013, 12:48:57 pm »

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.
Logged

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #11 on: July 16, 2013, 11:09:27 pm »


create Your own here: http://twitter.github.io/bootstrap/customize.html


I don't understand how to use this bootsrpa.Can you please give me details?
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #12 on: July 16, 2013, 11:36:20 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.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

thedastardly

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #13 on: July 28, 2013, 05:55:29 pm »

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.

Code: [Select]
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?
Logged

kostekjo

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 5
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #14 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:

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

 } */
Logged

thedastardly

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #15 on: July 29, 2013, 11:49:45 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?
Logged

kostekjo

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 5
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #16 on: July 30, 2013, 12:43:33 pm »

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.

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
Code: [Select]
echo $nav_menu ; somewhere in theme_display_image() function in theme_image.php file.
Logged

nickelas

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 114
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #17 on: August 30, 2013, 10:29:47 am »

A bootstrap theme is fantastic news, thanks!

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

marcelm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #18 on: October 21, 2013, 07:20:44 pm »

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

marcelm

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 60
Re: Blankstrap - Bootstrap based theme v0.2
« Reply #19 on: October 24, 2013, 11:57:53 pm »

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.
Logged
Pages: [1] 2 3   Go Up
 

Page created in 0.032 seconds with 21 queries.