Create a blog with coldfusion
hi
i am looking to create a blog on my website, and am thinking
its best to put all my entries into a database, so I can allow for
comments on entries etc..
However, I am aware that blogs often contain images and
alternating design, and wondered how to accomadate this considering
all my blog entries will be held in the database.
For example, if I was to create all my blog entries free hand
directly onto the page, I could align my images where I like etc,
whereas I wouldnt have this freedom if outputting all my blog
entries from a database..
e.g
<cfoutput query="blog">
<p>#blog entry</p>
</cfoutput>
would it be viable to set out the way I would like the blog
entry to look free hand first, and then post all code into the
database, including code for images etc..
just wonderin how others do it..
thanks
I'd suggest using Ray Camden's BlogCFC.
http://blogcfc.riaforge.org/
It's robust and continually updated.
Similar Messages
-
Stored procedure not found when creating a new recordset binding in Dreamweaver CS6 with ColdFusion Server 11. I can see the tables and views in the database tab, but no stored procedures. If I connect to a data source created in ColdFusion Server 6 I am able to see the stored procedures.
Ben thanks for the reply!
Yes that is the process I am following:
In Dreamweaver, open the page that will run the stored procedure.
In the Bindings panel (Window > Bindings), click the Plus button, and then select Stored Procedure.
In the Data Source pop‑up menu, select a connection to the database containing the stored procedure
Enter the ColdFusion Data Source user name and password.
At this point in the procedure drop down I would get a message that said No Stored Procedure Found.
Right now it appears to be working, I had to create a new site that pointed to the older CF 6 server's data source and create a page following the process above, then when I went back to the CF 11 site the stored procedures were now populated. I need to make sure it is pulling from the correct server but right now it appears to be working.
Thanks
Dwight -
Creating A New MySQL Database With Coldfusion Code
Hi,
I was wondering if anyone knew how to create a whole entire
new database simply by executing a Coldfusion template (via a form
for example).
I'm pretty confident at creating a new table in an already
existing database but not sure how to go about creating an entirely
new database from pure ColdFusion code using MySQL.
I basically want to create some portal for myself to do this
to save on arduous time. It'll need to be a form because I'll have
to give it a name, username, password etc. I need the seperate
databases for my separate clients you see.
One point I should make is that it is on a shared server so I
don't have direct access to the CF Administrator.
Any advice on achieving this or highlighting the pitfalls
would be greatly appreciated.
Many thanks in advance!
Michael.quote:
Originally posted by:
Sabaidee
if it is on a shared server, then you very likely do not have
enough permissions to create new batabases in MySQL either...
is there an option for you in your hosting control panel (or
whatever it is called) to create a new MySQL database for your
account without any involvement of server admins? if so then,
technically you may be able to create a new db programmatically.
but i doubt you can...
I know it sounds cheeky but any chance you could supply
example code for doing this with ColdFusion and MySQL? This way I
will then be able to try it rather than waiting for my host to get
back to me.
I would have tried doing it already because I use SQL quite
often with queries etc, but I just don't have the technical know
how for this specific task at hand.
Many thanks for your help! -
How to create a blog like list with items indented.
Hey guys i know there has got to be a easy way to do this but quite frankly im just stuck. Im trying to create a blog like list kind of like what you see in wordpress or even facebook.
I've tried using the vbox, vgroup and some other without any luck. I guess my basic problem is that once you have the vgroup laid out or the vbox laid out how can you push the one container over to the right a little? in other words kind of lile a parent child relationship? how can i go about doing that? should i be a looking at another component? how would you guys attempted this. Love to hear suggestions or see a snippet of code.
thanks guys.
MiguelI'm basically trying to recreate a list type of display like so. I think im close but my approach i believe lacks elegance.
-
Setup 2 webservers with ColdFusion in loadbalanced environment
Hello,
Can anyone give tips re the following:
I need to create a load balanced ColdFusion environment consisting of 2 servers each with a webserver that is connected to it's own CF10 server.
The traffic to the ip adress is encrypted via https.
The load balancer should be able to assign a client session to a specific server and keep it there during the duration of the session - so effectively making it sticky.
What would be the best setup here?
Do I need to create a cluster of 2 CF10 instances and assign the cluster to webserver 1 and webserver 2 so it is stcky? Or else, if I use 2 standalone ColdFusion instances, how can I make sure the sessions are replicated or sticky?
Thanks,
MarcHi,
Based on my knowledge, if site A and site B lose connectivity to site C, all databases will stay mounted because it doesn't lose quorum.
If WAN connectivity is lost between site A and site B, one site of the two sites will retain quorum and the other site will lose quorum. For more details about this, you can refer to the "Misconception Number 2: Microsoft
recommends that you deploy the Witness Server in a third datacenter when extending a two-member DAG
across two datacenters" section in the following blog.
http://blogs.technet.com/b/exchange/archive/2011/05/31/exchange-2010-high-availability-misconceptions-addressed.aspx
Best regards,
Belinda Ma
TechNet Community Support -
Please! can anyone tell me if after I create a site with adobe muse, is there anyway for my client to edit and update text and to a lesser extent images on the website?
I don't care if the client text/image editing and updating doesn't update in my Adobe Muse, as long as my client can update the text online.
Please help me answer this question, I have used adobe for decades (2) and am a print designer. I want to use Muse for websites but if my clients can't update text and images, I don't see how I can make it work.
If I have to use Business Catalist too; I don't care. I just want to be able to use this great software.
Sorry if I soud desperate but I'm holding on starting a website for a new client and need to get this answered first.At the moment you can't using Muse's widgets, though you can insert html! So, you could have photo galleries linked to flickr that the client can update to, for example. I'm sure there are other options for slicker slideshows that can be updated client side!
For text, I'm too much of a novice, unless you were wanting a blog style: http://www.muse-themes.com/blogs/news/7257782-creating-a-blog-in-adobe-muse-powered-by-nab ble
Basically, I think you need to find the right html to embed for your purposes -
I want to create a blog on my website but don't know where to start.
My server is Lunarpages and they have Wordpress for creating a blog.
Can you direct me to simple bulleted instructions on how that might interface with using my website template that is consistent for all html pages?
I already have eBlogger.com blog but when I try to use their edit HTML feature and paste in my template code, I get an error message that the "meta" code doesn't have an end tag. They say I need to add the end tag. Here's the code they pointed to:
<meta http-equiv="Content-Type"content="text/html; charseet=iso-8859-1">
My template works fine with my website. What do you think is happening here with eBlogger? Lunarpages forum recommends I set up with Wordpress. Trying to save time here. But if WP works better overall, I'll do it.
I basically want these things:
use my template so it's consistent with all pages.
blogg not only allows me to post but also comments and automatic archiving (i.e. past 60 day)
Have best security for blog.
I also want to add a button that lists those social networks I post on. I am hoping it's possible to set up one blog and have what I post automatically posted on the others (i.e. Facebook, Google, eBlogger). Is that possible? An example of a link Lunarpages has:
http://www.addthis.com/pages/toolbar-landing?utm_source=hm&utm_medium=link&utm_content=ATI EToolDL_orig&utm_campaign=ATCMIE_DLWordPress is in a class of it's own. It began it's open source life as a blogging system but it has evolved into a powerful, feature-rich CMS (content management system). In short, if you elect to use WordPress on your domain, you might just as well use it for your entire web site.
To work with WordPress, you will need a firm understanding of HTML, CSS and how PHP includes work.
WP requires you to set-up a dynamic work environment (see links below)
Find a WP Theme you like that won't require much customizing on your part.
Related Links:
http://wordpress.org/
Get one of the following testing servers for your OS and follow the installation instructions.
WAMP for Windows
http://www.wampserver.com/en/
XAMPP for Windows
http://www.apachefriends.org/en/xampp-windows.html
XAMPP for Mac
http://www.apachefriends.org/en/xampp-macosx.html
MAMP for Mac
http://www.mamp.info/en/downloads/index.html
Setting up a PHP development environment for Dreamweaver
http://www.adobe.com/devnet/dreamweaver/articles/setting_up_php_05.html
Creating a WordPress Theme in DW
http://www.adobe.com/devnet/dreamweaver/articles/creating_wordpress_theme_with_dreamweaver _pt1.html
Best of luck,
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web-design.blogspot.com/ -
How can I create a query with web service data control?
I need to create a query with web service data control, in WSDL, it's query operation, there is a parameter message with the possible query criteria and a return message contains the results. I googled, but cannot find anything on the query with web service. I cannot find a "Named Criteria" in web service data control like normal data control. In Shay's blog, I saw the topics on update with web service data control. How can I create a query with web service data control? Thanks.
Hi,
This might help
*054. Search form using ADF WS Data Control and Complex input types*
http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html -
LoadUserProfile() creates a profile with Chinese characters on a remote system
Hi,
I'm working on an application where LoadUserProfile() is being used to remotely load a user profile on a machine. The token being passed to LoadUserProfile() is obtained from LogonUser().
When doing this only with a Domain Admin user which is added in Active Directory, it creates a profile with Chinese characters in the C:\Users\ folder of the remote machine. Note that this happens only when logging in for the first time with
this Domain Admin account remotely on that machine.
// code:
PROFILEINFO pi;
memset((void *) &pi, 0, sizeof(PROFILEINFO));
pi.dwSize = sizeof(PROFILEINFO);
pi.dwFlags = PI_NOUI;
pi.lpUserName = (TCHAR *)strUser; //strUser is the User name, and it shows correctly here when debugging
if (LoadUserProfile(hToken, &pi))
//It is actually successful, and comes here when debugging.
Although the name shows up correctly when debugging (remotely), why is it creating a profile with Chinese characters on the remote machine?
TIA,
JyCreateProfile won't load the profile. You need to use LoadUserProfile to load the profile, and you need to query for a roaming profile path to put in the lpProfileInfo parameter if you want to include that as well. You need a token for a
user to call LoadUserProfile, but not a profile handle. LoadUserProfile will populate that for you before it returns if it was successful. See this excerpt from
https://msdn.microsoft.com/en-us/library/windows/desktop/bb762281%28v=vs.85%29.aspx:
Upon successful return, the hProfile member
of PROFILEINFO is
a registry key handle opened to the root of the user's hive. It has been opened with full access (KEY_ALL_ACCESS). If a service that is impersonating a user needs to read or write to the user's registry file, use this handle instead of HKEY_CURRENT_USER.
Do not close thehProfile handle.
Instead, pass it to the UnloadUserProfile function.
This function closes the handle. You should ensure that all handles to keys in the user's registry hive are closed. If you do not close all open registry handles, the user's profile fails to unload. For more information, see Registry
Key Security and Access Rights and Registry
Hives.
WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/ -
How to create a Blog in Adobe Muse
Hi, who created a blog in Adobe Muse, help me please!
Unfortunately, you can't create a blog in Muse, not yet anyway. I've been researching this for a long time, and you just can't do it. If enough folks ask Adobe for it, then it will probably be added to a future update. For now, the only thing you can do is get the embedd code from an actual blog like Tumblr or Nabble, and then copy that bit of code using "insert HTML" on your Muse page. That will give you a generic looking little scrolling box with your latest blog entries, but it's probably not what you're looking for.
What I've decided to do is create a custom blog in Blogger, make it look as close to my Muse site as I can, and then just link it into my Muse site using a custom nav button. So I redirect my visitors to the Blogger site. If you customize the Blogger page enough with background images, colors, fonts, etc, your visitors may not even know they left your site unless the look in their browsers address bar.
I hope that's helpful. But if you're not familiar with Blogger, it's through Google, it's free, and it's a great blogging platform. -
Creating a file with content conversion
Hi all,
I have a scenario in XI which i create a file in it,
I want to create the file with the content conversion option but with no field separator.
I have an error message - "File adapter receiver channel is not initialized. Unable to proceed: null" if i don't use the fieldSeperator option.
I don't want to use this option, I want the file to be created without separators.
Thanks,
NaamaHi Namma,
Go through very imp blogs:
File Content prameters for the Receiver Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
File Content prameters for the Sender Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Refer
File Receiver with Content Conversion
File Receiver with Content Conversion
Configuring the Receiver File/FTP Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/95/bb623c6369f454e10000000a114084/frameset.htm
File content conversion sites:
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
File Receiver with Content Conversion
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
How to send a flat file with various field lengths and variable substructures to XI 3.0
Content Conversion (Pattern/Random content in input file)
NAB the TAB (File Adapter)
File Content Conversion for Unequal Number of Columns
Content Conversion ( The Key Field Problem )
The specified item was not found.
File Receiver with Content Conversion
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
Please see the below links for file content conversion..
The specified item was not found. - FCC
The specified item was not found. - FCC
File Content Conversion for Unequal Number of Columns
File Content Conversion for Unequal Number of Columns - FCC
Content Conversion (Pattern/Random content in input file)
Content Conversion (Pattern/Random content in input file) - FCC
XI Configuration for MDM Integration - Sample Scenario - FCC - MDM
Thanks,
Satya Kumar -
How to create a Share with friend form
Hi
Anyone know how to create a "Share with friend" form? This is to share a simple html page not an e-commerce or blog page.
FYI a link:
http://i-communicate.com.au/new/media-handling.htm
Cheers
MichaI have access to web forms but that type of form doesn't exists.
-
Does Adobe have some beef with ColdFusion developers?
I think I will be keeping FB 4 after the trial expires. There are some very nice things about it and I especially like the new styling/skinning tools.
I am not impressed with the new “data-centric” paradigm in FB 4. I see it as Adobe’s way to market FB 4 to hobbyists and other people who are not really serious about development, of whom there are many. Other than repeatedly pitching that you can do a bunch of things “without writing a single line of code”, there is not a lot of information out there about how the thing really works, and am hoping that situation improves as time passes. At this point, I am not planning to use those data-centric features, except perhaps for quick prototyping. Anybody who agrees can add to this thread: http://forums.adobe.com/thread/617704?tstart=30, in which I describe a few things I learned while playing with these features.
I do my Flex back end work with ColdFusion and am also trying the new CF Builder. The $300 bucks it costs doesn’t affect us CFers because it comes with FB 4. From what I have seen so far, it does not do much more than the ColdFusion Extensions for Flex Builder, which were free.
But there is one thing about which I am somewhat miffed: they took away two of the best things about the extensions:
the ACtionScript to CFC wizard;
the CFC to ActionScript wizard.
Those make it very easy to generate a CFC from an AS value object and viceversa. I tried to install them in FB 4, but it won’t allow it, generating an error about a dependency or something.
Those 2 items are great time - and error - savers. Without them, you have to do double the coding. I can’t figure out Adobe's reasoning for not making them available anymore; they are already there and all we need is a way to install them. Is Adobe so intent in pitching this “without writing a single line of code” that they are willing to take this great tool away from us?
Am I the only one who would like to have these available?
I would really appreciate it if someone can provide some logical reason for this and please, CORRECT ME IF I AM WRONG OR MISSING SOMETHING!
Greetings to all,
CarlosFollowing Ansury’s suggestion, I did some more digging (which I should
have done from the beginning) and found 4 extensions to CF builder that
are there for the taking. By installing two of them, I can now generate
an AS class from a CFC and create a mapping between the two; but I
cannot generate a CFC from an AS class. The FB 3 wizards did this both
ways, but this is better than nothing.
That's good news. The rest you'll probably find out about by doing further reading. I don't use CF, but I really doubt FB4 has less than before.
2. it looks like you have to
call the service each time you want to bind the data to another control
or to somehow use it more than one time. I could not figure out how to
access the data that has come in from a service call and been bound to x
control – and no one in these forums was willing or able to answer that
when I asked the question in a previous post.
Regarding 2, I'm assuming you're talking about PHP, No, you don't have to call the service each time you want to bind the data. You define the service, call it once to bring in the data, then bind to that data using .lastResult because the data is already in.
Here's the process I follow when I need data. I set up the class which let's say has a getRecords() method that returns data. I then use the data/services wizard as usual to introspect the class and set up the return types.
THEN in design mode, I just drag a useless datagrid (that I delete later) onto the screen. With the datagrid on the screen, I drag my method (getData() from the data/services view) to the datagrid. This sets up the service call and wires the dataProvider property of the datagrid. All I do after that is move around the code that's been generated to where I need it, before deleting the useless datagrid.
This defined your service. It can stay where it is.
xmlns:myservice="services.myservice.*"
<myservice:MyService id="myService"
fault="Alert.show('some event fault message')"
showBusyCursor="true" />
<s:CallResponder id="getRecordsResult" />
This is the call to your service that actually brings the data in. I move it to the init() function.
private function init():void{
getRecordsResult.token = myService.getRecords();
Then to use the data returned from getRecords(), you could either instruct the <s:CallResponder itself to wire its data when returns using result.
<s:CallResponder id="getRecordsResult"
result="{doFurtherDataProcessing()}" />
or tap into the data from anywhere at anypoint using lastResult. In this case the list is asking for the data.
<s:List dataProvider="getRecordsResult.lastResult" />
The first way with result means that the source of the data passes it to destination structures. The second way with lastResult means that the destination structures call for the data. But still they call for the data from its inside location, from where it's already sitting inside the app, they don't have to bring it in again from the outside, because the data has already been brought into the app by CallResponder once and is sitting and waiting to be used whenever.
Hope this helps you. For PHP, I recommend you watch the 2 videos by Tom Lane from Adobe on ADC. Must watch and very helpful. Rest will come from use. For CF, not sure, others may pitch in. -
How do I get flex remoting to work with Coldfusion 11
Hi,
Coldfusion 11 (Developer)
Flex 3
Existing Flash Application works with Coldfusion 8
Flex Integration is turned on.
Running latest update
CentOS 6.1 with latest updates
I have done the following:
http://127.0.01/flashservices/gateway ---> Page Not found
http://127.0.01/flashservices/gateway/ ---> Page Not found
http://forums.adobe.com/message/5621721#5621721
Confusion Blog » Apache + Debian + Coldfusion 10 + flex2gateway = Error 404
https://groups.google.com/forum/#!topic/railo/6j2i6gl8Ac4
\config\wsconfig\1\uriworkermap.properties file to include:
/flashservices/gateway/* = cfusion
/flashservices/gateway = cfusion
I have modified the mod_jk.conf like so:
# Select the timestamp log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# Fix para Flex2gateway
<IfModule jk_module>
JkMount /*.cfm ajp13
JkMount /*.cfc ajp13
JkMount /*.do ajp13
JkMount /*.jsp ajp13
JkMount /*.cfchart ajp13
JkMount /*.cfres ajp13
JkMount /*.cfm/* ajp13
JkMount /*.cfml/* ajp13
JkMountCopy all
</IfModule>
AddHandler jakarta-servlet .cfm .cfml .cfc .cfr .cfswf
Alias /CFIDE "/opt/coldfusion10/cfusion/wwwroot/CFIDE"
I uncommented the "start flex 2" section in web.xml
Nothing has worked.
I have searched Google and Adobe.
I was hoping that Adobe would have the "Flex Integration Check Box" working
by now. It only been around since ColdFusion 8 and basically does nothing.
Adobe could post a tutorizl on how to get this working.
Job Security for "Tech Support".
Any ideas.
BrianDo you have internet when wired to the router?
What exactly is the problem? What error messages do you get?
What are the current settings on the WRT? -
Cannot create Proxy service with JCA transport
Hello everyone.
I have some issues while trying to create ftp service with jca transport. I follow the instruction in this tutorial:
http://blogs.oracle.com/MarkSmith/entry/osb_and_ftp_adapter_in_11g
I stuck in Step 4, cannot create proxy service to use JCA file that I created by JDeveloper 11g (11.1.1.5). When I specify jca file for proxy service, a error message returned:
<ALSB Console> <BEA-494002> <Internal error occured in OSBConsole : Transport exception occurred with the following message:
Invalid JCA file for JCA proxy service. If you are creating a Proxy from a Business Service, please select a different transport type (for example, http). If not, JCA file must contain JCA activation spec properties.And these are my jca file content that created by JDeveloper:
<adapter-config name="myJCA_FTP_service" adapter="FTP Adapter" wsdlLocation="myJCA_FTP_service.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/ftp/MyFtpAdapter"/>
<endpoint-interaction portType="Put_ptt" operation="Put">
<interaction-spec className="oracle.tip.adapter.ftp.outbound.FTPInteractionSpec">
<property name="PhysicalDirectory" value="/home/FTP-shared/upload"/>
<property name="FileType" value="ascii"/>
<property name="Append" value="false"/>
<property name="FileNamingConvention" value="osb_%SEQ%"/>
<property name="NumberMessages" value="1"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>Is there anyone who had tried to use JCA transport with Ftp adapter already? Please give me a suggestion.
Any response is appreciated
Regards, Cuong PhamTo get to the basics.
You use GET to read files from an FTP location - This can be done by an OSB proxy service only.
You use PUT to write files to an FTP location - This can be done by an OSB business service only.
So forget that you need a proxy service for PUT.
Maybe you are looking for
-
How do I make growl available to all accounts on my
Hello, Can someone please tell me how to make Growl available to more than one user account? I have one account that I use mostly but it does not have growl anywhere that I can find. On another of my accounts it is in the systems preferences and appl
-
Rating photos, during slideshow, iPhoto 9.6/Yosemite
Hello I used to be able to run a simple slideshow of images in iPhoto, and click on rating stars as it ran, great for easy photo sorting. I've updated to Yosemite & iphoto 9.6, and I can see how to do this anymore ? Any ideas? Thanks
-
How to make something slide over automatically?
Good example for this would be almost any online clothing store. When a new shirt gets put on the site how does one make it go to the first slot and slide the rest over or even onto the next page? Is this possible with HTML without change classes or
-
Hi, I'm making a batch processing action and I really need a script that iterates through all open documents, finds the one with the biggest image size and then iterates one more time to change the rest of the documents to the same image size dimensi
-
Deleted my partition probook 4510s
i deleted the partition and the laptops not starting up im trying to use the windows 7 OS to restore but its not reading the dvd i tried the XP OS and i was able to install it but now it wont read the appliocation and driver recovery disk?