unique template Pro v2.x - eSyndiCat User Forums
eSyndiCat User Forums esyndicat directory software esyndicat support

Go Back   eSyndiCat User Forums > eSyndiCat Directory Software [FREE] > Bug Reports

Bug Reports "Brrr! Bugs!" Yes, we do hate them as well. But nothing is perfect in this world and if you found a bug let us know so that we can make eSyndiCat Directory Software even better.

Reply
 
Thread Tools Display Modes
Old 01-13-2007   #1
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,362
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default unique template Pro v2.x

As an example. I create a unique template at browse.
When I click make unique, It doesn't tell you to create a new "index0.tpl" file.

It just shows a message "Category will use unique template now."

Pro v2.x
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg is offline   Reply With Quote
Old 01-14-2007   #2
Dave Baker
 
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,567
Dave Baker is on a distinguished road
Default

Hello Greg,
Yes, small bug but causing the big troubles.
***Open admin/browse.php and find code***
PHP Code:
if ($_GET['action'] == 'unique')
{
    
$gAdminDb->setUniqueCategory($_GET['id']);
    
$msg $gDirLang['category_unique'];

***Replace with the following code***
PHP Code:
if ($_GET['action'] == 'unique')
{
    
$gAdminDb->setUniqueCategory($_GET['id']);
    
$msg $gDirLang['category_unique']." Please create a new \"index{$_GET['id']}.tpl\" file";

***Save file***
Dave Baker is offline   Reply With Quote
Old 01-14-2007   #3
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,362
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

Thanks Dave

I will apply it. I take it this will be fixed in the Feb. 1 update?
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg is offline   Reply With Quote
Old 01-14-2007   #4
Dave Baker
 
Join Date: Jul 2006
Location: St. Petersburg
Posts: 2,567
Dave Baker is on a distinguished road
Default

Yes, of course Greg
Dave Baker is offline   Reply With Quote
Old 02-06-2007   #5
gitschi
 
Join Date: Mar 2006
Posts: 40
gitschi has disabled reputation
Default DONT work !!!

Message after doing the unique job: (Vers.2.1)


Message: Category will use unique template now. Please create a new "index.tpl" file

ERROR: If you do this ALL files use the same (index.tpl) - stupid!!!

PLEASE can you fix the error for the correct functionallity ???

Like:
index01.tpl
index02.tpl
index03.tpl etc as in the version 1.2 !!!

THANKS gitschi

Last edited by gitschi; 02-06-2007 at 12:37 PM.
gitschi is offline   Reply With Quote
Old 02-06-2007   #6
Sergey Ten
eSyndiCat Lead Developer
 
Sergey Ten's Avatar
 
Join Date: Apr 2006
Location: Kyrgyzstan, Bishkek
Posts: 6,596
Sergey Ten is a jewel in the roughSergey Ten is a jewel in the roughSergey Ten is a jewel in the roughSergey Ten is a jewel in the rough
Default

Hello gitschi!

Try to apply the Dave's code. And post the result.
Sergey Ten is offline   Reply With Quote
Old 02-07-2007   #7
gitschi
 
Join Date: Mar 2006
Posts: 40
gitschi has disabled reputation
Default

I tryed but it DONT WORK - did you read the tickets in the supportdesk?


KR gitschi
gitschi is offline   Reply With Quote
Old 02-07-2007   #8
Michael Hill
eSyndicat Support Team
 
Join Date: Sep 2006
Posts: 727
Michael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the roughMichael Hill is a jewel in the rough
Default

It is upset, but the same bug in 2.1

For fix it :

In advance to Dave's code please add follow mods:

**Open admin/browse.php and find follow code (41 line)**

Code:
unset($_GET['id']);
**Cut this string and paste after next code (line 67), as it shows below:**

Code:
	elseif ($_GET['action'] == 'ununique')
	{
		$Category->setUnique($category_id, FALSE);
		$msg = $gDirLang['category_ununique'];
	}
unset($_GET['id']);
**Save and close file**

Now it must work.

Thanks!
__________________
Regards,
Michael Hill
eSyndiCat Directory Script

Our webhosting - Intelligent Web Hosting
Michael Hill is offline   Reply With Quote
Old 02-07-2007   #9
gitschi
 
Join Date: Mar 2006
Posts: 40
gitschi has disabled reputation
Default

Thanks - please can you put the file in the download- aera - I did the modifications and I get an empty site after "making unique !!!

The function unique template is aviable, in the moment you must do the job manually (lookig for ID and "produce the index***.tpl) .


Thanks gitschi

Last edited by gitschi; 02-07-2007 at 09:05 AM.
gitschi is offline   Reply With Quote
Old 02-15-2007   #10
Greg
Super Moderator
 
Greg's Avatar
 
Join Date: Oct 2005
Location: Phoenix,Arizona (Valley of the Sun)
Posts: 5,362
Greg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the roughGreg is a jewel in the rough
Default

Do we apply what you posted Dave and what Michael Hill posted. Both fixes together? I tried it and got a blank screen. The code in Daves differs from 2.0 and 2.1.

Thanks
__________________
Please don't ask me about script questions or sales issues through "Private Messages". Thanks!
Greg is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:47 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Testimonials | Articles | Support | Documentation | Privacy Policy | License | Affiliates | Contact Us