You need to also add the button to imageset.cfg and then refresh your imageset. You need to add it to includes/acp/acp_styles.php, if it's localised you also need to add it to includes/acp/acp_language.php afaik.
When that's done you can display it as an image using {NEW_BLOG_POST}.
If you want to have it using spans though (like in prosilver), you have to add it to the css files in the theme folder.
Adding new buttons
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Adding new buttons
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Adding new buttons
- we're poor!
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Adding new buttons
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Adding new buttons
Nope. But a way to get less edits would be to put all the css into a separate css file and have that imported in stylesheet.css (prosilver). If you want to see all that's needed, look at my evil quick reply mod.
- we're poor!
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Adding new buttons
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Adding new buttons
False alarm. I got it to work, but apparently I didn't record the change, so now it isn't working when I do the same things to a fresh board. Help please!!!
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Adding new buttons
Got it to work again...maybe I had to refresh my browsers cache...
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Adding new buttons
Hmm...that's weird. I still don't know what I did.
@sTraTo. I think he's just talking about the caching of the images.
@sTraTo. I think he's just talking about the caching of the images.
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
- igorw
- Past Contributor
- Posts: 1967
- Joined: 01 Jun 2006, 20:48
- Real name: Igor [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Re: Adding new buttons
Yes, i was talking about caching. Opera has very strong caching, which can sometimes be very annoying.
- we're poor!
-
- Supporter
- Posts: 316
- Joined: 18 Sep 2007, 14:35
- Real name: David
- Contact:
Re: Adding new buttons
I did refresh the imageset, but it was a few hours after that that I came back on the computer and it was working...
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
Return to “phpBB Development discussion”
Who is online
Users browsing this forum: No registered users and 28 guests