I uploaded all the files and I am having a problem when I upload the common/html_header. When I upload it to my over ride template file, I lose all my background images and I have no images on the tabs either. Any ideas?
Thank you,
Kelly
Printable View
I uploaded all the files and I am having a problem when I upload the common/html_header. When I upload it to my over ride template file, I lose all my background images and I have no images on the tabs either. Any ideas?
Thank you,
Kelly
Well...I can't figure this one out. When I use this contribution, as soon as I upload the html_header.php to my server, I lose all of my images and css.
Here is a link to the homepage, with the file in place.
http://74.53.81.50/~green/store/index.php
Any help would be appreciated.
Thanks,
Kelly
This is completely throwing off the link to my stylesheets.
This is what it's showing in the source code
<link rel="stylesheet" type="text/css" href="min/?f=/store/includes/templates/greenridge/css/stylesheet.css,/store/includes/templates/greenridge/css/stylesheet_css_buttons.css,/store/includes/templates/greenridge/css/stylesheet_header_menu.css&1309442815" />
okay...how about an uninstall script?
Okay...had to go to an older version, but I got that to work. Now if I can just turn off the header log in, etc.
Take a peek...
http://74.53.81.50/~green/store/inde...&products_id=5
Is there any way to display some text above the tabs where it would normally go as well as in the tabs? I have a bit too much white space below the title and price and would like a little info to go there as well.
http://74.53.81.50/~green/store/inde...&products_id=5
Thanks in advance for anyone willing to help.
Kelly
Ok, firstly, quit moaning, i think it is an unbelievably kind gesture to upload free software mods, explain them, answer questions and often update to peoples needs in the first place without people like you complaining that it is not good enough and that you should have the right to what you want for free. Perhaps when you have tweaked it you will share it with everyone else? Perhaps not....
Secondly i was about to download the mod but thought i should ask what order do the tabs display in if you cannot define a sort order? Is it possible (and easy) to have different tab headings for each product?
Hi everyone after looking at my logs today I noticed there was over 20,000 log entries all the same file size and with the same error inside of them.
The error I am seeing in the log is as follows:
Now I have done a search through my files and this jscript.php file seems to be part of the Tab Products Pro Mod. So I am sure now that this error message is caused by this mod for some reason.Code:[12-Jul-2011 12:31:39] PHP Warning: Invalid argument supplied for foreach() in /home/my_site/public_html/includes/functions/extra_functions/jscript.php on line 71
[12-Jul-2011 12:31:39] PHP Warning: Invalid argument supplied for foreach() in /home/my_site/public_html/includes/functions/extra_functions/jscript.php on line 71
I opened up the jscript.php file and scrolled down to line 71 and this is what is on this line.
Here is a full listing of this section of the file starting from line 67 all the way down to line 110.Code:foreach($files as $file=>$order){
So does anyone have any idea what is causing this error to be posted in my error logs and can the please tell me how I can fix it?Code:function getMinifyfiles($files, $request_string, $folder){
global $request_type, $current_page_base, $template;
$relative_path = $request_type == 'NONSSL' ? DIR_WS_CATALOG : DIR_WS_HTTPS_CATALOG;
$files_paths = '';$result = array();
foreach($files as $file=>$order){
// case 1: file is in server but full path not passed, assuming it is under corresponding template css/js folder
if($file_exists = file_exists(DIR_FS_CATALOG.DIR_WS_TEMPLATE.$folder.$file)){
$file_absolute_path = DIR_FS_CATALOG.DIR_WS_TEMPLATE.$folder.$file;
$file_relative_path = $relative_path.DIR_WS_TEMPLATE.$folder.$file;
}
// case 2: file is in the default template
elseif($file_exists = file_exists(DIR_FS_CATALOG.DIR_WS_TEMPLATES.'template_default/'.$folder.$file)){
$file_absolute_path = DIR_FS_CATALOG.DIR_WS_TEMPLATES.'template_default/'.$folder.$file;
$file_relative_path = $relative_path.DIR_WS_TEMPLATES.'template_default/'.$folder.$file;
}
// case 3: file is in the server, can be accessed via the same domain, full path passed
elseif($file_exists = file_exists($file)){
$file_absolute_path = DIR_FS_CATALOG.$file;
$file_relative_path = $relative_path.$file;
}
// case 4: file is not even on the same domain
if(substr($file, 0, 4) == 'http'){
$file_relative_path = $file;
$file_exists = true;
}
if($file_exists){
$ext = pathinfo($file, PATHINFO_EXTENSION);
// if we encounter php, unfortunately we will have to include it for now
// another solution is to put everything into 1 file, but we will have to solve @import
if($ext == 'php'){
if($files_paths != ''){
$result[] = array('string' => sprintf($request_string, trim($files_paths, ',')), 'include' => false);
$files_paths = '';
}
$result[] = array('string' => $file_absolute_path, 'include' => true);
}
else{
$files_paths .= $file_relative_path.',';
}
}
}
Thanks.
The DEMO for this module is broken. Does anyone have any live examples to share?
Thanks so much.
Does anyone know how this mod could be changed to apply to the homepage of the store. I have installed the great Middleboxes mod and would like to somehow 'tab' my middleboxes.
Any suggestions?