earrame
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Zenon Lite] Theme crashed after updateThank you for responding so quickly. I did like you suggested and it didn’t seem to work. It seems like it has something to do with the child theme. I had an issue when I was setting up the site. Here is the transcript of that fix, perhaps it will help. I tried commenting out line 66 again but it did not fix it.
Hi, I am working on stongoministorage.com and have created a child theme to add a custom style sheet. When I do a live preview of the child theme, I get this message:
Warning: require_once(/home/schoelkopf/stongoministorage.com/wp-content/themes/sto-n-go/admin/options-framework.php) [function.require-once]: failed to open stream: No such file or directory in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/functions.php on line 420
Fatal error: require_once() [function.require]: Failed opening required ‘/home/schoelkopf/stongoministorage.com/wp-content/themes/sto-n-go/admin/options-framework.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/functions.php on line 420
If I activate the child theme, I get the same message but I cant do anything until I comment out line 420. Then the admin area will come back up and I can switch back. Can you tell me what is going on?
ReplyTowfiq I.
on June 19, 2012 at 6:36 pmMake this changes:
in functions.php
This section should test the child theme are for the admin folder and if exists set path to child, else set to template. Temp fix below:
Find this:
if ( STYLESHEETPATH == TEMPLATEPATH ) {
change to
if ( STYLESHEETPATH != TEMPLATEPATH ) {
—-
in options.phpFind this:
$imagepath = get_stylesheet_directory_uri() . ‘/admin/images/’;
change to
$imagepath = OPTIONS_FRAMEWORK_DIRECTORY . ‘images/’;
Found another bug. now I am getting this error in the Zenon theme options:
Warning: Division by zero in /home/schoelkopf/stongoministorage.com/wp-content/themes/zenon-lite/options.php on line 66
Seems to be another result of setting up a child theme. Please help.
ReplyTowfiq I.
on June 20, 2012 at 9:40 pmmake sure you did not install the plugin “Options Framework”
And like I mentioned before, try this:
Make these changes:
in functions.php
This section should test the child theme are for the admin folder and if exists set path to child, else set to template. Temp fix below:
Find this:
if ( STYLESHEETPATH == TEMPLATEPATH ) {
change to
if ( STYLESHEETPATH != TEMPLATEPATH ) {
—-
in options.phpFind this:
$imagepath = get_stylesheet_directory_uri() . ‘/admin/images/’;
change to
$imagepath = OPTIONS_FRAMEWORK_DIRECTORY . ‘images/’;
Jason Earrame
on June 20, 2012 at 9:46 pmI have made those changes. I tried to post that before with a thank you, but it didn’t show up here. I do not have Options Framework plugin.
Towfiq I.
on June 20, 2012 at 9:50 pmdo you wish to add the options framework to your child theme? if not, you can try commenting out line number 66 of options.php file.
Jason Earrame
on June 20, 2012 at 9:56 pmThank you, that worked. I don’t believe I will need that plugin. will these changes be a problem if the theme is updated in the future?
Towfiq I.
on June 20, 2012 at 10:01 pmCould be a problem, yeah. but you can again comment out that line.
Forum: Plugins
In reply to: [Collapse-O-Matic] [Plugin: jQuery Collapse-O-Matic] Broken after upgradeThanks! all fixed on my end!
Same here, I made a new post.
I figured this out following the tutorial at http://sevenspark.com/code/how-to-create-a-dynamic-wordpress-contact-form (sorry, I didn’t see it before)
I turned it into a shortcode so that it is easy to put into the product posts.
It looks like this for those interested:
function reserve_button(){ return '<a href="http://trosperstorage.com/reserve-your-unit?reserve='.urlencode(get_the_title($post->ID)) .'"><div class="reserve-button"><span>Reserve</span></div></a>'; } add_shortcode('reserve', 'reserve_button');Don’t know if this will be seen in a [solved] thread. I will start a new thread.
This is exactly what I would like to do with a new website I am building. I am using ‘The Cart Press” to manage storage units. I will not have a buy button but rather a link to an email form that should be filled out with the product information. You can see the (completely unstyled) website at http://www.trosperstorage.com/
Where do I get the dynamic value from?
The main forum is down today so I can’t go there for any support.
Forum: Fixing WordPress
In reply to: Missing dropdown menu in primary nav in thematic child themeFound it. I had #access overflow:hidden in the child theme style.css. I changed it to overflow:visible and there it is.
Forum: Fixing WordPress
In reply to: Missing dropdown menu in primary nav in thematic child themeIt is definitely somewhere in the child theme as it is fixed if I switch to the Thematic theme. I tried to use the thematic default.css rather than the child theme version and that did not fix it.
Forum: Plugins
In reply to: Plugin:Table of Contents CreatorWell I am ditching TOCC as it doesn’t do what my client needs.
Forum: Themes and Templates
In reply to: twentyten header image – no white area aboveOnce I did display: none; to the site-title and site-description it solved the problem!
Forum: Plugins
In reply to: [plugin: wp-piwik] nodata in all tablesnevermind, I just kept messing with it and it started working!
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] insert thumbnailit was in the settings>media section
Forum: Fixing WordPress
In reply to: Blank page problemI think it was the wp backup plugin that messed things up. I realized that I hadn’t reset the theme to default and that is why it wasn’t displaying the site. when I coppied my theme, Sufusion, and [pasted it to the new theme folder, the site worked again. I had to re-activate all of my plugins and re-do the sidebar, but at least it is working again.