Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Does Magento cache third party folder and files?
I have some WordPress blogs in the Magento root folder, will Magento attempt to cache them?
If it is possible how can I achieve it ?
No.
Magentos caching is object based, not folder based.
To see how Magento implemented its major caches see the classes:
Mage_Core_Model_Config // CONFIG
Mage_Core_Model_Layout_Update // LAYOUT_GENERAL_CACHE_TAG
Mage_Core_Block_Abstract // BLOCK_HTML
Mage_Core_Model_Translate // TRANSLATE
Mage_Core_Model_Resource_Db_Collection_Abstract // COLLECTION_DATA
Mage_Eav_Model_Entity_Attribute // EAV_ATTRIBUTE
Enterprise_PageCache_Model_Processor // FPC
No, as it's not part of Magento.
its odd that we need to type at least 30 chars to say "no, it will not cache them"
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I'm new to magento. I need to implement Select box on top of site. It must be on every page. Depends on that select on product page will change additional information so people can choose if they like metric or imperial. You can see product page:
http://www.vetus.com/boat-windows/portholes/vetus-porthole-aluminium-category-a-iii-incl-mosquito-screen-8063.html
Thanks for help! Sorry for grammar mistakes.
The best way doing this would be to create two different store views (metric and imperial) this will serve your purpose without involving into too much of programming.
However you could well do this using sessions.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have looked at various ways of saving data. I have a 'Products' class which has properties such as ID, Name, and Price. What is the bast way to save this data as new products are added to the application? Should I be looking at databases, arrays, or both, or something else?
Temporary : Arrays, Dictionary with a model.
Permanent : Plist, CoreData-SQLite, Server(ex-Java)-Database(MySQL, Oracle...).
Even for permanent you need Arrays/Dictionaries of model.
Now choice is yours, how you want to proceed.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Is there a quick and clean way to add a rel link in the head section of Magento.
Examples would include home,index,next,prev,canonical.
I'd like to be able to do this from either a helper, block, template.
See this for more information
http://googlewebmastercentral.blogspot.com/2011/09/pagination-with-relnext-and-relprev.html
You should search in magento core code, for example the one that handles REL canonical tags : class Mage_Catalog_Block_Category_View :
In a block for example :
$headBlock = $this->getLayout()->getBlock('head');
$headBlock->addLinkRel('canonical', $category->getUrl());
but you can do that wherever you can access a loaded layout.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have a website where I have used joomla with virtuemart. I have added a custom field Where field type is Cart Variant. But problem is I don't want to display the price in the drop down select option. You can see it from this screen short (http://i.stack.imgur.com/yCx3a.jpg) or (http://awesomescreenshot.com/011ih9ue8)
I want to remove the red mark item. Anyone can help me please.
After a long try I got the solution. I am using joomla 2.5.7 & virtuemart v2.0.12. Just follow this:
Go to:
administrator/components/com_virtuemart/models/customfields.php & find the following line it may be line number 871:
$productCustom->text = $productCustom->custom_value . ' ' . $price;
Delete . $price & that's all :)
Please be more specific, this issue is related to virtuemart, the best way to get an answer is to ask it on official site forum.virtuemart.com.
What version of joomla and virtuemart are you using?
On Back-end in virtuemart configuration you can set not display price, have you tried this?
If this won't work, you will probably need to make template override, usually located in components/com_virtuemart/views/productdetails/tmpl/default_showprices.php
Without more info I'm not able to answer your question better.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
If i have such links in my site (i am using mvcsitemap):
http://mysite.com/coollink
http://mysite.com/coollink#contanttab1
http://mysite.com/coollink#contenttab2
If i want to submit site map to google for example, should i use the links with # in mysite XML sitemap? or better not to use them in sitemap XML?
Because in such case there would be 3 links to the same resource as i understand and it is not so good for SEO? could some one correct me if i am wrong.
As far as I know so far, hashes will be ignored by most of the search engines and they have no use for SEO. It is user more for internal page navigation or some sort of JavaScript actions.