Posted
over 15 years
ago
I had a quick look at your site. What Tony wrote is of course correct but I'm quite sure that your site will still be slow, even if you reduce the size of your pictures.
I had to wait about 12 seconds too. If your server needs 12 seconds to generate a .......
|
Posted
over 15 years
ago
Hi Tony,
Thanks for the compliment :)
I will take all your suggestions into consideration this evening and download those add-ons. I'll post my findings here.
If anyone else has any suggestions, keep bringing them incase I don't get anywhere with.......
|
Posted
over 15 years
ago
Hi elyon,
Thanks for your response. Yes, the database is hosted on the same server. =\....
|
Posted
over 15 years
ago
yeah, that is a tad bit slow for me too. not too bad though.
if you've got firefox's firebug (you should get it if not), you might want to try looking at the "Net" tab. it'll help you determine what elements are taking the longest in the load process.......
|
Posted
over 15 years
ago
I'll try that. thank you.....
|
Posted
over 15 years
ago
Thanks. I have a menu issue I need some guidance with. It would probably be best to show the code.
Would it be best to post it here?....
|
Posted
over 15 years
ago
chad, i think you could probably do something like this:
[code]
$attributeKeys = AttributeType::getList()
foreach($attributeKeys as $ak){
echo $ui->getAttribute($ak->getAttributeKeyHandle);
}
[/code]
the main reason why direct sql aren't such .......
|
Posted
over 15 years
ago
well, I needed to sql it to get all of them in my case. if you have a more global way to grab them all...please enlighten ;-D....
|
Posted
over 15 years
ago
no offense to chad, but i wouldn't really recommend any approach where you're having to type sql.
if anything, this should be the long form way of doing it approach:
[code]
$attrHandle = 'your_attribute_key_handle';
$attrKey = UserAttributeKey::g.......
|
Posted
over 15 years
ago
that will get you an array of all things user that looks like this:
$uName => uName_Value
$uEmail => uEmail_value
$uCustom1 => uCustom1_value
$uCustom2 => uCustom2_value
ect......
|