| RTML Questions RTML is the backbone of Yahoo! Store. Feel free to ask our talented programmers any questions you may have about RTML. |
![]() |
|
|
#1 (permalink) |
|
Status: Junior Member
Join Date: Jun 2008
Posts: 6
![]() |
Can anyone point me in the right direction were to find a good place online to learn about RTML Template editing. I just don't understand the whole Complex to Simple thing and how to make it work with another Complex or "Operator"?
Thanks, Adam |
|
|
#2 (permalink) |
|
Status: Junior Member
Join Date: Jun 2008
Posts: 6
![]() |
We I make a template and try to add the TEXT and press edit and put the code in the type section and hit update, it restores back to the original default type. Here is what I'm looking to make...
HTML Code:
TAG-WHEN tag GRAB
TEXT "a rel=\ "nofollow\ " "
TEXT "href=http://edit.store.yahoo.com/RT/NEWEDIT."
TEXT LOWERCASE GRAB
TEXT account
TEXT "/"
TEXT TO id
test :t
SHIM height 10
width 10
Thanks, Adam |
|
|
#3 (permalink) |
|
Status: Super Moderator
Join Date: Feb 2008
Posts: 122
![]() |
Adam what do you mean by type section and your code looks fine, I think I am not understandign what exactly you are trying to do. If you could elobrate on what you are trying to achieve I can probably help you with it. The code you are trying to write seems like a hiden pixel that will let you enter into the store editor by clicking it.
__________________
Sunil Lukose Solid Cactus - Manager, Product Development |
|
|
#4 (permalink) |
|
Status: Junior Member
Join Date: Jun 2008
Posts: 6
![]() |
Yes that is what I am trying to achieve but for what ever reason the link is not link able on the pages.
If you open one of my store pages "TotallyMotorsports.com" and press CTRL+A or edit select all on the bottom on the body on the site you will see a little box. That is suppose to be the link, but its no right. I go this code out of a book called "YAHOO STORE TIPS AND TRICKS" Second Edition from Ytimes. Thanks for the help! Adam |
|
|
#5 (permalink) |
|
Status: Super Moderator
Join Date: Feb 2008
Posts: 122
![]() |
Try not to add spaces after \ so your line should look like
TEXT "a rel=\"nofollow\" "
__________________
Sunil Lukose Solid Cactus - Manager, Product Development |
|
|
#6 (permalink) |
|
Status: Junior Member
Join Date: Jun 2008
Posts: 6
![]() |
That didn't work. I think my problem is that I'm missing the "test :t" in the code. How do I go about adding this. When I add a text and right test :t it goes back to nil. If I leave it blank and just add a text and replace it removes the arg?
Thanks a ton for your help! Adam |
|
|
#7 (permalink) |
|
Status: Super Moderator
Join Date: Feb 2008
Posts: 122
![]() |
Test is part of TAG-WHEN operator and will display if it has value filled in if not it won't but when you click TAG-WHEN and hit edit you should be able to see it. You seem to be not providing proper string to TAG-WHEN and that's what seem to be causing issue, to test it start with simple string like a href=\"home.html\" and see if it shows, then take next using grab and then add multiple lines and so on.
__________________
Sunil Lukose Solid Cactus - Manager, Product Development |
|
|
#8 (permalink) |
|
Status: Junior Member
Join Date: Jun 2008
Posts: 6
![]() |
Sorry, I just can't get it to work and I have the test :t in there. I don't want to waste any more of your time, but I do have one other issue with a RTML code in my site the items thumbnails are cutting off and I don't know how to fix it. It happened right after I installed the click to enlarge code. Any idea on how to fix this?
Thanks a million for your help again, Adam |
|
|
#9 (permalink) |
|
Status: Super Moderator
Join Date: Feb 2008
Posts: 122
![]() |
Can't help you much without seeing the RTML code that displays the thumbnail on product page. This seems to be causing because of the click to enlarge template
__________________
Sunil Lukose Solid Cactus - Manager, Product Development |
|
|
#10 (permalink) | |
|
Status: Solid Cactus Team Member
Join Date: Mar 2008
Location: Berwick
Posts: 15
![]() |
Quote:
Don't give up. Try posting the first code - the RTML in the state you have it now - maybe someone else will see something in there. Also, can you post an example of the full lib path to your image that you're using on one of the item pages, along with a link to that item page? Maybe there's something we can see in there with regard to the height and width that will jump out. Finally, is it possible that the click to enlarge code is depending on some variable or something else? Something has to be making that image a different size than it is - if you just write out an image tag with no height or width, it would show the full image. something is changing that. Don't give up!!!
__________________
George A Sisco III Solid Cactus - Web Developer, SPG |
![]() |
| Tags |
| code, complex, operator, rtml, templates |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|