internal~Join Group X!~Come join our formerly top secret group.~https://example.com/~group-x
… then checked with both an anonymous session, and also by impersonating a non-admin and non group-x member user account. Unfortunately neither preview showed up including this second confirmation one. For my admin account, it looked OK, appearing directly above the “internal” slug category, as expected, with the correct link destination, etc.
We do have some things that aren’t quite normal seeming with respect to category displays, so it’s possible this is related to that, unless other folks end up finding a similar type of non-expected behavior.
It is odd that it would display for the admin, but not for the other users that should also see it. Just to be sure, your internal category is visible to anons and non group-x users?
Thanks for that clue! I had misunderstood the purpose of the first field in the string. I had been using the “members only category” associated with group membership.
Once I changed the first field to an existing, public, open-to-everyone category, everything worked as expected.
news~Join Group X!~Come join our formerly top secret group.~/pub/membershipinfo~group-x
TLDR (for how my brain interpreted it) - I needed to understand that the first field is where you want the “preview” advertisement to appear in the category list. (In this case, just above the public “news” category.)
أنا أقدر حقًا قولك هذا. كنت أعتقد أن “slug” الفئة في الإعدادات كان لفئة خاصة موجودة كنت أرغب في سحبها إلى قائمة الفئات. بدلاً من ذلك، أدركت أن مكون السمة هذا يسمح لنا أساسًا بوضع رابط مخصص فوق فئة معينة في قائمة الفئات وأن الرابط لا يجب أن يكون متعلقًا بفئة موجودة. على سبيل المثال، قمت للتو بوضع welcome~Visit Google!~This is just a custom link in the category list~https://www.google.com وعمل.
أتفهم أن slug هو الخاص بالفئة الموجودة أسفل تسمية الفئة الوهمية هذه مباشرةً. ثم يجب أن تكون هناك فئة يمكن الوصول إليها أدناه.
هل هناك طريقة لوضع التسمية الوهمية في أسفل القائمة؟ هل هناك slug خاص مثل at-last أو شيء من هذا القبيل يسمح بوضعه تمامًا أسفل كل شيء؟
تعديل: لقد وجدت حلاً.
لقد أضفت فئة وهمية لا يمتلك فيها أحد حقوق الكتابة ولكن الجميع لديهم حقوق القراءة. أقوم بإخفاء هذه الفئة باستخدام CSS display="none"، وجعلتها تظهر في النهاية. هذا غير مُرضٍ تمامًا ولكنه… يعمل بشكل رائع.
هذه مكون رائع، ولكني أواجه بعض المشاكل معه حيث لا يقوم بإخفاء الفئة الفعلية. لقد جربت هذا بحساب غير إداري وكزائر مجهول. فيما يلي ما أراه مع إعداداتي. هل أفعل شيئًا خاطئًا أم أن هناك خطأ؟
beginners~Beginners Feedback~A place for beginner photographers to share their images and get feedback in a comfortable atmosphere with other beginners. Experienced members of NPN will give feedback to help guide beginners in their photographic journey.~/g/Beginners~Beginners,Beginner_Support
تقوم بتكوينه لعرضه عن طريق إدخال فئة يمكن للمستخدمين رؤيتها. إنه مربك بعض الشيء (اضطررت لقراءته عدة مرات). أعتقد أنه يجب أن يعمل في حالتك. (لاحظ كلمة “مهم” في وصف حقل التكوين)
أرى أن هذا يبدو متوافقًا مع “صناديق ذات فئات فرعية”، ولدي ذلك يعمل في تثبيتي، ولكن بمجرد تمكين سمة الهواء تختفي معاينات الفئات. هل هناك طريقة لجعل هذا يعمل مع تلك السمة؟ شكرًا لك!
لقد بدأت في إجراء بعض التصحيحات ويمكنني رؤية أنه يدخل في هذه الكتلة ويجب أن يضيف previewData للعرض، ولكنه لا يظهر حتى في مخرجات HTML على الصفحة.