Search found 4 matches

by shopmaker
Tue Sep 13, 2016 3:48 pm
Forum: Bug Reports
Topic: Fatal error; Cannot redeclare _PEAR_call_destructors()
Replies: 1
Views: 5065

Fatal error; Cannot redeclare _PEAR_call_destructors()

At the bottom of all pages of my AOM shop there is this text:
Fatal error: Cannot redeclare _PEAR_call_destructors() (previously declared in /xxxxx/aom/includes/os.php:678) in /usr/share/php/PEAR.php on line 812
What to do?
by shopmaker
Sun Jan 17, 2016 2:59 pm
Forum: Technical Support
Topic: Theme Programming: How to let automatically set dark text / highlight text?
Replies: 2
Views: 3008

Re: Theme Programming: How to let automatically set dark text / highlight text?

Great you worked out solutions, but none for the case of just a bg color and two foreground colors light and dark for text? :D
by shopmaker
Thu Jan 14, 2016 4:48 am
Forum: Technical Support
Topic: Theme Programming: How to let automatically set dark text / highlight text?
Replies: 2
Views: 3008

Theme Programming: How to let automatically set dark text / highlight text?

In the admin area the text colors can be set, both dark and light text colors. There is the notice This color would be used on light backgrounds versus the Text Light Color which is used on dark backgrounds. It seems AOM selects the approbiate text color automatically in the default theme. I am look...
by shopmaker
Thu Jan 14, 2016 4:38 am
Forum: Technical Support
Topic: Theme Programming: How to add translatable texts?
Replies: 0
Views: 11479

Theme Programming: How to add translatable texts?

I am coding a new theme and want to add some texts for better orientation (for more accessibility). These texts should be translatable. The easiest way could be to add them in the existing language files in the lang directory and call them via $this->aom->str[] . But I assume they would be overwritt...