tompanton
Forum Replies Created
-
Adding the remove_action code listed above just get’s my TEC templates ignored altogether. After I added this code, my events listing became just a typical category listing using the standard category.php template with working sidebars.
FYI, I made a copy of the TEC “views” folder within my theme folder and renamed it “events”. That all works fine, but my sidebar never gets populated.
I’m at a loss here. Any ideas?
Thanks
Forum: Plugins
In reply to: [Frontpage-Slideshow] [Plugin: Frontpage-Slideshow] Open link in new windowI created a new template as Jeff suggested and modified the frontpageSlideshow function to test if the link is an indexOf the site’s URL. If it isn’t, then I added a target, “_blank” attribute to the link. Here’s the code:
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Plugins
In reply to: [Frontpage-Slideshow] [Plugin: Frontpage-Slideshow] Open link in new windowThat does in fact work. Unfortunately, what I need is a way to selectively choose which slides open in a new window.
I guess I will need to figure out how to run a regular expression function on the fs-link parameter to determine if the link is an internal or external link. I’m okay with all external links opening in a new window. I’ll post the solution if I can figure it out (regular expressions are not my strength). If someone else is a regex wiz, please post a solution here.