Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2096

General Questions/New to Joomla! 5.x • Re: Publish date in all articles but 2?

$
0
0
Thanks for the improved solution, it was very neat and tidy, and seems to work well, except for one thing:

If no date is displayed, no other content after the code above is displayed either. There is a bunch of php code writing out other things after, and they are only being displayed in the articles where the dates are being displayed.

Also, I replaced catid with alias instead. Is that considered bad practice?
If I by accident delete the article(s) or categories with said id's, they will be designated new ones after I re-create them. This is not a huge issue, but if I instead could refer to their respective alias, I wouldn't need to alter the php code in such a case.

Statistics: Posted by SocketPup — Sun Apr 07, 2024 11:48 am



Viewing all articles
Browse latest Browse all 2096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>