Snippet inside ArticlesAnywhere doesn't show

Search
Other Bug Reports questions
Forum

Snippet inside ArticlesAnywhere doesn't show

John Juhl's Avatar John Juhl
Hi,
Inside a RSform text field
I show an “ArticleAnywhere” article.
Inside this article I use a snippet.
But the snippet doesn’t show
(but works inside other articles)

Is this a question for:
RegularLabs?
RSjoomla ?
JCE editor ?

kr. / John.

https://drive.google.com/file/d/19UPz6sI5FOimhJ6OV7FRNCDd3PqFb6nT/view?usp=sharing
Peter van Westen's Avatar Peter van Westen ADMIN
It is probably due to the system plugin ordering. Try changing the ordering of the plugins in question.
See: regularlabs.com/blog/242-plugin-order-is-important
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
Not sure I understand why - but it works,

Thanks, and have yourself a nice weekend 🙂
John Juhl's Avatar John Juhl
Hi Peter,

sorry to disturb you again,

as I mentioned I made it work in Rsforms.

but -

I still experience the problem in this/another setup:

I have an article (used as a a library overview)
inside this article I show "ArticlesAnywhere articles" hidden inside Accordions

In these articles the core article content itself shows - but the Joomla Fields content doesn't show.

Have tried to re-order Plugins in several different ways - with no luck.

Any other things I should try?

kr. John.
Peter van Westen's Avatar Peter van Westen ADMIN
Not sure what you mean with the 'Joomla Fields content'...
Do you have this online so I can take a look?

And do the things that you are missing show when you place the {articles} tag in a normal article (without other stuff around it)?
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
It is not published - so instead I made a short 1 minute explainer 🙂

vimeo.com/841642396/ba18607f32
Peter van Westen's Avatar Peter van Westen ADMIN
If you can reproduce this on an online environment to which I can get access, I am happy to look into this.
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
Please do 🙂

Backend credentials:

Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, so this concerns the Joomla core field plugin. I thought you meant the field datatags of Articles Anywhere.

The core plugin is a content plugin, which has limitations. Especially when using combinations of plugins like you do, the core content plugins just don't get a chance to see the final content that contains the tags.

But seeing you are using Articles Anywhere anyway, why not use Articles Anywhere for these fields?
The syntax is much clearer anyway, as you can use the actual field names, instead of their IDs.

Just surround the whole article in {article}...{/article}
And replace {field 285} with [285-course-description] (and all the others).
I am not sure why you are repeating the IDs in the titles and names of the fields, but that's down to how you want it set up.
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
Great, I'll try to get my head around what you propose 🙂

The reason you see the same article repeated is that I am going to write many articles, one per "Lesson", but just haven't come that far yet...

The setup I intended to use was:

Many "Lessons" articles gathered in one "Library" article using ArticlesAnywhere

The "Lessons" articles would be presented in a uniform way by using a Snippet - to be able to "change things" in all Lessons simultaneously

(I'm used to designing lo-co databases so I very much think in "Records", "Lists", "Forms", and "Fields" patterns)

But thanks for your time,
really appreciate it 🙂
Peter van Westen's Avatar Peter van Westen ADMIN
By the looks of it, the whole article (ID 379) is just a template that shows a bunch of fields. No real content in the editor itself.
So why not place the whole thing in a snippet, and output the fields through Articles Anywhere as mentioned above?
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
Got you.

for me, it has been a matter of how to present the training front-end.

What I'll do now, is that I have taken the rest of the off, to dive deeper into ArticlesAnywhere - and already by now I believe that working with articles, categories and accordions, like you show in the documentation, will save a lot of workflow in the future (if I understand it correctly)

And the deeper I go, the more I realise what a great tool this is - the problem is to "grasp it".

Hope it's ok to get back if I feel stuck...

J-)
Peter van Westen's Avatar Peter van Westen ADMIN
Yup.

Yes, you can do a LOT with Articles Anywhere! ?
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
Hi again,

so I've started the "journey" and for now I have skipped using custom-fields combined with Accordions (because that's the only situation it wont work)
but that is fine - I use Templates instead.

I have come across another problem though:

i attempt to use accordions to show articles and use a tiny image on each accordion... fine and dandy - until I reached the 7th article - then the image disappeared. I have looked for limitations all over the place but can't seem to find anything that should cause this.

Screenshot: drive.google.com/file/d/1PKuyWZhHlN_RiY6...DJf/view?usp=sharing

Link to page: waterproofingpilot.com/index.php/the-home/about-wpp/test12.html
Peter van Westen's Avatar Peter van Westen ADMIN
You are using quotes inside the title. This messes up the syntax.
{accordion title="Look, "quotes" in the title"}
Tabs & Accordions would see the title as being:
title="Look, "

So instead do:
{accordion title="Look, \"quotes\" in the title"}
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
But of course 🙂

Thanks

('' single quotes'' seems to work fine )
John Juhl's Avatar John Juhl
Hi Peter,
sorry to disturb you this close to the weekend 🙂

I still have the Accordions>ArticlesAnywhere>Fields problem - I tried to download your ArticlesField extension, and these fields (links) doesn't show either when used in ArticlesAnywhere (placed inside Accordions)

Would really like this to work - Any suggestions?

/J.
Peter van Westen's Avatar Peter van Westen ADMIN
Can you eliminate the Accordions from the mix?
In other words: do the fields show when you place the Articles Anywhere code outside the accordion?
Please post a rating at the Joomla! Extensions Directory
John Juhl's Avatar John Juhl
Yes - if I open the article using a simple article link, the ArticlesLink field shows - as do the ordinary Joomla Custom fields...
John Juhl's Avatar John Juhl
sorry, was a bit too fast - when I place this snippet inside an article - {article title="11. WPQC PROCESS STEPS (for Project Proposals)"}[article]{/article} - I get a blank page... (the page consists of only two fields - One Joomla Custom Field - and One ArticleFields field)
You can only post on this forum if you log in