How to change the page title in image window popup in Zen Cart? - zen-cart

please help me to change the page title in image popup window. i'm using Zen cart.
Duplicate title affect the website SEO.
Please try to find out the good solution for me.
Thank you.

you need to change the includes/modules/meta_tags.php. you can change some of the following code:
case 'popup_image':
$meta_products_name = str_replace($bad_characters,'',zen_clean_html($products_values->fields['products_name']));
define('META_TAG_TITLE', 'Image for ' . $meta_products_name);
`

Related

Hyperlink disappearing from Google calendar when closing editing, reappears when in edit mode

I am trying to add a deep link to my calendar with flutter. As deep links don't work on calendar, i hyperlinked them.
When i am in edit mode (of the event, not the text field) i can see it (pic 2), when i am just looking at it, it's gone. It's important to note that if I go back into edit mode, it re-appears! So it has to be stored, just not displayed
Any ideas why? Is this an android bug maybe?
update!
_url = "\n\n\n" + url +" <--- click here \n\n\n test_line";
If I do this here, the "test_line" is invisible, the link is visible, so it appears to be a Calendar issue.
Not an ideal solution so I won't give it as answer.

TinyMCE get form content without using submit button

I'm trying to put TinyMCE on my website. I figured out how to get it to show up, but I'm lost on how to process the content. In their example, they just have a link that references the top of the page and clicking on it somehow magically causes their dump.php script to execute. I don't understand what's going on here. Here is the link:
http://www.tinymce.com/tryit/basic.php
The "Submit" button at the bottom is really a link in a span element with href="#". The form action is dump.php. I want to know how they configured this to run without an actual submit button. Any help in understanding this is greatly appreciated!
To Get Content From Tinymce You Can Use GetContent Method of Currently ActiveEditor Instance
tinyMCE.activeEditor.getContent();
method is used to getting Content .. to Set The Content
tinyMCE.activeEditor.setContent("I Want Text To Be in Tinymce");
to find a perticular element in tinymce get body and find element
var body = tinyMCE.activeEditor.getBody();
$(body).find("#elem_id")
to get a full html
tinyMCE.activeEditor.getDoc().documentElement.innerHTML
hope that helps ..
Since I use PHP, I found this which is also useful:
http://www.tinymce.com/wiki.php/TinyMCE3x:How-to_implement_TinyMCE_in_PHP

how to display my ez-page links?

how to display my ez-page links ?
I create the ez page ,but can not see any links in index. why? how to display it?
If the header, sidebox and footer indicators are on, it should display in your header, sidebox and footer.
Perhaps you changed one of these files or didn't enable the sidebox?
Header: includes/templates/YOUR_TEMPLATE/common/tpl_header.php
Footer: includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
Sidebox: Turn on EZPages sidebox in admin->tools->layout boxes controller
I ran into this not to long ago aswell.
You will have to enter a sort order other then 0 to make it show up anywhere.
I hope this helped.

how to change virtuemart 2 add to cart pop up text

Basically as above,
I have a Virtuemart 2 online site with Add to Cart pop up enabled when it pops up all is well apart form the
View Cart and Continue Browsing links they have no separator in between them, I would like to have
View Cart | Continue Browsing
Ive looked at vmprices.js but have no clue :(
Can some one shed some light please?
Thank you!
Nick
You have to look into these files to customize that popup:
com_virtuemart/controllers/cart.php
components/com_virtuemart/assets/js/vmprices.js
Thanks
Jafer Balti
The actual text that is shown to the visitor is located in:
mysite.com/languages/en-GB.com_virtuemart.ini
Which can be changed, but should ideally be overridden.
This is harder to find than it should be because Dreamweaver does not search .ini files. Use the OS to search.
Additionally, the link for the "continue shopping" button can be changed by overriding the:
components/com_virtuemart/views/cart/tmpl/padded.php
file.

JQGrid - Add buttons to a Form Edit dialog

I have been using JQGrid for about a year now and I love it. Just wondering if someone knows a way to add a button or two that will trigger my own code on a Form Edit page? Not on the grid itself - the edit dialog.
Would I just use the onInitializeForm event?
Thanks!
Jim
I used jQuery to do this. In my case I had a drop-down select item as a field on the edit for and I wanted to add a link next to it. I used the beforeShowForm event.
beforeShowForm: function(form) {
$("#MyDropDownList").after("<a href='#' id='link'>A Link To Something</a>");
},
Hope this helps, even though it's a few weeks late.