1
albania
Character number at Xdirectory Category titles
  • 2004/6/14 23:42

  • albania

  • Just popping in

  • Posts: 23

  • Since: 2004/6/5 1


Any one to help how to change the length of category titles on add main category form in xdirectory.
This needed to use with multilinguage modul, I want more then 100 caracteres to describe catedory in albanian and english

Pls any one to help?

2
albania
Re: Character number at Xdirectory Category titles
  • 2004/6/15 7:53

  • albania

  • Just popping in

  • Posts: 23

  • Since: 2004/6/5 1


I Changed the line 202 in /admin/index.php of xdirectory
Quote:

// Add a New Main Category
xoops_cp_header();
$linkimg_array = XoopsLists::getImgListAsArray(XOOPS_ROOT_PATH."/modules/xdirectory/images/shots/");
echo "

"._MD_WEBLINKSCONF."

";
echo ""
."
";
echo "\n";
echo "

"._MD_ADDMAIN."


"._MD_TITLEC."
";
echo ""._MD_IMGURL."


";
echo "\n";
echo "";
echo "
";
echo"
";
echo "
";


the line 202

from
Quote:

echo "

"._MD_ADDMAIN."


"._MD_TITLEC."
";

to
Quote:

echo "

"._MD_ADDMAIN."


"._MD_TITLEC."
";


Now can write at about 90 characteres but when it is posted I see tha t are posted only 50 characters so my category title is like this
Quote:

[sq]Kompjuterat & Int


Any Idea what i have to change now?

3
albania
Re: Character number at Xdirectory Category titles
  • 2004/6/15 9:56

  • albania

  • Just popping in

  • Posts: 23

  • Since: 2004/6/5 1


I fixed it by myself using phpmyadmin
I chamged the field definition in the database table manually from varchar(50) to varchar(150). Is this ok?

Login

Who's Online

414 user(s) are online (60 user(s) are browsing Support Forums)


Members: 0


Guests: 414


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits