Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

[Solved] labels.txt

  • nyc212
  • nyc212's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 10 months ago - 13 years 10 months ago #38746 by nyc212
[Solved] labels.txt was created by nyc212
ok i know this is a comon issue but i have not been able to solve even after reading 3 hours of threads. pls give me hand.
SIG Pro does not generate label.txt and when i creat it myself it doesnt work pls help.

dardoselectronicos.com/index.php?option=com_k2&view=item&layout=item&id=35&Itemid=149

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 10 months ago #38747 by Yiota
Replied by Yiota on topic Re: labels.txt
SIG Pro does not generate labels.txt file if you use it for K2. Only if you use it the old way with the tags the file is generated automatically. You need to put the file manually to the path of each gallery in media/k2/galleries/gallery item id/

Please Log in or Create an account to join the conversation.

  • nyc212
  • nyc212's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 10 months ago #38748 by nyc212
Replied by nyc212 on topic Re: labels.txt
ok. but do i have to create the /gallery id directory?

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 10 months ago #38749 by Yiota
Replied by Yiota on topic Re: labels.txt
No. The directory will be created once you upload a K2 gallery to the item. The folder name will be the item's id.

Please Log in or Create an account to join the conversation.

  • nyc212
  • nyc212's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 10 months ago #38750 by nyc212
Replied by nyc212 on topic Re: labels.txt
sorry for being a newbie but thats not the case for me. it hasnt created any directory. but now all of a sudden the labels.txt file was generated in the original media folder;

images/stories/myfolder.

i modify the the labels.txt file and save it. filezilla saves it in /media/k2/galleries but no gallery item id directory was created and the modifications i made on the labels.txt file are not reflected on the frontend.

im doing something wrong right?

Please Log in or Create an account to join the conversation.

  • nyc212
  • nyc212's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 10 months ago #38751 by nyc212
Replied by nyc212 on topic Re: labels.txt
ok, this is where i am currently at;

1-the labels.txt file that SIG pro generated in the original media directory is in ansi file format.

2-when i edit the file and save it as a utf 8 file filezilla saves it in /media/k2/galleries. it seems that k2 is not creating the galery item id directory.

3-if i try to save the modified labels.txt file as an ansi i get permission denied error.

:(

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 10 months ago #38752 by Yiota
Replied by Yiota on topic Re: labels.txt
Did you upload a zip file to a K2 item at the image gallery tab? If yes, when you open the file do you see the thumbnails at that tab? If not, check the permissions on your media folder. When a gallery is uploaded correctly, in media/k2/galleries/i.e.34, you will find your images.

Please Log in or Create an account to join the conversation.

  • nyc212
  • nyc212's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 10 months ago #38753 by nyc212
Replied by nyc212 on topic Re: labels.txt
ok i started from scratch using the image gallery tab and successfully uploaded a zip with 4 images.

created labels.txt file.
the first image doesnt show any caption while the other three do.

why is that?

is this the only way to use SIG Pro with K2 or can i embed into item which was i was doing earlier with {gallery}myfolder{/gallery}??

thx so far u have been really helpful :)

Please Log in or Create an account to join the conversation.

  • nyc212
  • nyc212's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 10 months ago #38754 by nyc212
Replied by nyc212 on topic Re: labels.txt
what could be the reason for the first image not to have a caption?

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 10 months ago #38755 by Yiota
Replied by Yiota on topic Re: labels.txt
Check the file not to have any spaces before the first image declaration.
You can use the tags to load a gallery, but you will have to upload your images manually at images/stories/ folder.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum