Forums / Addon Sideboxes / Admin-Editable Sidebox - Support Thread

Admin-Editable Sidebox - Support Thread

Views: 100,511

Results 41 to 60 of 335
15 Feb 2008, 1:20 PM
#41
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Admin-Editable Sidebox - Support Thread

lj111970:

Turns out that it was simply the fact I had encased my content in paragraph codeOops. That's what I saw too, but assumed this had been done by an HTML editor. Guess I owe them an apology this time, but still don't recommend them. Like you prefer to do my HTML editing by hand and keep clean, lightweight and valid.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

16 Feb 2008, 12:47 PM
#42
lj111970 avatar

lj111970

New Zenner

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
97
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

lol - I agree with you on that one :)

16 Feb 2008, 4:00 PM
#43
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Kuroi,
I am still struggling with making my second sidebox behave. I have the second sidebox showing, but the content is the same as the first sidebox. Did I miss renaming something? The only thing I can think of, is in the ```
tpl_editable_sidebox

I have renamed ALL files for the new sidebox so they end in _2.php
I then changed all references of ```
editable_sidebox
``` within those pages to reflect the changes (meaning I changed all references to *_2.php.

The only page I did no changes to is the ```
tpl_editable_sidebox
``` page.
According to the comment in the page, this is where the new page calls for the new text ```
// this is where the content that you have via the Admin is pulled in.
  $content .= file_get_contents($define_sidebox);

  $content .= '</div>';
```.
Do I need to change something here?
21 Feb 2008, 10:33 PM
#44
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Just wondering if anyone had any ideas on how to get my second sidebox to mind...The content is the same as my first sidebox. it doesn't seem to want to pull it's content from the proper location. See here: http://hiddenhillsnursery.com/shoppingcart/
to see what I mean.

Thanks

24 Feb 2008, 3:56 PM
#45
thewarden avatar

thewarden

New Zenner

Join Date:
Jun 2006
Posts:
17
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

daneh:

Just wondering if anyone had any ideas on how to get my second sidebox to mind...The content is the same as my first sidebox. it doesn't seem to want to pull it's content from the proper location. See here: http://hiddenhillsnursery.com/shoppingcart/
to see what I mean.

Thanks

I'm having exactly the same issue. I've uploaded and used the sidebox, then renamed all of the files locally, and uploaded again to gain a second sidebox. However, when I add content to the second one, and activate it, both of my sideboxes have the exact same content. We're missing one more step apparently. But what??

I've even changed code in all the .php files to reflect the new file names, but I'm getting several different outcomes with everything I try. It just doesn't seem to work.

24 Feb 2008, 5:17 PM
#46
jatocar avatar

jatocar

New Zenner

Join Date:
Feb 2008
Posts:
20
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I just installed an Editable Sidebox to my site and rename it We Accept I want add a Paypay logo in this box, how do I do it ???

Regards:huh:

24 Feb 2008, 5:24 PM
#47
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

There is already a paypal sidebox mod, look for it in the downloads section. Just incase you want to use that editable for something else....

24 Feb 2008, 6:45 PM
#48
jatocar avatar

jatocar

New Zenner

Join Date:
Feb 2008
Posts:
20
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

daneh:

There is already a paypal sidebox mod, look for it in the downloads section. Just incase you want to use that editable for something else....
The Paypay mod in the downloads section is the Paypal Verified Logo, you need to be Paypal Verified to use that logo (yes) ?, I am looking for the standard Logo.

25 Feb 2008, 8:31 AM
#49
grfa02 avatar

grfa02

New Zenner

Join Date:
Jun 2007
Posts:
4
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Thanks for the great contribution!

Is there a way to make it so that the editable sidebox does not appear on the check out pages ?

25 Feb 2008, 10:40 AM
#50
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Jatocar:

The Paypay mod in the downloads section is the Paypal Verified Logo, you need to be Paypal Verified to use that logo (yes) ?, I am looking for the standard Logo.

Replace the "verified paypal seller" title with something you want, then replace the image...don't forget to remove the paypal link.

Are you looking for a sidebox that shows you take paypal? If so, there is a credit card box mod that has a paypal image included I believe.

Check http://mistkits.com/ to see it.

4 Mar 2008, 11:20 PM
#51
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Still having issues with the second sidebox showing the same content as the first.

Anyone have any suggestions?

http://hiddenhillsnursery.com/shoppingcart

7 Mar 2008, 12:30 AM
#53
ironcross avatar

ironcross

New Zenner

Join Date:
Feb 2008
Posts:
23
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

TheWarden:

Ditto here.

daneh:

Still having issues with the second sidebox showing the same content as the first.

Anyone have any suggestions?

http://hiddenhillsnursery.com/shoppingcart

As far as I know, you have to duplicate all the files to your new editable sidebox name ie, editable_sidebox_defines_2.php and so forth.

Then you have to change all the instances within the new files to match your 2nd editable sidebox name.

File is editable_sidebox_defines_2.php

instance: BOX_HEADING_EDITABLE_SIDEBOX
change to: BOX_HEADING_EDITABLE_SIDEBOX_2

instance: DEFINE_EDITABLE_SIDEBOX_NAME
change to: DEFINE_EDITABLE_SIDEBOX_NAME_2

and so forth.

Do that for the file in modules/sideboxes

Here's how I have mine set up

$show_editable_sidebox_2 = true;

$define_sidebox = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', DEFINE_EDITABLE_SIDEBOX_NAME_2, 'false');

if ($show_editable_sidebox_2 == true) {
require($template->get_template_dir('tpl_editable_sidebox_2.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_editable_sidebox_2.php');
$title = BOX_HEADING_EDITABLE_SIDEBOX_2;
$title_link = false;
require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);

After I did all this, it worked. 2nd I had to upload all the files. individually because I have a template monster template. I know...shame on me.

https://www.wildsociety.com

On my website where it says Los Angeles, New York, Chicago, San Francisco on the right and Authorize.net on the left are two separate editable sideboxes.

Hope this works for you.

7 Mar 2008, 2:02 AM
#54
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Thanks ironcross,

I will compare the code you supplied with what I have. I have done all the renaming and the sidebox shows up, but it is drawing it's content from the first define_editable_ sidebox_content.php file. I need to figure how to make it draw from the second defines page.

I will see if I missed something by comparing the codes.

Thanks

24 Mar 2008, 12:59 AM
#55
jimbofoxman avatar

jimbofoxman

New Zenner

Join Date:
Mar 2008
Posts:
28
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I got mine to work for a second instance, EXCEPT I am getting the same header name.

Any thoughts?

http://www.flagshipmodels.com/zencart

26 Mar 2008, 11:13 PM
#56
faith avatar

faith

New Zenner

Join Date:
Mar 2008
Posts:
13
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

daneh:

Hello Kuroi,

Absolutely great Mod!! I have one question though. Well two actually.

After following the instructions about where to put the new pages, going to admin and turning the sidebox on, I went to the define pages editor and the define_editable_sidebox_content.php file was not in the dropdown list. I triple checked everything according to the supplied instructions, but still not showing. I had copied it to ```
includes/languages/english/html_includes/future_zen/define_editable_sidebox_content.php

> Just for :censored: and grins, I copied it to ```
includes/languages/english/html_includes/define_editable_sidebox_content.php
``` , refreshed, and it was in the dropdown.
> 
> Here is the funny thing: when I went to edit it, I noticed the path just above the editing screen. ```
includes/languages/english/html_includes/future_zen/define_editable_sidebox_content.php

Is this something I need to worry about? I have done all the overrides ( as far as I can tell), but I am not sure of that file because it didn't show up till I put it in ```
includes/languages/english/html_includes/define_editable_sidebox_content.php

> 
> OK, may have figured it out...wrong CMOD. That would do it right?
> 
> Question two: As far as adding more than one sidebox, is there a FAQ, post or anything telling which files need to be changed to allow more than one so there won't be a conflict? Just a nudge in the right direction will be great. Keep up the great work.:smartalec:

I had the same issue as in your first question and found that my problem came from the editable_sidebox.php file (includes/modules/sideboxes/editable_sidebox.php) so I thought I would share in case anyone else faces this. 

**Look at like 15 which reads:**

$define_sidebox = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', DEFINE_COMEDIANS_SIDEBOX_NAME, 'false')



**After '/html_includes/ I added the name of my override folder so that it looks like this:**


$define_sidebox = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/custom/', DEFINE_COMEDIANS_SIDEBOX_NAME, 'false')



Now I am able to store all of my files in the appropriate override folders and edit via admin.:clap:

Sorry, I don't know how to put the code in the nice little window that scrolls inside of this post. LOL, I don't even know how to describe what that box is called. If anyone feels like sharing that information, I will be happy to post that way in the future.

Have fun!!! 

Faith
28 Mar 2008, 3:05 PM
#57
tropheus avatar

tropheus

New Zenner

Join Date:
Jun 2004
Posts:
25
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

Hi,

What's the best way to place a link to a new page into the sidebox I have tried:

$content .= '<?php echo '<a href="' . zen_href_link( PAGE_NAME, '' ) . '">Link Text</a>'; ?>';

It does not like it?

28 Mar 2008, 8:24 PM
#58
daneh avatar

daneh

Zen Follower

Join Date:
Dec 2007
Location:
Southern Maine
Posts:
268
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

I just used the ```
<a href="www.yoursite.com">YOUR TEXT</a>


I am still having the issue with my second box showing the same content as the first....any one?????????

<http://hiddenhillsnursery.com/shopping> cart
28 Mar 2008, 8:30 PM
#59
faith avatar

faith

New Zenner

Join Date:
Mar 2008
Posts:
13
Plugin Contributions:
0

Re: Admin-Editable Sidebox - Support Thread

daneh:

I just used the ```
<a href="www.yoursite.com">YOUR TEXT</a>

> 
> I am still having the issue with my second box showing the same content as the first....any one?????????
> 
> <http://hiddenhillsnursery.com/shopping> cart

I was having the same problem so I went through each of the files again and searched for the word 'editable'. I eventually stumbled across one that I had missed. :oops:

Are you sure that you haven't missed one somewhere too? If that isn't the case, then I don't have the knowledge to help you...wish I did.
28 Mar 2008, 8:33 PM
#60
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Admin-Editable Sidebox - Support Thread

Tropheus:

What's the best way to place a link to a new page into the sidebox I have tried:

$content .= '<?php echo '<a href="' . zen_href_link( PAGE_NAME, '' ) . '">Link Text</a>'; ?>';

It does not like it?It doesn't like it because you have copied code that is intended to be inserted into a non-php area and therefore has php tags, into an area that doesn't need them.

You only need:

$content .= '<a href="' . zen_href_link( PAGE_NAME, '' ) . '">Link Text</a>';

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)