![]() |
Vbphrases - how do i register from template instead of php
EDIT : read last post first please.. :D
*** original post *** got some old phrases like this $vbphrase[Euclength] and when i use that it places the lang value for me in english which i have as "length" so now i want to make it work for vb4, cause atm it just shows the actual phrasecode. so i change it from $vbphrase[Euclength] to {vb:raw vbphrase.Euclength} but now it comes up empty as if it dosent retrive the data.. any ideas what im doing wrong ? cause ive changed a few others they came out just fine.. so im guessing my syntax is fine. |
You have to register the phrase group.
Edit: Try it like this. Code:
{vb:phrase Euclength} |
Quote:
came out just fine. |
I edited my post above.
|
1 Attachment(s)
code snippet...
i tryed 3 types where i could only retrive data correctly from the first one vb:raw...... Code:
<tr align="center"> Attachment 107094 and they all contain data, have all been open and save, just in case.. how ewer if i change the Length or convert to vb:raw they come up empty.. only the title have been working.. only change from title to the next part, is the table, and table class for styling. gonna try to remove all the classes just to check.. |
So you are saying that this worked:
Code:
{vb:raw vbphrase.EucTitle} Code:
{vb:phrase Euclength} |
Quote:
if i make this Code:
{vb:raw vbphrase.Euclength} other location and there it worked fine aswell.. So im starting to think maybe my phrases are "broke" going to make some new to test if a new one would work.. :confused: |
You know I started to think the phrases break on upgrade to 4.0 when I had problems the other day. I had to make a new phrase my self it was the only way to get it to work for me.
So yeah I was just about to say delete the old ones and make new ones. Should not have a problem then. When I made my new phrase I just did it like this. Code:
{vb:phrase Euclength} |
1 Attachment(s)
omg.. found out what the hell is going on. . :D
the phrase that are working is registrere as global while the rest are in category for the product. so i need to register the product phrase group to make them work.. see img. Attachment 107095 and since moveing to templates from php i used to call the phrasegroup inside the php file not the template :D $phrasegroups = array('EviUnitConvert', ); any suggestions on calling it in vb4 ? |
Quote:
Quote:
|
All times are GMT. The time now is 10:54 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|