Author Topic: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5  (Read 721952 times)

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #150 on: July 27, 2008, 00:26:35 am »
not easy syntax ...
i want to have a textarea with lengh
i want to have a textarea with width
i want it to calculate ALONE the surface
Lenght(text)(|field-below)(lenght in m|);
width(text)(|field-below)(width in m|);

I know that more people would like a attribute that works the way scoody wants.
I asked JK and he can make such an attribute.
Anyone who want this also and like to share in the costs PM me.
It's no big investment, so the more people respond the less we all have to share.

s2u

  • Beginner
  • *
  • Posts: 6
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #151 on: July 27, 2008, 22:55:39 pm »
 ??? HELP  ???

I'm using joomla 1.5.4 and vm 1.1.0 - when i add values in Custom attribute list I only get to write one line - in the old version for joomla 1.0.X and vm -1.0.X it was possible to make new lines in the custom att. text field in the admin?

???

Morten

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #152 on: July 28, 2008, 00:58:47 am »
In product.product_form.php find:
Code: [Select]
<input class="inputbox" type="text" name="product_custom_attribute" value="<?php $db->sp("custom_attribute"); ?>" size="64" />

And change this to:
Code: [Select]
<textarea class="inputbox" rows="3" cols="70" name="product_custom_attribute"><?php $db->sp("custom_attribute"); ?></textarea>

You can change the size by playing with "rows" and "cols"

Hope this is what you mean.

s2u

  • Beginner
  • *
  • Posts: 6
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #153 on: July 28, 2008, 09:08:34 am »
Hi Marco

Think it is, but can't see the code You have posted

Morten

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #154 on: July 28, 2008, 09:11:35 am »
Should be in the file, did you search the file?
Try searching for "product_custom_attribute"

s2u

  • Beginner
  • *
  • Posts: 6
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #155 on: July 28, 2008, 22:33:28 pm »
Hi again Marco

Justed went into an 1.0.x VM and copied the Custom Attributes from product.product_form.php into my 1.1.1 VM - works nice now - thanks for Your hint - by the way - love this hack - and looking forward to get this as standard in VM.

s2u

  • Beginner
  • *
  • Posts: 6
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #156 on: July 28, 2008, 22:47:42 pm »
Okay - ran into another problem... how can i style the custom attrib. in the checkout screens and in the confirmation e-mail - I have around 30 attributes for every product and it looks kind of messy...

Another thin is - I can't get pictures to show i selectboxes, checkboxes or radiobuttuons

Someone?

Morten

Carlton Brooks

  • Beginner
  • *
  • Posts: 17
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #157 on: July 31, 2008, 05:18:38 am »
Why is this happening.

It seems like the code is being inserted into the add cart button area, instead of above it.
Unless this is the way it is supposed to work in version 1.1

carltonb



[attachment cleanup by admin]

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #158 on: July 31, 2008, 08:14:53 am »
This is the right place for the attributes.
You only have to adjust the looks of it or maybe select an other flypage.

Okay - ran into another problem... how can i style the custom attrib. in the checkout screens and in the confirmation e-mail - I have around 30 attributes for every product and it looks kind of messy...
Another thin is - I can't get pictures to show i selectboxes, checkboxes or radiobuttuons
Someone?
Morten

I never looked were to adjust the attributes style for the checkout, maybe someone else can help.
Could you give the syntax you use for showing the images?

Nemesis02

  • Beginner
  • *
  • Posts: 27
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #159 on: August 01, 2008, 19:33:33 pm »
Is this mod compatible w/ v1.1.2 of Virtuemart?  I'm going through the files comparing them and there seems to be a change in the way the templating engine works, but not enough to change the variable names, just the way its called is different.

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #160 on: August 01, 2008, 19:47:10 pm »
Haven't had time to try it yet.
But give it a try and please let us know what happend(or not :) )

Nemesis02

  • Beginner
  • *
  • Posts: 27
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #161 on: August 01, 2008, 20:52:47 pm »
Haven't had time to try it yet.
But give it a try and please let us know what happend(or not :) )

Tried it, and see no problem as of yet.  But a bit weary of using old code w/ new since it tends to inherit the problems of the older versions.

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #162 on: August 01, 2008, 21:04:45 pm »
I see what you mean.
That's a problem with hacks in general.
I could have a look, when I have some time, if I can filter out the attributes hack code and see if it fits in the VM updated pages.

Or I could ask JK to fit it in, but I don't know what it will cost.

Nemesis02

  • Beginner
  • *
  • Posts: 27
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #163 on: August 01, 2008, 21:25:17 pm »
I see what you mean.
That's a problem with hacks in general.
I could have a look, when I have some time, if I can filter out the attributes hack code and see if it fits in the VM updated pages.

Or I could ask JK to fit it in, but I don't know what it will cost.
I'll do it for free, I've already done most of it anyways.  Just too lazy to do it lol, since i do it as a job.  But i'm more than willing to take donations for my work once its done :)

Marco

  • Jr. Member
  • **
  • Posts: 139
Re: Converted Custom Attributes Extended Hack 2.1 for VM 1.1 + J1.5
« Reply #164 on: August 01, 2008, 21:31:53 pm »
2 new features added to ver.15 thanks to Ben Stovall.

Have a look at this topic here is were he explains his features.

Sorry that I use his reply for explaining it, but I did not have time to test the features myself.

The syntax to use (sample from Ben's site):

Code: [Select]
Matching Tag Name(text)(Up to 40 Chars|field-below)(|char_nospace)(checkbox:group1,Select to purchase Personalized Matching Tags.,24);
Matching Tag Date(text)(Up 24 Char.|field-below)(|char_nospace)(checkbox:group1);
Matching Tag(select)(|)(Yes [+0.35](checkbox:group1);
Personalized Tag Name(text)(|)(|char_nospace)(checkbox:group,Select to purchase Personalized Tags.,24);
Personalized Tag Date(text)(|)(|char_nospace)(checkbox:group);
Personalized Tag Shape(select)(|)(Select Option,Diamond,Heart,Circle,None)(checkbox:group);
Personalized Tag Design(select)(|)(Select Option,Cupid,Cosmopolitan,Classical,Grecian,Victorian,Contemporary,Baroque,Garden,None)(checkbox:group);
Personalized Tag Color(select)(|)(Select Option,Red,Periwinkle,Pale Yellow,Blue,Light Blue,Ballet Pink,Burgundy,Pink,Lavender,Sage,Hot Pink,Mint,Pearl Gray,Deep Lilac,Coral,None)(checkbox:group,test);
Personalized Tag(select)(|)(Yes [+0.35](checkbox:group);
(select)(|)(No Tags)(checkbox:group2,No tags please.)

What this syntax would look like on a product page you can see here: Link
Is a page on Ben's site so please use it right.

Thanks Ben for sharing this!