I'm building a site with Structure, and in my overall navigation, I'd like to vary the parameter for particular parts of the site. The following works for the majority of my site's navigation: However, there are some sections that will have many (hundreds) of entries that are also at the "fourth" level of the hierarchy that I do not want to show in the navigation.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Mark Busnelli Jr
Avoid spam in contact forms
There's also Low NoSpam, which you use in conjunction with an Akismet license. I started using it on my personal site when CAPTCHAs weren't effective and it reduced spammy submissions to zero. The other advantage to Akismet is you don't need user-unfriendly CAPTCHAs. Even honeypots can be outsmarted by bots on occasion, and they're not effective against human spammers. The one caveat with Low NoSpam on Freeform is that you can't moderate flagged submissions from the CP.
Other structure tags not working inside {exp:structure:nav} tag
I have a scenario where I want 3 levels to show in my main menu, except for one specific level 2 page where I don't want to show its children. But when I replace the hard coded IDs with the structure tag that generates these IDs, it doesn't work: {exp:structure:nav start_from="/" show_depth="3" exclude="{structure:child_ids_for:14}" } Anyone have any ideas?
if:elseif statement not working correctly with PHP
I have a news section on our website and I want to only show the current years articles unless it is January, February or March. Since those months are at the beginning of the year, I don't want the page to not have any content. I have been able to figure out the PHP to get the current date and subtract 2 years (so I can show last year's posts). I also figured out how to do the {if/if:elseif} statements to check which month we are currently in and if it is January do this. February do this.
Clever ways to flag EE entries and comments?
I've been searching, with no luck, for a reasonably priced way to flag EE content for spam. I have found only one, excessively expensive, module which does that. Since spam is such a problem and there is a relative dearth of flagging add-ons for EE, I imagine the other developers are using some clever homegrown tricks to allow users to flag content. I wonder if anyone here has anything to share about this? I would appreciate some hints for doing this myself. Thanks!
URL Redirecting Issues
One quick way you can tell if it's your .htaccess is try updating it to the following.
MSM and EE question (subdomain using main domain's templates)
I have recently installed MSM on my EE build. Both are the very latest. I followed the tutorial all the way through: http://ellislab.com/expressionengine/user-guide/cp/sites/install.html When i visit the subdomain on my local host it shows up fine in terms of the styles being there however when I make an edit to a template via the control panel/or text editor it does not show up on the subdomain. I have all my templates saved out as files.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Mark
Contact Mark, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack