Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Graphical Borders


spooks

Recommended Posts

Its a while since I did those contribs, but as I remmeber the function is already built into the class

 

so you only need to make changes to the call, ie

 

new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_REVIEWS));

 

becomes:

 

new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_REVIEWS), tep_href_link(FILENAME_REVIEWS));

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • Replies 244
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Thanks Sam,

 

I had figured that out but hadnt posted back as was still getting it to work with, scrolling specials and sppc on the scrolling specials page. but all sorted now.

 

I did notice that the header title wont change color to match the dark black that I have on others but sure I'll sort that some time.

 

Thanks for your work on the contributions and the forum.

Link to comment
Share on other sites

Hi!

 

In column left - is it possible to remove the borders (that your contribution makes) from just one of the boxes (for exemple categories)?

 

I'm trying to make a different design in the category box from the rest.

 

I really appriciate your help!

 

Carl

Edited by callenords
Link to comment
Share on other sites

I think its detailed.

 

new noborderBox($info_box_contents)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Thank you very much for the contribution. It is working well except for a few contributions items that seem to be broken now. I'm guessing I need add some code in these to make them use your code. Will you please help me fix my newsdesk feature: (I'm clueless one this one.)

 

http://kaligear.com/catalog/newsdesk_index.php

error:

 

1054 - Unknown column 'p.newsdesk_id' in 'on clause'

select count(p.newsdesk_id) as total from newsdesk_description pd, newsdesk p left join manufacturers m on p.newsdesk_id = m.manufacturers_id, newsdesk_to_categories p2c left join specials s on p.newsdesk_id = s.products_id where p.newsdesk_status = '1' and p.newsdesk_id = p2c.newsdesk_id and pd.newsdesk_id = p2c.newsdesk_id and pd.language_id = '1' and p2c.categories_id = '0'

 

 

And my estimated shipping: (I think I need to somehow put this in my stylesheet?)

Fatal error: Class 'estimatedshippingBoxHeading' not found in /home/kaligear/public_html/catalog/includes/modules/estimated_shipping.php on line 29

 

thank you for any help or direction!

Leslie

Link to comment
Share on other sites

Sorry, this thread is for support for the latest version only (Easy Graphical Borders)

 

The old installs have loads of junk in them thats now been removed.

 

Why install the old rather than the latest?

 

Of course if you prefer to fix the issues with those & update, thats fine, but I`m afraid your on your own.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Sorry, this thread is for support for the latest version only (Easy Graphical Borders)

 

The old installs have loads of junk in them thats now been removed.

 

Why install the old rather than the latest?

 

Of course if you prefer to fix the issues with those & update, thats fine, but I`m afraid your on your own.

 

Hi Sam,

Thank you for the reply. I have had newsdesk for some time, so the version is not current. I just installed easy graphical borders today (the latest version) and noticed some errors when examining the results. I think the source of my problem was actually a recent server upgrade together with SQL upgrades. I think I have mostly fixed / bandaged newsdesk for now thanks to some newsdesk forum entries including your own. Perhaps now I can upgrade newsdesk to the latest.

 

The only problem that remains is to get estimate shipping to work with graphical borders. I'm not sure how it broke.

thanks,

Leslie

Link to comment
Share on other sites

  • 2 weeks later...

First off, great contribution...excellent install instructions (may have missed one thing, hence the post,lol)...will save me a load of time hunting down and replacing things to shape basic functions and visuals.

 

one problem cropped up after following instructions:

 

Fatal error: Call to undefined function tep_draw_heading_top()

 

that appears replacing the boxes for main index box, new products, specials, account, and contacts....essentially all boxes....

 

on a side note (no pun intended) the left column stuff is all round cornered, but nothing else (main boxes) is.

 

 

thanks in advance for any info you can lend on this.

 

 

_M

Link to comment
Share on other sites

This is the support thread for the Easy Graphical Borders version, that function does not appear in it, as there is no support for the other versions one of which you have appeared to have done, so I`m afraid your on your own

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

This happened right after the install of the Easy Graphical Borders version. no other modifications were made to the site after or during this installation. install instructions followed to the letter. this contribution caused this error. I would like to keep the contribution, but cannot find the reason for this break.

 

 

but, if nothing comes of a solution, backups can be restored and i can find another solution. This seemed to be a good solution

Link to comment
Share on other sites

Oh, sorry I thought you must have done another, still, there are no calls to tep_draw_heading_top()

within this, its does not create it or call it, its also not a standard osC function, so something else must have added it.

 

You stated you modified quite a number of files for this contrib, but the instruction only tell you to modify 3, catalog/stylesheet.css , catalog/includes/application_top.php and catalog/includes/classes/boxes.php so how come you were changing all those others!!!

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

I was referring to modifications previous to easy graphical borders contribution install... not post install... nothing else outside of the 3 areas indicated in the install.txt were modified during or after the upload.

 

 

regardless...you are right, this may be a trash entry that has no business being where it is and not related to the contribution (unfortunately i inherited this cart from the customer to refit, so i will task it as part of the trash left behind and still needing to be rooted out) and a convenient matter of timing coinciding with the install of this contribution.

 

 

thanks for the info, reagardless

 

_M

Link to comment
Share on other sites

Very interesting, both in the error and the heads up of the non standard function call .... this contribution led me to root out all kinds of evil (not evil of my doing of course) /SIGH

 

the cleanup continues... as i remove the function calls in error, the boxes return but without their new corners showing...with the exception of the main index, so i will use that as a base as to why they other pages aren't utilizing this new contribution...what a mess, lol....some people. But my customer will appreciate it in the end, as the last person working on this blundered his way through it all, apparently.

 

 

Thanks again.

 

_M

Link to comment
Share on other sites

You can style any box using the included functions

 

if you have say

 

new contentBox($info_box_contents)

 

change to

 

mws_boxHeader ()

new noborderBox($info_box_contents)

mws_boxFooter()

 

if you need to place a title in the header, add the text within the brackets.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Perhaps I should make it clearer, in your header, before the first table put

 

<?php  echo mws_boxHeader (); ?>

 

then in your footer after the last table put

<?php echo mws_boxFooter(); ?>

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Perhaps I should make it clearer, in your header, before the first table put

 

<?php  echo mws_boxHeader (); ?>

 

then in your footer after the last table put

<?php echo mws_boxFooter(); ?>

 

That definately makes it more simple thanks. But the body its full width rather than 80% like it was before.. any idea's?

Link to comment
Share on other sites

Use the store sizing technique here

 

then put the

 

<?php  echo mws_boxHeader (); ?>

 

 

immediatly after the content <div> in the header

 

and the

 

<?php echo mws_boxFooter(); ?>

 

immediatly before the closing </div> in the footer

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Great thanks. Nearly works. Just not center in IE. - Fine in Firefox. Gonna have a look why but comming onlong nicely. Thanks for the help

 

 

You did'nt follow the instructions exactly!!!!!!!!!!!!!!!!

 

body tag element!!!

 

:rolleyes: :rolleyes: :rolleyes:

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

I have added this contribution to a site:

 

Visit My Website

 

If i open the site in IE 7 it looks normal, if I open the site in firefox well I dont know of words to explain it.

What did I do or not do to cause this? Someone please help!

Link to comment
Share on other sites

likely u have errors in structure that ie allows & firefox don't

 

 

try removing elements to eliminate them as cause

 

I wold start with category menu

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

I`m not sure u should fix for every browser, thier suppost to follow the same rules!! (microsoft excluded of course!!)

 

In classes boxes, around 106 find:

 

<table cellspacing="0" cellpadding="0" border="0">

replace with:

 

<table cellspacing="0" cellpadding="0" border="0" width="100%">

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

I`m not sure u should fix for every browser, thier suppost to follow the same rules!! (microsoft excluded of course!!)

 

In classes boxes, around 106 find:

 

<table cellspacing="0" cellpadding="0" border="0">

replace with:

 

<table cellspacing="0" cellpadding="0" border="0" width="100%">

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...