Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
13 posts Page 2 of 2
Hi any suggestions on how to implement this UID into an existing template with pages? I would rather not save each page one by one (couple thousand in template).

Ty
My suggestion would be to create quick script based on the CSV importer (viewtopic.php?f=5&t=8803) and use its 'staggered' approach to save the thousand of pages you have in a jiffy.

If that sounds the way to go, here is an example that does the same to process thousands of thumbnails -
viewtopic.php?f=8&t=9707#p21780

Hope this helps.
Good Morning KK Sir and all Couchies!

I have defined my uid field as:
Code: Select all
<cms:editable name="sl_logid" label="Log Id" type="uid" prefix="SLID-[YYYY][MM][DD]" min_length="5" search_type="integer" begin_from="1" order="1" />

in a clonable template.

But I noticed, the UID is not changing. it remains the same for all cloned pages. I have attached a screenshot showing the issue, it can be seen under LOG ID column.

My Setup (if this makes a difference) is:
Win 10
WAMP
PHP: 8.3.9
APACHE: 2.4.54.2
MySQL: 8.1.0

Regards,
GXCPL (CTR)

Attachments

Image
where innovation meets technology
13 posts Page 2 of 2
cron