Jump to content


Share your Themes

theme themes custom share

  • Please log in to reply
25 replies to this topic

#1 fdias

fdias

    grocery CRUD Addict

  • Members
  • PipPipPip
  • 93 posts

Posted 31 January 2012 - 04:40 PM

Hello all!

I've been using Grocery Crud for a little while now and been reading the foruns a lot.
I can say that I know the basics and would like to help.

I propose we post our custom themes here so we could share with all members. I'm developing a theme based on the flexigrid theme and will post it soon.

I hope this is OK with the admin, if not let us know how to proceed on sharing these themes.

PS. Thanks for all your hard work, It's indeed appreciated!

Cheers,

fdias

#2 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,150 posts
  • LocationLondon

Posted 31 January 2012 - 07:19 PM

Of course it's ok. It's my pleasure ;)
Posted Image

#3 fdias

fdias

    grocery CRUD Addict

  • Members
  • PipPipPip
  • 93 posts

Posted 02 February 2012 - 12:54 PM

Still working on my theme based on the flexigrid theme and will upload as soon as it's done.

Cheers!

#4 fdias

fdias

    grocery CRUD Addict

  • Members
  • PipPipPip
  • 93 posts

Posted 02 February 2012 - 06:58 PM

I'm probably missing something, but how do I add a new theme?

I thought I just needed to create a new folder inside the themes folder (following the file structure).
I made a copy of the flexigrid folder, changed some styles and icons and tried to call this new theme "acme" but nothing happens.
If I rename this to flexigrid it works, but it seems that flexigrid and datatables are hardcoded and I cannot simply add another theme.

Please let me know what I'm doing wrong.

Cheers!

#5 web-johnny

web-johnny

    grocery CRUD Author

  • Administrators
  • 1,150 posts
  • LocationLondon

Posted 02 February 2012 - 07:33 PM

I'm probably missing something, but how do I add a new theme?

I thought I just needed to create a new folder inside the themes folder (following the file structure).
I made a copy of the flexigrid folder, changed some styles and icons and tried to call this new theme "acme" but nothing happens.
If I rename this to flexigrid it works, but it seems that flexigrid and datatables are hardcoded and I cannot simply add another theme.

Please let me know what I'm doing wrong.

Cheers!


To activate your theme you just have to add the set_theme at your new grocery_CRUD object. You can see an example at: http://www.grocerycr...offices_example . It is not hard cored you have to just add your theme there. If you want by default to choose the acme theme, then you have to go to application/libraries/grocery_crud.php at around line 2209 and change the default theme to "acme" and that's it.

I just want to inform that the "themes" is not so easy just to add a theme (as a wordpress theme for example) because is related with the core. So you can have a try, but have this in mind. It's not only a view with css files, as you can see it has many other things also that are required.

If you have any other problems just tell me.
Posted Image

#6 fdias

fdias

    grocery CRUD Addict

  • Members
  • PipPipPip
  • 93 posts

Posted 10 June 2012 - 02:52 AM

Took me a while but I finally have my custom "theme". I don't know if you can really call it a theme as it's just new icons and a few changes on the CSS file.

Anyway I'm posting a screenshot and it anyone wants it I'll release a zip with the necessary files.

Posted Image

Cheers.

#7 Kaabi

Kaabi

    Member

  • Members
  • PipPip
  • 17 posts
  • LocationEgypt

Posted 17 September 2012 - 01:26 PM

only 1 skin ? c'mon guys we need to see more

#8 proczekweb

proczekweb

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 18 September 2012 - 10:44 AM

http://dl.dropbox.co.../datatables.zip

little modified datatables (realy dont like border-radius), with drag and drop ordering.

#9 putoyair

putoyair

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 18 March 2013 - 12:48 AM

Took me a while but I finally have my custom "theme". I don't know if you can really call it a theme as it's just new icons and a few changes on the CSS file.

Anyway I'm posting a screenshot and it anyone wants it I'll release a zip with the necessary files.

gc_grey_theme.png

Cheers.

Could you please post your theme?



#10 heruprambadi

heruprambadi

    Advanced Member

  • Members
  • PipPipPip
  • 83 posts
  • LocationIndonesia

Posted 18 March 2013 - 02:31 AM

anyway, jtable sounds great too if you wanna create new table theme. is there anyone used this ?



#11 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts
  • LocationAthens, Greece

Posted 19 March 2013 - 04:34 PM

jTable is another fully featured CRUD system like Grocery CRUD not an option for an additional theme!


____________________________________________________________

 

rtfm_small.jpg---!!!Please read these guidelines before asking to the forums!!!---

____________________________________________________________

 

David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr


#12 heruprambadi

heruprambadi

    Advanced Member

  • Members
  • PipPipPip
  • 83 posts
  • LocationIndonesia

Posted 20 March 2013 - 02:27 PM

oh really ? coz i used it for my GCrud theme, sir.



#13 Rafael Alves

Rafael Alves

    Member

  • Members
  • PipPip
  • 14 posts
  • LocationCuritiba, Brazil

Posted 20 March 2013 - 08:53 PM

Hi @heruprambadi share with us!  :D

​I think gave many modification, right?



#14 kenshicu

kenshicu

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationHolguín, Cuba

Posted 20 March 2013 - 10:11 PM

I made some modifications to flexigrid theme, I put the buttons bootstrap and relocate the button to search

 

download: http://www37.zippysh...71613/file.html

 

flexigrid_buttons_bootstrap.jpg



#15 sachin vairagi

sachin vairagi

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 21 March 2013 - 03:26 AM

To kenshicu, i have download your theme but it is giving following error

 

Fatal error: Call to undefined method grocery_CRUD::set_js_lib() in D:\wamp\www\CodeIgniter_2.1.0\assets\grocery_crud\themes\flexigrid\views\list_template.php on line 3



#16 sachin vairagi

sachin vairagi

    Advanced Member

  • Members
  • PipPipPip
  • 39 posts

Posted 21 March 2013 - 09:46 AM

ok got it now, i was using old GC library. :)



#17 kenshicu

kenshicu

    Advanced Member

  • Members
  • PipPipPip
  • 85 posts
  • LocationHolguín, Cuba

Posted 21 March 2013 - 12:41 PM

good, I use GC 1.3.4 :)



#18 meyercr

meyercr

    Member

  • Members
  • PipPip
  • 10 posts

Posted 21 March 2013 - 07:13 PM

I made a slight improvement to flexigrid/views/list_template.php.

 

It now conditionally displays the paging dialog, only if required.  Meaning, if you are displaying <= the default rows per page, don't bother with the paging display.

 

Starts at line 115:

	<div class='search-div-clear-button'>
                <input type="button" value="<?php echo $this->l('list_clear_filtering');?>" id='search_clear' class="search_clear">
        </div>
  	</div>
+ 	<?php if( $total_results > $default_per_page ){ ?>
  	<div class="pDiv" >
  		<div class="pDiv2" >
  			<div class="pGroup">

Then to close out the conditional (starting 4 lines from EOF)

  	</div>
+ 	<?php } else {?>
+ 	<div class="pDiv" style="height: 27px" >
+ 	</div>	      
+ 	<?php } ?>		   
  	<?php echo form_close(); ?>
  	</div>
  </div>

 

Note: This is the latest code from github => https://github.com/s...is/grocery-crud

(commit:  9a3f5c18575de74f25ded3d3b5d5e7921d884b86)



#19 davidoster

davidoster

    Grocery CRUD Ninja

  • Advanced Member
  • PipPipPip
  • 1,068 posts
  • LocationAthens, Greece

Posted 25 March 2013 - 01:55 PM

oh really ? coz i used it for my GCrud theme, sir.

 

 

I believe you used one of the themes that jTable has. Not the jTable itself!!!

What you used is the theme roller, http://jtable.org/Themes which is also available and you can use it for the datagrid theme that GC has!


____________________________________________________________

 

rtfm_small.jpg---!!!Please read these guidelines before asking to the forums!!!---

____________________________________________________________

 

David Oster aka George Pasparakis,
http://odphotography.com
http://eletter.gr


#20 heruprambadi

heruprambadi

    Advanced Member

  • Members
  • PipPipPip
  • 83 posts
  • LocationIndonesia

Posted 27 March 2013 - 01:53 AM

oh god you right -_- you win this time !







Also tagged with one or more of these keywords: theme, themes, custom, share

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users