[Pro] Webyep How Do I Copy a Document?

I need to copy a WEBYP document. Seems like that should be easy, but I can’t seem to get this to work. I found a hint on their forum, but can’t get it to work. Any help appreciated.

I updated the data/documents file with the new document name:
/index.php 1
/newindex.php 2

Then copied all the data files associated with index.php

1-1-Help
1-2-Contact

etc to

2-1-Help
2-2-Contact

When I try to now access newindex.php I get a 404 error-not found.

Thanks so much for any help you WEBYEPers can offer!
Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walt or Max or anyone?

We have used webyep to develop a help section and now need to do a version 2. Don’t want to have to reenter all the data again, so figured it’d be simple enough to somehow copy what we already have and modify it. But, nothing I’ve tried seemed to work. Nothing helpful on the webyep forum either.

What I thought was my best shot at it - I tried to describe above. I edited the /data/documents file to add the new document, then copied all the webyep files and modified them with the document number change. Seemed reasonable to me, so I must be missing something! Seems like this would be a simple and common thing to do.

Thanks for any help you can offer.
Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

WebYep is generating the identifications for the elements it keeps track of that you duplicated so it doesn’t know the duplicates exist the way you are renaming them. I think you would be better off just having two browser windows open and copy/paste from old WY page into new WY page.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Chuck. The issue is there are many pages and my client is doing the implementation-so I’d love to have some solution that would save the manpower to reinvent what exists now.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Maybe I asked the wrong question. What I need to do is make a copy of an entire WebYep website. Not just one page within a site (which maybe within the WebYep world is called a document?)

I have a main folder, wy-area, which is where I uploaded my freeway/webyep .php files. The webyep-System folder is also in wy-area. Within webyep-system folder is a data folder and a program folder. In the data folder there is a file called documents (which I described modifying above) and what appear to be the webyep pages files. I tried to modify the documents file and duplicate the pages files, but it didn’t work. What am I not understanding?

Can anyone describe or explain how WebYep is doing this stuff under the hood. Maybe then I can figure out how to duplicate a webyep website.

I also tried to just duplicate the entire wy-area folder and that doesn’t seem to work either. When I try to access the website in the new folder-it appears with no data. I am mystified.

Sure could use some help-anyone?
Thanks so much Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It’s not a great alternative but if worse comes to worse why not duplicate the original FW file and all the associated site files and WY stuff and place it in a new folder somewhere and rename it. Then open the duplicate FW file and change the path to the Site Folder to match the duplicate. That’s it. I’ve done it and it works without a hitch. No messing with WY files. Of course the downside is you have a lot of duplicate files. It’s an option though.

Todd
http://xiiro.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Todd,
Why can I not get my head around this??

I copied my entire folder (see above called wy-area) which contains my FW files and all WY stuff. When I access with the new url path name, I see the styled page, but with no WebYep content. So, clearly they are not connecting!

When I look at the FW html, I don’t see a path to the Site Folder. What am I missing? Can you send an example?

I found one line of code which had a help.php reference, so I put in a full path, changed it to a format of what you see below. But, this seems to make no difference.

<?php webyep_menu("Help Home Menu", false, "http://www.mysite.com/subscriberv2/help.php", "_self", "", ""); // WebYepV1 ?>

Thanks so much for any comments.
Jan


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This may help http://www.obdev.at/products/webyep/faq.html

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Joot

Changing or rename a page or in your case moving it to another folder, will result in the link between the page and its WebYep data being lost, and this is because WebYep identifies a page by its URL filename and its path. you also have to remember that if you have moved the webyep-system folder it’s self then from the root of the server then that too will effect the path a swell.

To reconnect you need to do is make a duplicate of the documents file (always keep an original as a back up) and which can be found in file webyep-system/data/documents and open it with a text editor then convert the paths or page ID so they match the new location… so the file in question is named correctly and its path is correct relevant to where the new WebYep location is residing. Its at that point that the WebYep system should find document’s data.

A quick tutorial/example of a simple change would be this:

  1. inside the webyep-system folder is the folder called data and inside that folder is a file called documents
  2. open this file up using a text editor

What you should see is all the webyep pages and there relevant position within the site.
So all you would do is adjust the address of all the links within this documents file…

so for example you would now change this:

/test/index.php 1

to this

/index.php1


If the changes are quite complicated then it maybe easier to do this:

  1. If the changes are not simple, then I would use MAMP on your mac locally and set up an exact folder and page duplicate of your working site within MAMP and then once you have that working then copy the documents file somewhere so its safe.
  2. Then change the folder / file positions as you wish them to be on your server.
  3. Open up the documents file within the data folder within the WebYp system and delete everything.
  4. Then open up a browser and via MAMP add content one WebYep controlled item on the home page
  5. Then look at the two documents files the backed up version and the newly written one side by side
  6. Create a copy of your original again because we are going to adjust it
  7. Using a text editor you will now see the path that WebYep has written on the new Documents file and from that you should be able to see what you would need to adjust within the backed up old Documents file so it emulates what WebYep has written so that all your previous entries within the old documents file can relink to all your data.
  8. Once you have made all the adjustments in the documents file that contains all your file and folder paths then you should be able to pop it back into the data folder again and WebYep should now see all your data.
  9. If it does then you have successfully migarted the system over to the new folder structure which is emulating your server… and it only leaves you to again back up WebYep system on your server for safe keeping and upload the local MAMP WebYep system to your server and give the data folder write permissions.

If you don’t Know what MAMP is or how to install it then here is a tutorial link

I hope this helps
kind regards Max


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sorry about the poor grammar but I am off out for most of the weekend so I didn’t get a chance to re-read what I had written if it dent make sense then let me know

max


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options