The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

linkID

Plus d'informations
il y a 12 ans 6 mois - il y a 12 ans 6 mois #1113 par 0kee
linkID a été créé par 0kee
How does Xerte generate the unique linkID for each page (for example linkID="PG1389703757358")
I notice they are not consecutive, is there a convention to naming them?

The reason I ask is if I create a page directly in the data.xml how do I come up with a linkID? I also want to move some pages from one LO to another. If I do a straight copy/paste will the linkID need to be changed?
Thanks,
Karl
Dernière édition: il y a 12 ans 6 mois par 0kee. Raison: addition

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 12 ans 6 mois #1115 par julten
Réponse de julten sur le sujet linkID
It's the number of milliseconds since Jan 1 1970. If you want to create one, use the same formula
'PG' + new Date().getTime();
Les utilisateur(s) suivant ont remercié: 0kee

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: JohnSmith
Temps de génération de la page : 0.116 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo