Post by CodeBits » Tue Jun 15, 2010 4:03 am

The Directory Module a clone of the Information module has been ported over to 1.4.7 and is available for download

This module is for the DEFAULT installation of OC 1.4.7. This module has not been ported over for 1.4.8 as yet but it should work if you disable tokens for this module, use at your own risk. I'll port one for OC 1.4.8 a little latter. I haven't even installed 1.4.8 yet.

Demo of this module can be viewed here.

Very simple to install, just follow the simple Readme.html file.

User avatar
Active Member

Posts

Joined
Fri Jun 05, 2009 3:16 am

Post by diggydog » Tue Jun 29, 2010 6:53 pm

Hi Codebits,

I am aware your module has not been ported to 1.48 yet and apologise in advance for any frustration my post may cause. I decided to upgrade to 1.48 after carefully consideration as the benefits seem to far outweigh the potential issues and I have to say all has gone pretty well considering. I downloaded the 1.47 version and applied the suggested changes to accomodate the token system and the directory module was working well until today when I have come across a really strange snag.

When using the directory links the url is being written with & rather than & which in turn causes the link to fail.
"http://www.******.co.uk/index.php?route=directory/directory&directory_id=8"
"http://www.*****.co.uk/index.php?route=directory/directory&directory_id=8"

This is only occurring with the directory module links.

I appreciate that this may not be directly an issue with the module but do not really know where to start to look to rectify it so any guidance would be appreciated.

Thanks
Last edited by diggydog on Fri Sep 17, 2010 7:55 pm, edited 1 time in total.

Diggydog
http://www.promoteyourproducts.co.uk


Newbie

Posts

Joined
Thu Apr 29, 2010 6:24 pm
Location - UK

Post by CodeBits » Tue Jun 29, 2010 10:40 pm

Go to catalog/controller/module/directory.php and find;

Code: Select all

foreach ($this->model_catalog_directory->getDirectorys() as $result) {
      		$this->data['directorys'][] = array(
        		'title' => $result['title'],
	    		'href'  => $this->model_tool_seo_url->rewrite(HTTP_SERVER . 'index.php?route=directory/directory&directory_id=' . $result['directory_id'])
      		);
    	}
Replace the & in the link code with & and you should be back in business.

I have already fixed this in the zip file back around the 21st of the month, you must have downloaded the module before I fixed it and put up a new zip file.

User avatar
Active Member

Posts

Joined
Fri Jun 05, 2009 3:16 am

Post by diggydog » Tue Jun 29, 2010 11:21 pm

Hi Codebits,

Thanks for the quick reply, problem resolved and very much appreciated.

Diggydog
http://www.promoteyourproducts.co.uk


Newbie

Posts

Joined
Thu Apr 29, 2010 6:24 pm
Location - UK

Post by Stephanie_42 » Sat Sep 18, 2010 2:50 am

Hi,
I’ve just downloaded Directory Module 147 and installed it into my 1.4.9.1 open cart.

while everything loaded and looks/works fine for some reason i can’t stay logged in to the admin panel. I have to log in each time i navigate to a new page.
if you have any information why this may be happening, and how i can fix it I’d appreciate any info you could give. I admit i didn’t see any info on whether this module was compatible with this open cart version or not.

Newbie

Posts

Joined
Tue Sep 14, 2010 6:29 pm

Post by Moggin » Sat Sep 18, 2010 7:39 am

It's possible this results from the admin token system, introduced in 1.4.8. Try going to the admin panel, then system > settings > server, & scroll down to 'ignore tokens on these pages'. Check the box next to the new module, and save.

If this solves the problem, you can implement a more permanent fix by following these instructions:
http://forum.opencart.com/viewtopic.php ... =22#p77773 ...Backup first, as always.
Just a suggestion - come back to the forum if it doesn't help.

Active Member

Posts

Joined
Wed May 05, 2010 4:56 am
Who is online

Users browsing this forum: No registered users and 5 guests