Cannot open a link in new tab - ajax

I am trying to fix this problem, can anyone suggest me what is occurring this ?
http://ls3b.ch/
This website is build in wordpress, there are some links here which opens in the same page but opening in the new tab will return only these contents, http://ls3b.ch/work/mr16-gu5-3/

Before I answer the question, I noticed that your hierarchy is a bit out, if your using custom post types, you will probably need to do some rewrites to fix that up so your SEO isn't effected too much.
As for your problem about the links, I clicked on every link I could find and couldn't get to the page you linked to as being the problem. It might just be stored in your cache and needing to be cleared.

Related

Liferay 7: Is it possible to get an image for from a linked site to a sitemap automatically?

Liferay 7.3.2.
I'm using a sitemap to create link boxes that link to other pages in the website. Links and names and all else is basic stuff, but I have no idea, if and how I could get images for the boxes.
Asset publisher would've been my first choice, as I've done similar stuff before with them, but I can't find a way to add pages to the publisher, so I'm not sure if it's viable here. Of course, I could create an asset publisher that would ask for a name, image and a link, but this should be automatic to avoid extra hassle.
Sitemap allows for automation, if you just map the page correctly, but getting the image would still be a problem.
Navigation menu I haven't really put much thought into, as there will be many pages with link boxes and would be really hard to control. The image would be a problem as well.
The optimal solution would be to get the image from the page the link takes the user to, but if that's impossible, I wonder if there's a way to give webpage an image, that could be shown here.
Got it working with a bit of looking around! This can help with same kind of problems others might be facing, so I'll gladly answer this myself!
From Admin panel, go to Settings and Additional Fields
Select Page and add a field to it. After filling the details, you should be able to see this field in the page settings for every page.
Go to page settings and fill out your info. In my case, I created a text field, that will be used for image URLs.
Finally, in your Application Display Template, you can find the field by writing:
${entry.getExpandoBridge().getAttribute("Extra field")}, Extra Field being the name of your field. Remember to put conditional statements, if necessary!

Wrong URL used when accessing article through a module

I have an annoying problem and am hoping someone will be able to help.
We use quite a few extensions on our Joomla site (Roksprocket mainly but also Global News Filter for instance).
The modules themselves are working fine however when I click on an article in one of these modules the article opens but it doesn't use the nice URL that should be displayed (we have Search Engine Friendly URLs set to Yes and Use URL rewriting set to Yes). This happens for all modules that draw off a category (so I don't think its linked to a specific extension).
For instance on our Case Studies page if you click on Read More on the RSA Case Study you get this URL
http://www.assima.net/en/resources/case-studies/99-home/resources/case-studies/ats-case-studies/649-case-study-rsa
but what you should get is the menu item URL associated with this article which is this
http://www.assima.net/en/resources/case-studies/ats-case-studies/rsa
I don't think there is anything wrong with our .htaccess as I reverted back to the default Joomla one and it still occured.
Also this used to work perfectly. I first noticed it around October or November last year.
If anyone has any ideas I would really appreciate it, I've googled the problem many times and not found any help.
Thanks
Emma
FIXED.
Due to a Joomla bug. Fixed by overwriting the route.php file as described in this post: http://forum.joomla.org/viewtopic.php?f=625&t=831007&start=30

malware text show up intermittently in my joomla site content

My joomla site infected with some malware but i dont know how to rid with this..its appearing sometimes in site but its still showing in google cache of site. below is the link of google cache website :
http://webcache.googleusercontent.com/search?q=cache:V5KCr9zRmCkJ:www.highwaysafetygroup.com/index.php%3Foption%3Dcom_content%26view%3Darticle%26id%3D64%26Itemid%3D70+&cd=6&hl=en&ct=clnk&client=firefox-a
Below is actual site link : www.highwaysafetygroup.com
can any help me out?
First thing to do is add &tmpl=component to the URL has has the problem. If the problem goes away, then the problem is in a module somewhere. If not, then switch templates. If the problem goes away, check your template files. Next turn off javascript in your browser and see if the problem persists. If it goes away, then the problem is javascript inserted in to your database.

Remove a page form recommendation box

I have recommendation box on my site.
There was one popular page, that doesn't exist any more.
But it still appears in recommendation box.
How can I remove this page from plugin?
Try going to Page settings > Basic Information, and unchecking Show this map where your location info is.
It doesn't make any sense, but seems to solve the problem.

No Magento Header & Custom Navigation

I can't seem to figure out how to disable the header as a whole. I have installed the blank theme, and have been playing in the page XML, but to no avail. I also cannot seem to switch from 2columns-right to 2columns-left, even though i've run searches for every damn file that includes the phrase and swapped it. I'm wondering if it's just not displaying to me, but I've disabled my catch, repeatedly clear it, and have even tried disabling cookies. Anyway, once all this is done, how do i add static pages and my own navigation.
Sorry I know this covers several questions, but I have been tirelessly searching and experimenting on my own to no avail.
thanks!
I can answer the part about adding new static pages.
Go to Admin , Under CMS->Manage Pages ... choose add new Page
Well, I have some of the problems. I did lots of modification to default/mystore/layout/something.xml but saw nothing happen in the frontend.
Then I did the same modification in default/default/layout/something.xml and now changes where done.
For now for me it seems that I can only modify template files in default/mystore/template but not layout files in default/mystore/layout.
Maybe your issue is the same, that Magento is using the default files and not your theme files?

Resources