Issues in editing a Joomla plugin, cannot find files - file

I am unable to find this page in the Joomla files. I want to edit this table and place a link in every row in the table. This is a creative contact form plugin for Joomla.
The page link from the Joomla administrator is https://SITENAME.COM/administrator/index.php?option=com_creativecontactform&view=submissions
Thanks in advance.

If I see it right, it's not a plugin, it's a component. I assume that you want to change the view, not the database table.
You should find all the files that handle the output of these components in the directory:
JOOMLA/administrator/components/com_creativecontactform/views/
or for frontend in the directory
JOOMLA/components/com_creativecontactform/views/
The file you're looking for should be in the directory
JOOMLA/administrator/components/com_creativecontactform/views/submissions
Upate: You should not change the original files. If you like to change the output you have do create an override. See section Component Output Types and Layout Overrides in the Joomla documentation Understanding Output Overrides.

Related

Downloading files from URL

I have a question related to a security on website. Lets say that a visitor is currently on a http://www.example.com/. And visitor navigates to gallery page. There he can find unique images that are displayed to him according to his log in details he provided earlier. A simple inspect on a picture shows him the URL to that picture: www.example.com/images/image_589326.png.
My question is: Is there a way for a user to somehow download all the files from
www.example.com/images/ folder, or somehow find the names of all images that are in that folder and simply view them with absolute URL.
Yes, that is possible. There are two main ways that this can be achieved: scraping & enumeration.
Through scraping someone would make a script that would look at the gallery page and make a list of all of the images, and then download them all.
Enumeration would just request http://www.example.com/images/image_000001.png through http://www.example.com/images/image_999999.png and download of the images that are present.
If the site is not proprely set up you may also be able to get a directory listing from http://www.example.com/images to see all of the files in the images/ directory.

Migrate views in drupal 7 easily - D7

I want to migrate all views from my local site to another site.
I know there is a module "Migrate" which allows you to do data migration but I don't know how to use it.
Can you give me some tips?
Thanks in advancej
Not sure what you mean with migrating views to another site. In Drupal, the migration concept is usually associated with actually migrating data - a view is actually just a way to query and display this data.
Typically moving a view to a different site, assuming data structures are the same in both can be accomplished by either exporting the view (one of the options while browsing the views on admin/structure/views) or, if it's not just a one of, by featurizing it which is a process that takes a few more steps.
It's only applicable for drupal site to drupal site
First download features module and enabled in both sites.
Go to admin-structure > features > create feature.
In that you can see General information(left side) and Components(right side). The General information provide some name in the name fields and you can see views in Components. You just select what are all views are needed for that site.Click the Download feature button.
It will downloaded!!!
After that copy the downloaded file to new drupal site which has drupalroot > sites > modules.
Go to your "new drupal site" as (Admin-Structure > feature). You can see the folder name as list in that. Enable the folder name list and click "Save settings". After the save setting finished as good then deselect the folder list, click "save settings" and delete the downloaded folder in module folder.
Note:
The folder name list should not state as conflict. If it presents, then click the recreate button.

How to find which pages are attached to a Dreamweaver template

I have a site with several Templates (.dwt)
Two questions:
Is there a way to easily find which pages or files are attached to a specific template without having to open every file?
Is there a way to update only selected files attached to a template?
This page has a whole lot of info on working with templates:
Dreamweaver Template Help
To find all pages that use a specific template you can do a search (command+f or control+f) for <!-- InstanceBegin template="/Templates/***YourTemplateName***.dwt.php", make sure to to choose Entire site from the first drop down...
...and Source Code from the second
You can update an open file by choosing Modify -> Templates -> Update Current page

How do I name a drupal page template file according to a node's url path setting?

I'm new to drupal and having trouble naming a page template file. In drupal 7, let's say I've created a basic page with the url path as:
www.example.com/my-page
When I create a custom page template file, I've been able to get the file name page--node--[nid].tpl.php to work fine. However, I have 3 different sites (localhost, development, and production) and each has a different node id for this page (because the databases aren't sync'd). I need to find a way to name the template file according to the url path. I've tried all of the following, none of which has worked:
page--my-page.tpl.php
page--my_page.tpl.php
page--node--my-page.tpl.php
page--node--my_page.tpl.php
Any suggestions?
Check out the theme developer module. With it you should be able to get a list of possible template names that are being considered.

Custom page in drupal

hi i m new to drupal i want to know that how could i add my custom page for the display the some information which is come from databases, i have create that page in core php (for example information.php)but i want to add that page in drupal 7 how it is possible
looking for the quick and best reply
The quickest way would be to add a content type "Information" to your drupal site, rename your information.php file to node--information.tpl.php and use the Drupal Database API to get stuff from your database. Finally you'd want to put node--information.tpl.php in your theme/%themename/templates/ folder and add new content with the Content Type "Information".
The best way would be to make a new module. Build your menu structure and add a theming function that calls a template file. When calling the template file using theme(), pass along the data that needs to be displayed.
In addition you might want to check out the Custom Page module: http://drupal.org/project/custompage

Resources