Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jayhawkerd

    (@jayhawkerd)

    Thank you. That worked!

    Thread Starter jayhawkerd

    (@jayhawkerd)

    I could only get it to work using #page. I don’t know why but it didn’t like .container1 or even #main. I can make due with that as long as I can get this last issue worked out.

    Thread Starter jayhawkerd

    (@jayhawkerd)

    Thanks for pointing out the correct files and what needs to change. The walkthroughs helped quite a bit too. One last question: the only part of this that I am needing is the global settings but I can’t get everything deleted off except for that without getting a json error. This is actually the only part I need:

    {
    	"Global": [
    		/* Global */
    		{ "selector": "html,body", "type": "background-color", "label": "Outer area" },
    		{ "selector": "#page", "type": "background-color", "label": "Inner area" },
    		{ "selector": "#page", "type": "text", "label": "Default" },
    		{ "selector": "#page", "type": "color", "label": "Default" },
    		/* Link */
    		{ "selector": "#page a", "type": "text", "label": "Default link" },
    		{ "selector": "#page a", "type": "color", "label": "Default link" },
    		{ "selector": "#page a:hover", "type": "color", "label": "Default link" },
    		{}
    	]
    }

    but I get an error with that. I can do this without getting an error which is what is confusing me.

    {
    	"Global": [
    		/* Global */
    		{ "selector": "html,body", "type": "background-color", "label": "Outer area" },
    		{ "selector": "#page", "type": "background-color", "label": "Inner area" },
    		{ "selector": "#page", "type": "text", "label": "Default" },
    		{ "selector": "#page", "type": "color", "label": "Default" },
    		/* Link */
    		{ "selector": "#page a", "type": "text", "label": "Default link" },
    		{ "selector": "#page a", "type": "color", "label": "Default link" },
    		{ "selector": "#page a:hover", "type": "color", "label": "Default link" },
    		{}
    	],
    	"Footer": [
    		/* Area */
    		{ "selector": "#site-generator", "type": "background-color", "label": "Area" },
    		{ "selector": "#site-generator", "type": "border-top-color", "label": "Area" },
    		{}
    	]
    }

    Is there a different way it needs to be written if it is to only have that one section?

    Thread Starter jayhawkerd

    (@jayhawkerd)

    An URL you can look at for this is http://diplomakids.pleth.net/dwall3/test-kid/. I am actually wanting to change the color of the area that is blue right now in the screen (the div id for this is container1). I want to be able to add this functionality to the customize.php page so when the user goes in to change the header, background color, etc, they can also change this color as well.

    Thread Starter jayhawkerd

    (@jayhawkerd)

    I realize you can’t add pictures to a non-existent gallery; which is why I want to be able to create a gallery automatically when I create a new page in a site. I know it is normally a simple thing to just type in a name and hit save and it creates a gallery but the project I am working on is a lot more complicated than I can really explain here and I have to have names of galleries very specific and defined from the name of the page they will be created from (example: if I have a page named “Bill”, the person there will be a gallery with the name “Bill” that will be displayed on that page.) This is a multisite that will have several sites on it but that part is not the issue. I figure since it is as simple as typing in a name for a gallery and hitting save it shouldn’t be that hard to create a function that can just be called up at the end of the create new page part that can do this by passing a parameter through the function with the name I want to use for the gallery and have that gallery created. That way, when a person creates a new page, the gallery is already created for them and this will allow them to go in and add pictures to the correct gallery. This is being done to simplify what users have to do to upload pictures (this site is being created for people who are not technically inclined so we have to simplify as much as possible).

    Thread Starter jayhawkerd

    (@jayhawkerd)

    Wondering if anyone has tried to do anything like this? This is kind of frustrating because I know there should be a way to add a page id to this so each gallery can be linked to a specific page but I haven’t found the answer. Hoping someone might at least help point me in the right direction. I will wait and see if anyone will reply to this this time.

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)