Jump to content

Archived

This topic is now archived and is closed to further replies.

rsmm

How can I add additional Background Themes?

Recommended Posts

rsmm

I was able to find this chunk of code in dms/includes/lib.editor.php on line 816

function pl_theme_classes(){
	$array = array(
		''			 	=> 'Default',
		'pl-trans'		=> 'No Background',
		'pl-contrast'	=> 'Contrast BG',
		'pl-black'		=> 'Black Background, white text',
		'pl-grey'		=> 'Dark Grey Background, White Text',
		'pl-white'		=> 'White Background, Black Text',
		'pl-dark-img'	=> 'Black Background, White Text w Shadow',
		'pl-light-img'	=> 'White Background, Black Text w Shadow',
		'pl-base'		=> 'Base Color Background',
	); 
	return $array;
}

I'm not entirely sure what hooks into this. I'm hoping to find a way to add to this list. Is this possible?

Share this post


Link to post
Share on other sites
Simon

next version will have a filter 'pl_theme_classes' so you can use that.

Share this post


Link to post
Share on other sites
rsmm

Awesome. Thanks. Is there a roadmap or an ETA on that?

Share this post


Link to post
Share on other sites
greenfly

End of the week / early next week for 2.0.5 i believe  - usually ready when it's ready :) 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
rsmm

Wow, awesome! Keep up the good work!

 

I just purchased DMS a couple weeks ago, and I'm still finding my way around. Is there a published roadmap? Or is it mostly just based on forum feedback?

Share this post


Link to post
Share on other sites
Danny

We do not have a public roadmap, as things are always changing, being pushed forward/back etc...


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
rsmm

Understandable. No worries. Thanks for the info.

Share this post


Link to post
Share on other sites
Danny

No problem.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

  • Similar Content

    • kellid
    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • webbdo
      By webbdo+
      Hi,
      In the social links Twitter shows 404 error in the API. Example:
      "GET http://urls.api.twitter.com/1/urls/count.json?url=http://www.webbdo.se/cybe…onday/&callback=jQuery1113017799108568578959_1449307004771&_=1449307004772 "
      This on all posts that have the "social links" and Twitter included.
      See example: http://www.webbdo.se/cyber-monday/
      How can it be fixed?
       
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
×