, Guest!
Already a Member? Login or Register.

Menu



Showcase


COMING SOON:  FlexCMS 3.2.2!!!

Home > FlexCMS Support Forum > Recent Messages

FlexCMS Support Forum


Recent Messages

Previous Page Next Page

User Help > Code Snippets > Random photo album image in a block (Go To Message)
Wolf
 
October 13, 2011 @ 12:13am
Couldn't you upload them using file manager to a directory that flex knows about and then run some code against that directory like this...


Code


$query = "SELECT `Location` , `Filename` FROM `core-Files` WHERE `Location` = \"/newsletters/pdf/\" ORDER BY Filename desc";
$result = mysql_query($query) or die (mysql_error());

print '<b>'.number_format(mysql_num_rows($result),0).' Newsletters available' . '</b><br>';

while ($row = mysql_fetch_array($result))
{ print '<a href="'.$BaseURL.$row['Location'].$row['Filename'].'" target="_blank">'.$row['Filename'].'</a><br>';
}



I use this on a site to create links for uploaded newsletters that users can click on to download and read. Could be modified to display thumbnails and images.

Dave, you probably can tell us of a way to emulate populating his image directory contents using Flex/PHP code and populating/updating the core-Files table. Then he could query the table for the images like I did for my PDF newsletters. Smile

User Help > Code Snippets > Random photo album image in a block (Go To Message)
DCSun
 
October 12, 2011 @ 10:09pm
Hi Welby,

I don't think there's any existing code that will do that, but it can certainly be done. Are the images going to be displayed at the same size (ie they're already small enough to fit in a block), or do they need to be dynamically resized into a thumbnail version for use in the block?


David
User Help > Code Snippets > Random photo album image in a block (Go To Message)
welby
 
Random photo image in a blockOctober 12, 2011 @ 10:02pm
Hello David/Otter.

I know the code in the previous thread populates in a block if you already have a photo album with photos but I was wondering is it possible to randomly display an image from a image directory which contains photos. Another words I don't have a photo album but I do have many images in my image directory.

Thanks for any consideration.

Welby
General > General Discussions > Kelly is Your Fashion Choice (Go To Message)
DCSun
 
September 20, 2011 @ 10:06am
Kelly is my fashion choice, but I think we're talking about different Kellys. Obviously the Otter is much more fashionable! I'm off to delete your account, thanks for spamming by.
General > General Discussions > Kelly is Your Fashion Choice (Go To Message)
 
Kelly is Your Fashion ChoiceSeptember 20, 2011 @ 2:48am
Hermes Kelly was first designed for the hunter saddle bags, is the oldest single-HERMES leather goods, Hermes kelly bag 1892 year available, and in 1930 changes in size, easy to carry with the ladies, was already HERMES limited edition items. Manufactured after 1970, the Hermes "Kelly" bag all have a unique mark on the strap, the letters were pure plant, followed by Year, the last representative of the number of manufacturing craftsmen.

And every Hermes bag by the same professional craftsmen, using thirteen hours to complete. Hermes "Kelly" bag initially only 25 cm, 28 cm, 32 cm and 35 cm in four models.
User Help > General Support Requests > Swish CMS Template using Flex CMS (Go To Message)
DCSun
 
July 10, 2011 @ 6:55pm
Hello,

My best guess is that they're referring to one of the many other packages who've ripped off the FlexCMS name over the years. None of ours is Flash/Swish, so I'd have to assume it's not "this" FlexCMS they're talking about. We do have a photo gallery and template system, but I'm thinking we would have heard from or about those developers if they integrated that tightly with our back end.


David
User Help > General Support Requests > Swish CMS Template using Flex CMS (Go To Message)
makaiman
 
Swish CMS Template using Flex CMSJuly 10, 2011 @ 4:36pm
I've purchased a Swish CMS Template that requires or suggested to use Flex CMS. Do I first install the Flex CMS and once installed in my root directory, can I upload and manipulate and work with the Template from the Admin Panel?

Or do I manipulate the Swish Template locally, then upload into a specific directory?

The template I purchased can be viewed here:
http://flash4layouts.com/view-julia-lucas-model-portfolio-swish-cms-template-2844.html
Thank you for immediate help.
User Help > General Support Requests > ERROR WHEN SAVING PAGES (Go To Message)
DCSun
 
June 21, 2011 @ 5:37pm
Hi Chris,

Very strange. If I had to guess I'd say the hosting company put some sort of a security filter on there and the page contents contains something they're trying to block.


David
User Help > General Support Requests > ERROR WHEN SAVING PAGES (Go To Message)
cberks
 
PAGE SAVE ERRORJune 21, 2011 @ 2:15pm
Further - we can save articles just not pages
User Help > General Support Requests > ERROR WHEN SAVING PAGES (Go To Message)
cberks
 
ERROR WHEN SAVING PAGESJune 21, 2011 @ 1:20pm
We get an error when trying to save pages.

Forbidden
You don't have permission to access /bennsccflex/index.php/admin/pages-edit-save on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Is this a permissions problem or a server problem?

We have had a lot of problems removing hackers from our hosting account!! and so something may have been reset incorrectly

Regards, Chris

Previous Page Next Page





Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS



FlexCMS eNews

To subscribe to our enewsletter, please enter your email address in the box below and click the "Subscribe" button.


Note:  You may easily remove yourself from the newsletter list at any time by following the instructions included with every mailing.



All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.32914 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS